Supporting Chinese (Simplified) characters in a PDF Export

4 posts, 0 answers
  1. JK
    JK avatar
    6 posts
    Member since:
    Jan 2014

    Posted 09 Mar Link to this post

    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.

  2. Daniel
    Admin
    Daniel avatar
    4945 posts

    Posted 10 Mar Link to this post

    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
  3. JK
    JK avatar
    6 posts
    Member since:
    Jan 2014

    Posted 10 Mar in reply to Daniel Link to this post

    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?

  4. Daniel
    Admin
    Daniel avatar
    4945 posts

    Posted 11 Mar Link to this post

    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
Back to Top