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: Wojciech Mamrak
Subject: Re: [ft] figuring out where the baseline is
Date: Wed, 22 Aug 2012 10:35:17 +0200

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

http://en.wikipedia.org/wiki/Em_%28typography%29
http://www.freetype.org/freetype2/docs/glyphs/glyphs-2.html

2012/8/22 edA-qa mort-ora-y <address@hidden>:
> 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.
>
>
> _______________________________________________
> Freetype mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/freetype
>



reply via email to

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