freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft] BBox question


From: Michele Petrazzo
Subject: [ft] BBox question
Date: Thu, 11 Aug 2005 18:07:37 +0200
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Another simple question (but I'm crazing... :) )
I load truetype font, a face, and a character. Set size. I want to know
its Bbox, so the width and height in pixel size.
(with another tool I see that Arial font with 50 dimension and 96
resolution, the size is 19 x 75)

For width, is simple: face->glyph->advanced.x / 64  = 19 (right)
And for height? I try to translate to pixel size all the face/glyph
dimension,( face->bbox, face->size->matrix, etc..) but I cannot find the
"75" value.
Can someone point me to the right direction?

Thanks,
Michele




reply via email to

[Prev in Thread] Current Thread [Next in Thread]