RadDocument (RadDocument)Export to PDF - Problem about Uni-code Language

5 posts, 1 answers
  1. Woramin
    Woramin avatar
    25 posts
    Member since:
    Aug 2011

    Posted 31 Aug 2011 Link to this post

    Hi there, Please help me solve this problem

    I'm working with the exporting the RadDocument into different file format.(HTML,Docx,PDF)
    I have data in the table which are both English and Thai language(My native language). At this time, exporting to HTML and Docx work fine. However, when I export this into PDF, the table cell that has a Thai text becomes unreadable (It becomes a kind of square text or something). I already set a font family (such as MS Arial Unicode) in which Thai language can be used but exporting still failed.

    The source code of setting font is some kind like this.

                Telerik.Windows.Documents.Model.Span span = new Telerik.Windows.Documents.Model.Span();
                span.FontFamily = new FontFamily("Arial Unicode MS");
                paragraph.Inlines.Add(span);
                paragraph.TextAlignment = Telerik.Windows.Documents.Layout.RadTextAlignment.Center;
                cell.Blocks.Add(paragraph);

    Do I need to thing set something else?

    Thanks
  2. Answer
    Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 02 Sep 2011 Link to this post

    Hello Woramin,

    Unfortunately, PDF export of some more complex languages like Thai is currently not supported. This feature has not been scheduled yet, so I cannot provide you with a specific timeline if and when it will be implemented.

    Greetings,
    Iva
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. DevCraft banner
  4. Woramin
    Woramin avatar
    25 posts
    Member since:
    Aug 2011

    Posted 02 Sep 2011 Link to this post

    That's OK. Because only if I know reason behind this problem, I can explain this situation with my supervisor.

    Thanks again for your explanation
  5. Kjell
    Kjell avatar
    275 posts
    Member since:
    Jun 2010

    Posted 14 Sep 2012 Link to this post

    Are there any updates on this? 

    I have an urgent need to support Unicode PDF exports in my application.
  6. Martin Ivanov
    Admin
    Martin Ivanov avatar
    104 posts

    Posted 19 Sep 2012 Link to this post

    Hi Kjell,

    We are currently looking into this task and it is very likely to have it soon in progress.

    However, we cannot state an exact time frame for its completion, as there may be some underground rocks along the way.

    Kind regards,
    Martin
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Back to Top
DevCraft banner