Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

PDF export - embedding of a Type 1 Font (GillSans) fails

edited October 2011 in General
Hello,

one of our customers has a problem when exporting RB reports to PDF. It's an
issue with embedded fonts. To be able to check it, I got me the font the
customer was using (GillSans) and once I used it in a report, I too noticed,
that this font isn't being embedded into the PDF file.

One difference of this font I see, is it's type: Type 1 Font File. Inside
the report designer the font is showed with a printer symbol - the only font
of this type, which explains why I wasn't able to reproduce the issue
before.

I'm filling Report.PDFSettings.EmbedFontList and set
Report.PDFSettings.EmbedFontOptions := [efFontList]. Although GillSans is in
the list, it's not embedded in the PDF file.

Am I doing anything wrong or is this not supported or maybe a bug?

Kind regards,
Mark

Comments

  • edited October 2011
    Hi Mark,

    The PDF device is only capable of embedding TrueType/ClearType fonts.
    If your user would like to embed the Gill Sans font, I would suggest
    using the TrueType equivalent Gill Sans MT.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2011
    Hi Nico,

    I will tell the customer to use Gill Sans MT, thank you for your reply!

    Mark

  • edited October 2011
    Hi Nico,

    a suggestion just came to my mind:
    would it be possible to check, if an equivalent of a font, which types is
    not supported, is installed on the machine (Gill Sans MT in my case) and to
    use it instead?
    Or maybe show a dialog asking for font to use or so.

    I think that would be a really nice thing.

    Regards,
    Mark

  • edited October 2011
    Thanks for the feedback. We will consider this for a later release.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.