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

Free Support Forum - aspose.com

Convert Word Document to PDF using C# .NET on Windows 10 or Windows Server 2016 Machines | Set TrueType Fonts

Hello,

We have an issue where if word document has objects and shapes such as arrows that point to specific text, the shapes/arrows are no longer aligned properly. See attached png.
This document was converted correctly on my machine (windows 10), but not on server (Windows Server 2016). Both machines use Aspose 20.9.0.0 and .Net Framework 4.7.2. Not sure what to look for and how to troubleshoot.

temp.zip (492.1 KB)
DocumentInconsistencies.PNG (154.3 KB)

Thank you,
Sergey

@sergtey.kogan,

Most likely, the problem occurs because of missing fonts. Please just copy following fonts from your Windows 10 development machine to the other Windows Server 2016 machine.

  • Arial Narrow
  • Times New Roman
  • Arial
  • Calibri
  • and any other font files used in your Word DOC document

Please refer to the following articles for more details:

After installing the required fonts used in Word files, Aspose.Words for .NET should render correctly to PDF.

You were right!
I had to install Arial Narrow font.

Thank you,
Sergey