[Lazarus] fpPDF: cannot embed DejaVu font
Ondrej Pokorny
lazarus at kluug.net
Wed Apr 13 11:54:55 CEST 2016
I wanted to use the DejaVuLGCSans.ttf font from
http://dejavu-fonts.org/wiki/Download
http://sourceforge.net/projects/dejavu/files/dejavu/2.35/dejavu-lgc-fonts-ttf-2.35.zip
The created PDF is corrupt. Adobe Acrobat Reader shows:
Adobe Illustrator:
Opera opens the file without problems, though.
If I change the font to FreeSans.ttf, the generated PDF is OK.
See the test project (with included font file):
https://drive.google.com/open?id=0Bx-flYubOTroOTVudTAxYkJkTW8
Am I doing something wrong or is this a bug in fpPDF?
Ondrej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160413/455685b1/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 5778 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160413/455685b1/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4444 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160413/455685b1/attachment-0005.png>
More information about the Lazarus
mailing list