Embedded fonts not rendering in PDF

2 posts, 0 answers
  1. Paul
    Paul avatar
    6 posts
    Member since:
    Aug 2012

    Posted 01 Feb Link to this post

    Hi All,

    I'm wondering if anyone can help identify what I'm doing wrong - or indicate if things have changed or bugs have been identified with how the reporting product handles fonts when rendering to PDFs since we last licensed our Telerik toolset...

    We have a problem where a report has been designed using a set of corporate-branded ttf fonts. The report was built using the standalone designer (version 8.0.14.507) to create trdx definition files and uses an external style sheet (style.xml). The report previews correctly but when we deploy it to the server and it's built within our C# application and streamed to the user, the displayed fonts revert to a default Windows one.

    I can see that the other related style settings for the fonts are being applied (such as font size etc.) so it looks like the external style sheet is being read correctly and the font is simply being reverted back to the environments default one.

    Googling around I've checked a number of things.

    • The fonts are embedded in the PDF document. (I've tried embedding a both subset and the full set with no joy). 
      • Confirmation of embedding was taken by the increase in the pdf file size on each change
      • Acrobat Reader shows the fonts as Embedded (or partially)
      • Type TrueType (CID)
      • Encoding: Identity-H
    • The TTF fonts grant the permission for embedding (https://www.eggfortress.com/fixing-font-permissions-allowing-embed-on-ttf-fonts/)
    • The font's are installed on both server and client machines.

    We're long out of support from Telerik :( otherwise I'd consider opening a ticket.  Does anyone in the community have any ideas or pointers to what to look at next?

    Thanks,

    Paul.

  2. Paul
    Paul avatar
    6 posts
    Member since:
    Aug 2012

    Posted 04 Feb in reply to Paul Link to this post

    Hi All,

    I know it's bad form to answer your own cries for help but this is more for anyone else having a similar issue and finding this post - we found the resolution accidentally!  As is usual in the world of IT, a simple turn it off & then back on again resolved it!  

    Our Azure dev sever was powered down routinely over the weekend and after coming back online today reports are now being generated with the correct embedded font :)  I suspect it was one if not a combination of some of the things we tried above but as we'd failed to turn it off and then back on again one of the changes wasn't picked up.

    Cheers,

    Paul.

Back to Top