Font Properties

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
joaco182
Forum Newbie
Posts: 1
Joined: Tue Aug 31, 2004 12:30 am

Font Properties

Post 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?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Perhaps you can do something with http://www.php.net/imagefontwidth and related functions.
Post Reply