Problem Previewing PDF within internet browsers

3 posts, 0 answers
  1. Lee
    Lee avatar
    11 posts
    Member since:
    Sep 2010

    Posted 03 Feb 2014 Link to this post

    Hi all, 

    Is anyone having an issue and a solution to viewing a pdf file created by RadRichTextBox by the following call; Telerik.Windows.Documents.FormatProviders.Pdf.PdfFormatProvider().Export(<textArea.Document>) in an email program, open within an internet browser (for example gmail open within Google Chrome) where the characters are not being converted correctly?  It is using the pdf internet browser plugin. 

    It works fine if I right click on the plugin and open the document in another tab, or download the document and open it using Adobe Reader.  It only does not open correctly when clicking the plugin once and displaying the document within the plugin child window.  I have tested this in IE and Google Chrome.

    I have attached a screen shot of what the pdf should look like and a screen shot of what it looks like when opening from the plugin.

    Thank you in advance,

  2. Alexander
    Alexander avatar
    41 posts

    Posted 06 Feb 2014 Link to this post

    Hello Lee,

    Thank you for contacting us.

    The issue you are observing is related to a Silverlight limitation which prevents fonts from being embedded in the generated PDF.
    What I could suggest as a workaround is to try exporting your documents server-side using the WPF version of RadRichTextBox where the mentioned limitation is not present.
    The reason why the document is opening correctly when you open it in new tab is because the browser uses a different viewer which has access to the system fonts which allows the document to be loaded correctly.

    If you have further questions or some other concerns do not hesitate to contact us again.


    Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

  3. DevCraft R3 2016 release webinar banner
  4. Lee
    Lee avatar
    11 posts
    Member since:
    Sep 2010

    Posted 06 Feb 2014 in reply to Alexander Link to this post

    Hello Alexander,

    Thank you for your reply. I will test your suggestion and let you know.


Back to Top