[Top][All Lists]

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

Re: [ft-devel] Turning off stem darkening by default until all drivers s

From: Jan Alexander Steffens
Subject: Re: [ft-devel] Turning off stem darkening by default until all drivers support it?
Date: Fri, 13 Nov 2015 00:04:05 +0100

On Thu, Nov 12, 2015 at 11:14 PM, Werner LEMBERG <address@hidden> 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
> 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?

reply via email to

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