[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Stem darkening toggling API
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] Stem darkening toggling API |
Date: |
Fri, 24 Feb 2017 09:17:04 +0100 (CET) |
>>>> I do NOT see that LCD filtering per face is a good idea, because
>>>> color fringes are accentuated when stem thickness is 1/3, 2/3,
>>>> 4/3... of a pixel and hidden at exact pixels. So it is hard to
>>>> pin them on a specific font weight. Plus a good filter works for
>>>> all situations. I do not think this feature is useful.
>>>
>>> I don't think a per-face filter is necessary, I just added it to
>>> help with multithreading. Each face has its' own set of options
>>> and it can be used by the owning thread without holding a mutex on
>>> FT_Library.
>>
>> Please check the documentation; maybe it can be improved.
>
> Is the problem that we require FT_LIbrary_SetLcdFilter to enable
> filtering? Could we just enable it by default as long as
> FT_CONFIG_OPTION_SUBPIXEL_RENDERING is defined? Than we can provide
> fancy ways to disable it.
I don't see how this makes a difference. Please elaborate.
Werner