Page 1 of 1

Font Properties

Posted: Mon Apr 16, 2007 12:47 pm
by joaco182
I have a pfb (Printer Font Binary) file that I want to get width, height, ascent, descent, vertical advance properies from. I know there is a java package ( http://java.sun.com/j2se/1.4.2/docs/api ... ontMetrics .html) for this, but does anyone know of a PHP solution?

Posted: Mon Apr 16, 2007 7:00 pm
by RobertGonzalez
Perhaps you can do something with http://www.php.net/imagefontwidth and related functions.