faqts : Computers : Programming : Languages : PHP : Function Libraries

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

35 of 68 people (51%) answered Yes
Recently 1 of 10 people (10%) answered Yes

Entry

What are .afm files used for?
Does t1lib use font metrics files?
Do t1lib fonts use kerning information?

Jul 19th, 2004 23:24
Alder Rus, Nathan Wallace, http://www.directoryonclick.com , http://www.singapore-yellow-pages.com


It is very important to have .afm files for those PostScript fonts you
are using (it's mentioned in t1lib's docs and everybody using this
interface of PHP3 should really read those doc's too). Unless there are
font metrics files the library can find, it must construct them itself.
It takes some time (my testing says, between 1000-5000 more). And, if
there is kerning information in that .afm file, it will be 
automagically
used. In fact, there is no such option as 'turn kerning off'.