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

Free Support Forum - aspose.com

Font in Word and PDF are not same

Hi,

I was able to generate a Word that contains expected Font (Arial).
But when the same code is trying to save as PDF, the generated document font is not correct.
So the question is does Aspose.Word uses different Fonts (and Font locations) for Word and PDF?
How can I handle such kind of issue?


More of my information:
Operating System : CentOS
Java Version: 1.6.x 32-bit
Aspose Version: Tried both 13.2.0 and 13.4.0

Hi Guilin,


Thanks for your inquiry. Please note that Aspose.Words requires TrueType fonts when rendering documents to fixed-page formats (PDF, XPS or SWF). For more information, I would suggest you please read the following articles:

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

Best regards,