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

Free Support Forum - aspose.com

Pdf generated takes in 'Genetium Font' alone

Hi

I am generating word as well as pdf using aspose java. i am using various fonts(mostly Arial) in the document and all the fonts are getting reflected properly in the word document. However when i save it as PDF, only a default font named 'Genetium' is getting reflected into the document.

By the way, I am working in Pega(using the aspose API in this platform), if that's helpful.

Kindly let me know what is the problem...:/ :/

Hi Anu,

Thanks for your inquiry. Please note that Aspose.Words requires TrueType fonts when
rendering documents to fixed-page formats (JPEG, PNG, PDF or XPS). Make sure
you have all the Fonts installed on your machine you’re using to convert
Word document to image format. I would suggest you please read the
following articles:
http://www.aspose.com/docs/display/wordsnet/How+Aspose.Words+Uses+True+Type+Fonts
http://www.aspose.com/docs/display/wordsnet/How+to++Specify+True+Type+Fonts+Location

If
you still face problem, please share your input document here for testing? I will investigate the issue on my side and provide you more information.