[Development] Font rendering on X11/Wayland: New FreeType API to toggle LCD filters and stem darkening on a per-font basis, would love a review

Nikolaus Waxweiler madigens at gmail.com
Sun Nov 27 15:13:40 CET 2016


> Note, we need a FreeType API for getting to the module-name from the face, or 
> a direct getter of the stem-darkening on the face. 

Werner had this to say:

> Get the font format with `FT_Get_Font_Format'; the returned string can
> then be mapped to the corresponding module name.
> 
>   CFF      -> cff
>   TrueType -> truetype
> 
> For the auto-hinter this doesn't work, of course, since it is
> completely agnostic of the font format.



More information about the Development mailing list