Font changed from ArialNarrow to THOMAS LiberationSerif for PDF document

Hi,


I am creating a PDF document using DOCX document

Document.save(“Final.docx”);
Document.save(“Final.pdf”);

After getting saved, the font in the PDF document changes to LiberationSerif instead of ArialNarrow in the DOCX document.

How can I fix this issue ?

Regards.
Prabhaker Kr.

Hi Prabhaker,

Thanks for your inquiry. Please
note that Aspose.Words requires TrueType fonts when rendering documents
to fixed-page formats (PDF, XPS or SWF). Make sure you have all the
Fonts installed on your machine you’re using to convert Word document to
PDF format. I would suggest you please read the following articles:

http://www.aspose.com/docs/display/wordsjava/How+to++Specify+True+Type+Fonts+Location
http://www.aspose.com/docs/display/wordsjava/How+Aspose.Words+Uses+True+Type+Fonts

If you still face problem, please share the fonts used in your document and input document here for investigation purposes. I will investigate the issue on my side and provide you more information.