OTF fonts

176 views
Skip to first unread message

Roman Zimmermann

unread,
Feb 7, 2012, 11:01:16 AM2/7/12
to dompdf
Hi there,

yet another custom fonts question. Is there anything I can do to make
dompdf work with my ODF fonts? I've found some hints on the web that
pop-font-lib supports OTF. If yes what are the steps needed to make it
work?

regards,
Roman

BrianS

unread,
Feb 7, 2012, 10:59:30 PM2/7/12
to dom...@googlegroups.com
The next release of dompdf (beta 3, coming soon!) will include php-font-lib. php-font-lib can parse many different font types and even perform font subsetting.

Fabien Ménager

unread,
Feb 8, 2012, 2:03:30 AM2/8/12
to dom...@googlegroups.com
The php-font-lib can parse OTF fonts, but I'm not sure they are taken into account in dompdf. Also, There are two types of OpenType fonts : with TrueType outline glyphs and with CFF outline glyphs. Currently, only TrueType outline glyphs are supported, I don't check this type, so there may be errors. I'll have to either check it and refuse to embded/subset or implement it.
Reply all
Reply to author
Forward
0 new messages