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

Free Support Forum - aspose.com

Save as Pdf.. Result has wrong fonts

I used following code to load a docx and save it as pdf:

string lfilename = @“c:\temp\temp.docx”;

Aspose.Words.Document aspDocpdf2 = new Aspose.Words.Document(lfilename);



aspDocpdf2.Save(@“C:\test.pdf”, Aspose.Words.SaveFormat.Pdf);



My problem is that the docx contains the font Helvetica and in the pdf it is replaced with a differnt font.



The setting to save the font in the docx file did not help either. I tried it with 13.3 and the latest 14.4



Can you tell me why the pdf looks differnt and has differnt fonts?



Attached is the docx and the pdf

Hi Christian,


Thanks for your inquiry. The problem most likely occurs because Aspose.Words cannot find the font “HelveticaNeueLT Std Lt” installed on the file system. Please make sure you have all required fonts installed on the machine you’re performing Word to PDF conversions:

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

Please let us know if we can be of any further assistance.

Best regards,