Re: Help with SDF Rendering

2022-08-27 Thread Werner LEMBERG
>I would like to get more information on how to set the spread for >SDF Rendering. [...] Please have a look at the `ftsdf` demo program, which should answer (most of) your questions. https://gitlab.freedesktop.org/freetype/freetype-demos/-/blob/master/src/ftsdf.c Werner

Help with SDF Rendering

2022-08-26 Thread Stephan B . via FreeType users
Hi! I would like to get more information on how to set the spread for SDF Rendering. Can you provide a simple example of that? Next, I am also trying to render SDF from glyph outline. Using FT_Load_Glyph(m_Face, glyphIndex, FT_LOAD_DEFAULT); And then