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

Exporting cyrillic text to pdf

1 Answer 24 Views
RichTextBox (obsolete as of Q3 2014 SP1)
This is a migrated thread and some comments may be shown as answers.
Slavcho
Top achievements
Rank 1
Slavcho asked on 18 Mar 2014, 03:17 PM
Hi,
In my quick review of controls encounter a problem with export to PDF from your RichTextBox. When i type something in cyrilic and then save as PDF file the result is quite strane. I mean many random spaces and generally weird layout. You can easy reproduce this in the winforms demo application. So, is it some kind of bug or there is a way to change this behavior in the code?
Best Regards,
Slavcho

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 21 Mar 2014, 02:08 PM
Hello Slavcho,

Thank you for contacting Telerik Support.

I confirm that it is an issue with our PdfFormatProvider when exporting cyrillic text from the RadRichTextBoxI have logged it in our Feedback Portal. You can track its progress, subscribe for status changes and add your vote/comment to it on the following link - Feedback Item

I have also updated your Telerik points.

Currently, the possible workaround that I can suggest is to use the TxtFormatProvider to export the plain text and then convert the txt file to pdf. You can find more information about converting txt file to pdf on the following link:
http://social.msdn.microsoft.com/Forums/en-US/2cf30017-cd87-4454-8c8f-52a99e76e40c/how-to-convert-text-file-into-pdf-in-c?forum=csharplanguage

I hope this information helps. Should you have further questions, I would be glad to help.

Regards,
Desislava
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
RichTextBox (obsolete as of Q3 2014 SP1)
Asked by
Slavcho
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or