Hm, so how about the following:
* FT_LOAD_TARGET_LIGHT is changed to mean "Use native Y-only-snapping
with linear advances if driver and font supports it and Y-only
autohinter with linear advances otherwise". That's broadly comparable to
what happens on Windows with DirectWrite.
* FT_LOAD_INTEND_LINEAR_ALPHA_BLENDING_AND_GAMMA_CORRECTION is added so
that a rendering library or toolkit can express its' intent to do what
the flag says. This flag would then trigger stem darkening except the
library user wants color bitmaps out of the font or something. Other
caveats? What else would need to happen?
This would
1. provide something that works well now (CFF hinter for CFF fonts,
autohinter for everything else) and can be added to in the future (full
ClearType with linear advance widths support).
2. provide other libraries to make use of stem darkening as soon as they
enable/implement the feature. No user has to suffer heavy glyphs. And I
have more time to work on making stem darkening generic within FreeType.
Everybody wins?
_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel