joshuataylor / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Support for @font-face #182

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
http://www.w3.org/TR/css3-fonts/#font-resources
https://developer.mozilla.org/en/CSS/@font-face

Original issue reported on code.google.com by fabien.menager on 14 Sep 2010 at 8:03

GoogleCodeExporter commented 9 years ago
Issue 186 has been merged into this issue.

Original comment by eclecticgeek on 16 Jun 2011 at 4:32

GoogleCodeExporter commented 9 years ago
@font-face support is now in the trunk for this I created a separate project to 
parse the font files : 

http://code.google.com/p/php-font-lib/

TrueType, OpenType and WOFF font files can be parsed with this lib for now, and 
with this we will be able to get rid of ttf2ufm and support font subsetting 
easier.

At this time, only OpenType and TrueType fonts can be use with @font-face in 
dompdf. Google Web fonts were tested and can be used. There is an example which 
uses three of them : http://pxd.me/dompdf/www/examples.php (CSS > at font face).

Feel free to report any issue !

Original comment by fabien.menager on 14 Jul 2011 at 4:17

GoogleCodeExporter commented 9 years ago
Issue 306 has been merged into this issue.

Original comment by fabien.menager on 19 Jul 2011 at 8:49

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 24 May 2013 at 3:00