On Thu, Nov 12, 2015 at 11:14 PM, Werner LEMBERG <w...@gnu.org> wrote: >> 1) Switch on stem darkening > > This is non-trivial. I've always considered properties of a driver as > global – consequently, they reside directly in the driver module, > being part of an `FT_Library' object, and *not* being part of > `FT_Face'. In other words, if you want to modify a property, you have > to close all faces, do the change, then reload everything. > > Actually, I still think this assumption is valid: A display engine > either does does linear blending, or it doesn't. Consequently, it > should initialize FreeType accordingly before starting to load any > faces. > >> 2) Change the default LCD filter weights as recommended on >> http://www.freetype.org/freetype2/docs/reference/ft2-lcd_filtering.html > > Similarly, the display engine should initialize this – the LCD filter > weights also reside in the `FT_Library' object and are thus global to > all `FT_Face' objects. > >> - FT_LOAD_LINEAR (probably too vague) > > What exactly should this flag do, besides the above two things (which > I consider inappropriate for `FT_Load_Glyph')?
Okay, I agree with this. So would you rather have a new function operating on FT_Library that controls linear light mode? I think the smooth rasterizer already produces coverage maps in linear space? How does gamma-correct rendering (not blending) work right now? _______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel