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: Wed, 22 Aug 2012 07:49:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0

On 22/08/12 07:34, Werner LEMBERG wrote:
>> That is, I set the height of the font to 32, thus I expect all
>> glyphs to fit within a height of 32.
> This is a wrong expectation.

This is actually another question I suppose. What are the sizes I'm
specifying when I make a size request? Somehow they must relate to the
final size but I'm not sure how. Perhaps this is all that I'm missing.

> As mentioned many times on this list, the *only* way to get a smallest
> bbox for a string of glyphs at a certain resolution is to call
> FT_Load_Glyph for each glyph so that hinting instructions get applied.

I don't need an exact size, nor do I need to worry about glyphs that go
beyond a typical bounding box. I'm interested only in the typical
metrics. If you're saying there is no such thing then fine, it means I
have to render the glyphs twice.

-- 
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]