Word convert to pdf Chinese display problems

Environment
OS: Linux OpenSUSE Linux version 4.1.12-1-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )

Mono: Mono JIT compiler version 4.2.1
Aspose.Words: 16.2.0.0

Code
// open word file
var doc = new Aspose.Words.Document(sourceFilePath);
// validate parameter
if (doc == null) { throw new Exception("Word文件无效或者Word文件被加密!"); }
doc.Save(pdfFilePath, Aspose.Words.SaveFormat.Pdf);



Hi Anni,


Thanks for your inquiry. Please note that Aspose.Words requires TrueType fonts when rendering documents to fixed-page formats (JPEG, PNG, PDF or XPS). You need to install fonts on the machine where you’re converting documents to Pdf. Please refer to the following articles:

How Aspose.Words Uses True Type Fonts
How to Specify True Type Fonts Location
How to Receive Notification of Missing Fonts and Font Substitution during Rendering