Save Korean(or chinese/japnese) to PDF problem, please help.
Repro:
* Create a new Report with the Report Designer application
* Add a label with Unicode characters (I tried to use korean and chinese )
* Preview the report in the Report Designer application.(no problem)
* Save the report to PDF
* Open the PDF and the unicode characters become big squares.
I have attached an image. the top is in designer and the bottom is in PDF viewer.
* Create a new Report with the Report Designer application
* Add a label with Unicode characters (I tried to use korean and chinese )
* Preview the report in the Report Designer application.(no problem)
* Save the report to PDF
* Open the PDF and the unicode characters become big squares.
I have attached an image. the top is in designer and the bottom is in PDF viewer.
Comments
In the text object, you should use the Korean font instead of Arial.
Hi Alex, please help me out, I tested this again.
If I check embedded fonts when exporting to PDF, report designer crashes with an error.
if I don't check embedded fonts then, when I open the pdf file in Adobe Viewer, I got an error from adobe reader saying cannot find or create the font "font name".
the font is available in system font.
It might be a bug Alex,
in ExportTTF.cs line 2367,
GlyphWidth = (int) (horizontal_metrix_table[idk].advanceWidth * 1000 / font_header.unitsPerEm);
throws out of index exception, i changed idk to length, it seems to work now, can you please confirm this change? thx
Could you send me the report file (.frx) and the prepared report (.fpx, save from preview) to tz@fast-report.com?