[Top][All Lists]

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

[ft] default_weights analogue for normal (grayscale) AA

From: Yan Pepel
Subject: [ft] default_weights analogue for normal (grayscale) AA
Date: Sat, 18 Jan 2020 03:26:44 +0000

Hi all.

I'm trying to darken/embolden fonts. I found out that people often patch
the `default_weights` const to accomplish that[1] (see src/base/ftlcdfil.c).
I've changed the const in this way:

static const FT_LcdFiveTapFilter default_weights =
               { 0x28, 0x50, 0x64, 0x50, 0x28 };

As a result LCD-antialiased fonts look just perfect on my monitor:

Now I want to darken/embolden fonts that are rendered using the normal
(grayscale) AA. How do I do that? Which const should I tweak?


reply via email to

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