On Mon, 3 Jul 2017 09:16:42 +0200, Satz Klauer wrote:

> I'm a bit lost with the description of different heights in a font. So
> when I want to get the nominal height of a fonts line to calculate the
> distance which is needed for a carriage return/line break to continue
> in next line - which parameter/structure member is responsible for
> this?

This would be the “height” in the Size_Metrics fields.

Bear in mind this may be less than the ascender + descender. It is a
value chosen by the font designer for optimum line spacing.

It is quite common to adjust this value when laying out text, e.g. use
a bigger value for “loose leading”, or a smaller one for “tight
leading”. It depends on the effect you want to achieve.

(That’s ”leading” as in “lead” the metal, not as in the opposite of
“follow”.)

_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to