Loading Fonts Order

Hello,
I hope you are doing well,
We have Aspose PDF Generation deployment on Linux machines that don’t contain any font libraries.

When we initiate PDF conversion jobs on those Linux instances; while the fonts are embedded within the file the conversion happens with no issues.
If we then try to install any font library, say Wine Fonts, and do a conversion job for a file that has the fonts embedded within it. Aspose loads the font from the OS instead of loading it from the embedded font files.

Is there a way to change the order in which the Aspose loads the fonts to prioritize the embedded fonts before using the installed OS fonts?

@Wajdi If you convert MS Word documents to PDF suing Aspose.Words, it first looks for fonts among the available font sources with an exact font name. Then Aspose.Words tries to find the required font among the fonts embedded in the original document. You can find more details about Font Availability and Substitution in our documentation.
Also, you can implement IWarningCallback to get a notification about the fonts substitution.