LCD filtering changes

Alexei Podtelezhnikov <[email protected]> Sat, 24 Jan 2026 10:09:30 -0500
Newsgroups gmane.comp.fonts.freetype.devel
Message-ID <CAJU=AjX979Zzz0-A-Yq2tYYt2uvqcj_Od7Bx0_M8gYF4MjqE5Q@mail.gmail.com>
Hi all,

From  https://gitlab.freedesktop.org/freetype/freetype/-/merge_requests/413

  - Several  changes  related  to  LCD  filtering  are implemented  to
    achieve better performance and encourage sound practices.

    . Instead of  blanket LCD filtering over the entire bitmap,  it is
      now applied only to non-zero spans using direct rendering.  This
      speeds up the ClearType-like rendering by more than 40% at sizes
      above 32 ppem.

    . Setting the filter weights with FT_Face_Properties  is no longer
      supported.  The default and light filters  are optimized to work
      with any face.

    . The legacy libXft LCD filter algorithm is no longer provided.

Please comment here or on the merge request.

Thanks
Alexei