Help with SDF Rendering
Stephan B. via FreeType users <[email protected]> Fri, 26 Aug 2022 00:51:39 -0600
| Newsgroups | gmane.comp.fonts.freetype.user |
|---|---|
| Message-ID | <[email protected]> |
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 FT_Render_Glyph(glyphSlot, FT_RENDER_MODE_SDF) appears to be rendering using BSDF. How do I instead generate the SDF from glyph outline? Regards,