PDF export - embedding of a Type 1 Font (GillSans) fails
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
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
This discussion has been closed.
Comments
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.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I will tell the customer to use Gill Sans MT, thank you for your reply!
Mark
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com