How to export chinese to PDF?
FastReport .Net 1.1 released
I have noticed this in "What is new?" list:
+ added Chinese (simplified) localization
I test it,but still error.
If I set the Font to "Arial",the chinese in pdf shows as diamonds.
If I set the Font to "Arial Unicode MS",on my local machine,there is no error,but on another machine,the chinese in pdf shows as wrong character.
Is there any way to solve this problem?
thanks for help!
I have noticed this in "What is new?" list:
+ added Chinese (simplified) localization
I test it,but still error.
If I set the Font to "Arial",the chinese in pdf shows as diamonds.
If I set the Font to "Arial Unicode MS",on my local machine,there is no error,but on another machine,the chinese in pdf shows as wrong character.
Is there any way to solve this problem?
thanks for help!
Comments
Arial font does not contain Chinese symbols. When you use it in Windows application to draw some text, Windows does the thing called "font substitution". It searches for another font that contains Chinese chars and uses it instead of Arial to draw these chars (note that latin characters are still drawn using Arial).
This is complex thing and it's hard to implement it in the PDF export. In fact, it's not implemented even in MS SQL Reporting Services and Crystal Report.
The solution is to use specific font to display Chinese.