RadEditor font problem

2 posts, 0 answers
  1. Vytautas
    Vytautas avatar
    3 posts
    Member since:
    Feb 2014

    Posted 05 Sep 2014 Link to this post


    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?

  2. Ianko
    Ianko avatar
    1892 posts

    Posted 09 Sep 2014 Link to this post

    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. 


    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.

Back to Top