Chinese text can not display normally on exported PDF

Stimulsoft Reports.NET discussion
Post Reply
wangqiang
Posts: 2
Joined: Mon Oct 17, 2011 1:54 am

Chinese text can not display normally on exported PDF

Post by wangqiang »

Hello,
My reports need to support double languages.The DateSource can provide Chinese or English data by passing different parameters.The font of text control is setted to "Arial". When DateSource return English data, both reports in Report-Viewer and Exported PDF are OK. But when DateSource return Chinese data, report preview in Report-Viewer display normally,unfortunately, the Chinese text on Exported PDF became to rectangles. So how can I get same results both in Viewer and PDF?
The picture link of this problem can click problem
I have done other test. When the font of text control is setted to a Chinese font which is called "黑体",all modes are OK.But "黑体" is not suitable for English text. As far as possible, I need to use 'Arial' font both for English and Chinese.
Thanks
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Chinese text can not display normally on exported PDF

Post by Ivan »

Hello,

Most of the standard fonts does not contain national characters. In this case Windows uses the "font fallback". This algorithm is very complicated and, therefore, is not realized in the exports.
To output national characters, please, use the font which contain all necessary characters. For example, the "Arial Unicode MS" font contains many national characters.

Thank you.
Post Reply