[prev in list] [next in list] [prev in thread] [next in thread] 

List:       imagemagick-user
Subject:    Re: Fontmetrics
From:       Daniel Axtell <daxtell () amanto ! com>
Date:       2001-03-31 22:16:39
[Download RAW message or body]

Basically I'm looking for something like (in Perl):

$text_len = FontWidth('some text', 'font.ttf', 14);

where font.ttf is the font file and 14 is the pointsize.

I guess I'll have to find some way to use libttf from Perl; I was
wondering if ImageMagick had anything like that.  I guess not.

Thanks,

Dan



***********************************************************************
To remove yourself from this mailing list, send mail to:
	majordomo@imagemagick.org

Include the following command in the body of your message:
	unsubscribe magick-user
***********************************************************************

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic