ttf2afm not readable

22 views
Skip to first unread message

Pablo Ambram

unread,
Feb 7, 2012, 1:10:29 PM2/7/12
to dom...@googlegroups.com
Using the diagnostic tool I get that the file ttf2afm is not readable. What should I do?

I already set permissions to +x to the file, and changed the group to www-data. Still nothing.

What can I do?

UBUNTU 10.10

BrianS

unread,
Feb 7, 2012, 11:07:17 PM2/7/12
to dom...@googlegroups.com
ttf2afm is not a necessary component so ignore it. ttf2afm (or, more specifically ttf2ufm) is used to process fonts (using load_font.php) for installation into dompdf.

Of course, if you need custom font support you can't ignore the error. In that case you have three options:
  1. compile a fresh copy of ttf2ufm from the source included with dompdf then modify the TTF2AFM configuration constant to point to your compiled file
  2. use the web-based font prep tool to process your fonts
  3. wait for 0.6.0 beta 3
I recommend option three. Things will be much easier since beta 3 drops ttf2afm in favor of php-font-lib.
Reply all
Reply to author
Forward
0 new messages