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

Supporting Chinese (Simplified) characters in a PDF Export

3 Answers 590 Views
PdfProcessing
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 09 Mar 2016, 01:44 PM

It isn't clear whether or not this is supported by looking at the documentation or searching the forums.

 

 

Is it possible to export a PDF, with drawDom, that will have Chinese characters in it?

 

If so, how do you do it? Again, the documentation is spotty and at this point tells you different things at different locations as far as what font will be used by different parts of Kendo.

3 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 10 Mar 2016, 08:08 AM
Hello JK,

I'm not sure if you are using the ASP.NET AJAX RadClientExportManager or Kendo Drawing API, but in both cases you need to specify an Unicode font that contains the simplified Chinese language subset.

For RadClientExportManager:
Exporting Special Characters
For Kendo Drawing:
Kendo Drawing - Custom Fonts

Regards,
Daniel
Telerik
0
Paul
Top achievements
Rank 1
answered on 10 Mar 2016, 02:19 PM

We've tried this and it didn't seem to have an affect.

 

We used your example as well, trying to use the DejaVuSans font but it didn't seem to have an affect on output.

 

Can you suggest any fonts that have these requirements?

0
Daniel
Telerik team
answered on 11 Mar 2016, 08:21 AM
Hello JK,

When I have to export Chinese or Japanese characters in ASP.NET, I normally use Arial Unicode MS which (I believe) is distributed with the Microsoft Office installation. You can also try Google's Noto Sans and more specifically some of the CJK versions.

Regards,
Daniel
Telerik
Tags
PdfProcessing
Asked by
Paul
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Paul
Top achievements
Rank 1
Share this question
or