freetype
[Top][All Lists]
Advanced

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

Re: [ft] figuring out where the baseline is


From: edA-qa mort-ora-y
Subject: Re: [ft] figuring out where the baseline is
Date: Tue, 21 Aug 2012 23:40:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0

On 21/08/12 23:35, Patrick Baggett wrote:
> Ah, do you need to render the glyph to get it's bbox?

Yes/no. I need to know the maximum top/bottom of the bounding box for
the entire font face.

That is, I set the height of the font to 32, thus I expect all glyphs to
fit within a height of 32. I call Render_Glyph and then access the
metrics. I don't see anyway from those metrics that I can determine
where in a 32 high box the glyph should be placed.


-- 
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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