We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Font not recognized

Hi Everybody,

I have a document with some fonts (all TTF).
These fonts are installed on the server for all users. I see these fonts in C:\Windows\Fonts but when I try to convert docm to PDF theses fonts are replaced by Arial (which is my DefaultFontSubstitution).

Can we force to use a font ?

thanks for your help337932f0c127-350f-4f26-8510-b2a003e006a7.docx (29.9 KB)
NOK_FROM_ASPOSE_337932f0c127-350f-4f26-8510-b2a003e006a7.pdf (134.7 KB)
OK_FROM_WORD_337932f0c127-350f-4f26-8510-b2a003e006a7_pdfa.pdf (188.0 KB)
Fonts.zip (120.1 KB)Capture.JPG (159.8 KB)

@Paga16 As I can see the fonts you have attached are properly used in the output PDF produced by Aspose.Words. but in the PDF produced by MS Word these fonts are substituted by Cambria font. If convert your document to PDF using Aspose.Words without installing your font the result look exactly the same as MS Word’s PDF. See the attachment. out.pdf (78.7 KB)
Please see the following article to learn how to control font substitution.

Hi Alexey, you are right it’s works !

Thanks you for help.