On Mon, Jun 7, 2021 at 9:25 AM Anuj Verma <an...@iitbhilai.ac.in> wrote: > > > > Can this be accomplished by a public macro? Probably not, because the > > spread is not a public value, right? We can simply give an explicit > > formula in the docs. > > Yes, spread is not a public value. I have already added the pseudo code in > `freetype.h` near `FT_RENDER_MODE_SDF`. I think it should be good as > long as we don't change the output format.
We would not need to change the 8-bit "texture" output ever. However, non-symmetric spread with less on the inside, where there is less room in glyphs, might come useful. This, of course, changes the threshold value so that 8-bits are used proportionally rather than equally.