I have a document that depending on the environment does not returns the same number of pages.
It is not related to the presence or absence of the license (also the doc document return the right number of pages when the license is provided).
Please note that Aspose.Words requires TrueType fonts when rendering document to fixed-page formats (JPEG, PNG, PDF or XPS) or getting page count. You need to install fonts that are used in your document on the machine where you are getting page count. Please refer to the following article: How Aspose.Words Uses True Type Fonts
Is there any way to troubleshoot missing fonts?
We are receiving documents from our clients, so we cannot be sure font are embedded or that fonts are existing in our system.
Is there a way to provide a replacement font?
Thanks for your feedback. It is nice to hear from you that your problem has been solved. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.