RadDocument Font Family to PDF

4 posts, 0 answers
  1. Reinier
    Reinier avatar
    4 posts
    Member since:
    May 2014

    Posted 28 Jul 2014 Link to this post

    I have other problem I need export one raddocument to pdf file, I do this but when I change the font family on raddocument the pdf file don't have the same font family always is the same font for pdf. I can export the raddocument font family to the pdf file.
  2. Petya
    Petya avatar
    983 posts

    Posted 30 Jul 2014 Link to this post

    Hi Reinier,

    When exporting a document to PDF, the fonts that are used in it need to be embedded in the document to ensure proper results when the PDF is loaded in a viewer. However, the Silverlight framework imposes  some limitations that do not allow accessing fonts on the client, thus embedding the needed fonts is not possible. There is a set of standard fonts that do not need to be embedded. Basically, when exporting from RadRichTextBox all fonts that are not included in the standard set fallback to one of the standard fonts. I presume this is what happens in your application as well.

    Let me know if you have further comments or questions.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
  3. Fredrik
    Fredrik avatar
    58 posts
    Member since:
    Mar 2013

    Posted 22 Feb 2016 Link to this post

    Is there a solution to this problem?

    I am using a font called Gill Sans MT in my radrichtexteditor and it gets displayed correctly, but when i export to pdf it gets reverted to some standard font.

  4. Deyan
    Deyan avatar
    157 posts

    Posted 23 Feb 2016 Link to this post

    Hello Fredrik,

    As a workaround for now you may try using RadWordsProcessing library. For more detailed information you may see this forum post and its attached demo.

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top