This is a migrated thread and some comments may be shown as answers.

Export to PDF in Japanese Language is not rendering as expected.

1 Answer 865 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Praveen
Top achievements
Rank 1
Praveen asked on 18 Jun 2012, 11:37 AM
Hi,

We are using RenderReport functionality of ReportProcessor class for "Export to PDF" and were able to export successfully by passing type "png" to OutFormat param.

We are using localization in our application and it is working fine for almost all cultures except for Japanese.

We noticed that in Report Viewer it is showing in Japanese, after we export to PDF it is showing small boxes when we open exported pdf file.

Also noticed that Printing and Export to Excel(which uses the same RenderReport functionality) are working fine even when Japanese is set as current culture.

Please suggest us the solution to export report to pdf using Japanese language.

Thanks in advance.
Praveen.

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 20 Jun 2012, 03:43 PM
Hello,

You can find more information how to handle this problem in our documentation: Design Considerations for PDF Rendering.
Verify that the exported PDF from your machine has indeed used the Japanese font you have specified. You can check that in File -> Properties -> Fonts. By default fonts are embedded so you should see (Embedded Subset) right next to the fonts used in the PDF. If the Japanese fonts are not present in the PDF, this means that a fallback font is used. Have you verified that your fonts support Japanese scripts? Use a program like Font Xplorer to check that. A font that supports all scripts is Arial Unicode for example.

Greetings,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Tags
General Discussions
Asked by
Praveen
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or