Save Word document to Pcl missing text

I use Aspose.Words to save document to Pcl:

Document document = new Document(@"D:\Temp\testPclText.docx");
PclSaveOptions pclSaveOptions = new PclSaveOptions();

document.Save(@"D:\Temp\testPclText.pcl", pclSaveOptions);

Then I use GhostPCL to convert pcl to png image, but the Chinese chars are missed.

gpcl6win64.exe  -dSAFER -dBATCH -dNOPAUSE -sDEVICE=png16m -r150 -dGraphicsalphaBits=4 -sOutputFile=D:/temp/testPclText.png d:/temp/testPclText.pcl

The source docx file, the output pcl and png files are attached, please let me know if I missed something.
testPclText.zip (12.4 KB)

@yueru
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-27502

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@yueru We have completed analyzing the issue and decided to close it as not a bug. The issue arises because PCL does not support external fonts. Its internal font set is limited, and if the required font (in this case, SimSun) is not available among the internal fonts, PCL defaults to Arial, which cannot display Chinese characters.

Embedding fonts into PCL is not supported by Aspose.Words.

As a workaround, we can offer you two options:

  • Convert the document to PostScript, which supports external fonts like SimSun.
  • Alternatively, you can convert the document directly to PNG, which will preserve the characters as an image.

The issues you have found earlier (filed as WORDSNET-27502) have been fixed in this Aspose.Words for .NET 24.11 update also available on NuGet.