This is a migrated thread and some comments may be shown as answers.
RadEditor font problem
1 Answer 8 Views
This is a migrated thread and some comments may be shown as answers.
Vytautas
Top achievements
Rank 1
Vytautas asked on 05 Sep 2014, 12:39 PM
Hello,

I am trying to export RadEditor content to PDF and save on server. After export (on web preview), most lithuanian characters (ąčęė etc) are shown as #. If I change the font on editor menu to Arial or such, chosen text section gets converted with all characters properly. I only left proper font options for user to select on editor menu, however, problem is that default font is the one that does not work (when clicked on editor area, SelectFont field becomes something like "helvetia...", even though it's not on the font list), and I wish to not allow user use font that does not get converted properly.

What I've tried:
<ExportSettings><Pdf DefaultFontFamily="Arial"/></ExportSettings>   - but this did not affect anything (also tied different font families).

<telerik:EditorCssFile>  - It changed the default editor text style to Arial, but on  PDF after export all this style from css vanishes.

Is there any other way to prohibit user to use non unicode font on RadEditor, or in any other way avoid unsuccessful lithuanian font export attempts to pdf?


1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 09 Sep 2014, 03:18 PM
Hi Vytautas,

The current RadEditor export functionality supports only UTF-8 characters. 

A possible solution to this case is extending the PDF export functionality with a third-party library that provides more advanced exporting to PDF content. In this blog post is explained how this can be implemented. 

Regards,
Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Asked by
Vytautas
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or