[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] figuring out where the baseline is
From: |
Werner LEMBERG |
Subject: |
Re: [ft] figuring out where the baseline is |
Date: |
Wed, 22 Aug 2012 07:34:41 +0200 (CEST) |
>> 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.
This is a wrong expectation.
> 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.
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.
Werner
- [ft] figuring out where the baseline is, edA-qa mort-ora-y, 2012/08/21
- Message not available
- Re: [ft] figuring out where the baseline is, edA-qa mort-ora-y, 2012/08/21
- Message not available
- Re: [ft] figuring out where the baseline is, edA-qa mort-ora-y, 2012/08/21
- Re: [ft] figuring out where the baseline is,
Werner LEMBERG <=
- Re: [ft] figuring out where the baseline is, edA-qa mort-ora-y, 2012/08/22
- Re: [ft] figuring out where the baseline is, Wojciech Mamrak, 2012/08/22
- Re: [ft] figuring out where the baseline is, Werner LEMBERG, 2012/08/22
- Re: [ft] figuring out where the baseline is, Wojciech Mamrak, 2012/08/22
- Re: [ft] figuring out where the baseline is, edA-qa mort-ora-y, 2012/08/22
- Re: [ft] figuring out where the baseline is, Werner LEMBERG, 2012/08/22
- Re: [ft] figuring out where the baseline is, edA-qa mort-ora-y, 2012/08/23
- Re: [ft] figuring out where the baseline is, Werner LEMBERG, 2012/08/30