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

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

6 Answers 239 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Woramin
Top achievements
Rank 1
Woramin asked on 31 Aug 2011, 05:07 AM
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

6 Answers, 1 is accepted

Sort by
0
Accepted
Iva Toteva
Telerik team
answered on 02 Sep 2011, 02:29 PM
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 >>

0
Woramin
Top achievements
Rank 1
answered on 02 Sep 2011, 02:37 PM
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
0
Kjell
Top achievements
Rank 1
answered on 15 Sep 2012, 12:38 AM
Are there any updates on this? 

I have an urgent need to support Unicode PDF exports in my application.
0
Martin Ivanov
Telerik team
answered on 19 Sep 2012, 03:40 PM
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.

0
Sajid
Top achievements
Rank 1
answered on 02 Jan 2020, 11:06 AM

Hi Martin,

Any update on this? We are facing the same issue with RadDcoument. 

0
Martin
Telerik team
answered on 03 Jan 2020, 01:30 PM

Hello Sajid,

This task is currently not scheduled for implementation and I cannot engage with a specific date, but please, be sure you are following the public item (RichTextBox: Add support for complex script languages with combining characters (Thai, Telugu, Devanagari)) so we can notify you when its status changes and vote for its implementation to increase the priority of the task.

Regards,
Martin
Progress Telerik

Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
RichTextBox
Asked by
Woramin
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Woramin
Top achievements
Rank 1
Kjell
Top achievements
Rank 1
Martin Ivanov
Telerik team
Sajid
Top achievements
Rank 1
Martin
Telerik team
Share this question
or