Unicode Characters and save as PDF

Stimulsoft Reports.WEB discussion
Post Reply
jay@bplogix.com
Posts: 251
Joined: Fri Feb 04, 2011 11:46 am
Location: San Diego, CA

Unicode Characters and save as PDF

Post by jay@bplogix.com »

I have a simple report with UNICODE characters (Japanese). If I run it, and Save as Adove PDF file, the output is garbled where the UNICODE characters are.

Save as Word, Excel, MHT, etc all work fine ... just PDF is wrong.

I think the font being used for PDF is wrong for UNICODE characters. Is there a way to make Save to PDF work for Unicode?

Thanks!
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Re: Unicode Characters and save as 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 export. 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.
jay@bplogix.com
Posts: 251
Joined: Fri Feb 04, 2011 11:46 am
Location: San Diego, CA

Re: Unicode Characters and save as PDF

Post by jay@bplogix.com »

I set the font to "Arial Unicode MS" in the designer, but when it is saved and re-opened, it goves back to Arial.

I have attached a simple report with just a label with Japanese characters. How do I modify this so that when it is exported to PDF it shows the Japanese characters correctly?

Thanks@
jay@bplogix.com
Posts: 251
Joined: Fri Feb 04, 2011 11:46 am
Location: San Diego, CA

Re: Unicode Characters and save as PDF

Post by jay@bplogix.com »

here is the attachment.
Attachments
testchars.mrt
(8.11 KiB) Downloaded 444 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Unicode Characters and save as PDF

Post by HighAley »

Hello.

The styles have higher priority then font property. The style is set with Arial font.
So you should either change style
style.png
style.png (14.84 KiB) Viewed 4486 times
or set the Allow use font property to false in the Style Designer.
property.png
property.png (18.17 KiB) Viewed 4486 times
Thank you.
Post Reply