Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Tue Oct 02, 2018 1:41 pm

Hello E-IceBlue staff,

We are trying to use Spire.doc to convert docx to PDF in Azure environment and we faced with the fonts issue when Garamond font converts incorrectly. (please see attachment)

We also trying to change documents font and set up the different fonts for different documents.

when trying to use PrivateFontPaths class ToPdfParameterList -then we got the last added font rewrited for all documents
when trying document.PrivateFontList.Add then we got fonts that is overwritted by the PrivateFontPaths property of the ToPdfParameterList class.


Thank you.

goluntsov_magora
 
Posts: 1
Joined: Tue Oct 02, 2018 1:23 pm

Wed Oct 03, 2018 11:51 am

Hello,

Thanks for your post.
There is no Garamond font installed on your Azure, hence the font in generated Pdf displayed incorrectly. You need to use the ToPdfParameterList to embed the font without installing the font on Azure. And after a test with our latest commercial version (Spire.Doc Pack(hot fix) Version:6.9.13), I didn't notice that the added font overwrote all document fonts. To help us better investigate your issue, please provide your original word file, result PDF file as well as your testing code. Thanks in advance. You could send them to via email (support@e-iceblue.com).

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Mon Oct 08, 2018 10:31 am

Hello,

Greetings from E-iceblue.
Could you please let us know how is the issue going? Thanks in advance for your feedback and time.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Return to Spire.Doc