|
From: | Nikolaus Waxweiler |
Subject: | Re: [ft-devel] [ftgrid] Display rendered bitmap (new feature). |
Date: | Wed, 9 Mar 2016 23:07:21 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
This is where you can read about text layout and interplay between advance, lsb_delta, and rsb_delta.
Ok, so after also reading http://freetype.org/freetype2/docs/tutorial/step2.html#section-1:
"linearHoriAdvance: [...] Indeed, the value of metrics.horiAdvance that is returned in the glyph slot is normally rounded to integer pixel coordinates (i.e., being a multiple of 64) [...]"
1) advance.x (== metrics.horiAdvance) is purely important for pixel placement? 2) Layout engines use "linearHoriAdvance" to compute layouts?3) How are fractional advance widths realized (like DirectWrite can do them)?
[Prev in Thread] | Current Thread | [Next in Thread] |