[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Stem darkening toggling API
From: |
Alexei Podtelezhnikov |
Subject: |
Re: [ft-devel] Stem darkening toggling API |
Date: |
Thu, 23 Feb 2017 09:35:52 -0500 |
On Thu, Feb 23, 2017 at 12:33 AM, Werner LEMBERG <address@hidden> wrote:
>
>>> 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.