+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Export HTML Content to PDF using RadDocument : How to embed external font to PDF?

Export HTML Content to PDF using RadDocument : How to embed external font to PDF?

2 posts, 1 answered
  1. Dion
    Dion avatar
    6 posts
    Registered:
    29 Mar 2014
    05 Oct 2014
    Link to this post

    Hi All,

    Recently i'm using RadDocument to export from HTML Content to PDF format (http://www.sitefinitysteve.com/blog/code/2014/07/30/export-html-or-content-to-pdf-word-etc-with-sitefinity

    Just wonder is it possible to embed external font family from HTML to PDF?

    For example : 

    output_html = "<div style='font-family: Futura-Medium'>Hello World</div>";


    Really appreciate any help that you could provide.

    Thanks!

  2. Junior Dominguez
    Junior Dominguez avatar
    115 posts
    Registered:
    02 Dec 2016
    09 Oct 2014
    Link to this post
    Hi Dion,

    Unfortunately the usage of styles with external fonts seems not to be supported in the RadDocument.

    Best Regards,
    Junior Dominguez
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
    Answered
2 posts, 1 answered