freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] How to compute the baseline for for a font face?


From: Lawrence D'Oliveiro
Subject: Re: [ft] How to compute the baseline for for a font face?
Date: Wed, 19 Apr 2017 14:13:06 +1200

I wrote:

> You want the FT_Face descender value
> <https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_FaceRec>.
> 
> But be aware that this value, like the rest of the font metrics, is
> set by the font designer to make the text lines look good overall, it
> won’t necessarily guarantee that the text won’t get clipped.

Or maybe not. I think it was the Size_Metrics I was thinking of. These
values are probably accurate, since they bound the limits of the area
that need to be rendered by the rasterizer.



reply via email to

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