I have a PDF with Chinese text. The font is not embedded (i.e. it is
The font used is Simsun, but the printed copy does not shows the
I use the following code it add my font substitutes:
bool found = pdftron.PDFNet.SetResourcesPath
PDFNet.AddFontSubst("Adobe Sans MM",
pdfdoc = new pdftron.PDF.PDFDoc(FilePath);
The test file you sent is not displaying properly even in Acrobat with
Asian Font Pack.
The problem is that the text is using custom encoding and not Unicode
'Identity' coding. This is probably a bug in the software that
generated your PDF. These days there are so many poor quality PDF
generation APIs and a great care needs to be put in selecting the right
You could use CosEdit utility (www.pdftron.com/cosedit) to fix this
type of problems.
Basically you would need to replace the 'Ordering' entry in
CIDSystemInfo dictionary to 'CNS1' (CIDSystemInfo is located under
You can find the fixed file in the attachment.
Using PDFNet SDK (www.pdftron.com/net) it is also possible to fix this
type of problems programmatically (prior to rasterization) using