Page 1 of 1

Export pdf---the Chinese characters were garbled

Posted: Thu Jun 06, 2019 7:08 am
by wolf1860
The third-party export demo(SynPdf),the synPdf pack is the latest version as readme.txt,Everything is right except Chinese characters were garbled.Any ideas? Thanks!

Re: Export pdf---the Chinese characters were garbled

Posted: Thu Jun 06, 2019 11:38 am
by Sergey Tkachenko
How are they displayed? As rectangles, or maybe completely wrong?
What font is used for Chinese text?

Re: Export pdf---the Chinese characters were garbled

Posted: Fri Jun 07, 2019 2:00 am
by wolf1860
Microsoft YaHei is right,the others are displayed as rectangle,the font-name is Arial.

Re: Export pdf---the Chinese characters were garbled

Posted: Mon Jun 10, 2019 12:54 pm
by Sergey Tkachenko
As far as I know, Arial does not include Chinese characters.
They are displayed in TRichView or browsers because of font substitution (when a character cannot be found in a font, it is displayed from some other font that has this character).
Sorry, I do not know how font substitution for missing characters work in PDF in general and in SynPDF specifically. Please address this question to SynPDF developer.

Re: Export pdf---the Chinese characters were garbled

Posted: Mon Jun 10, 2019 3:50 pm
by wolf1860
Thanks,as u said,I changed the font-name to "microsoft YaHei",and I got the right file:)