Closed esoma closed 2 years ago
FT_RENDER_MODE_SDF
render
GlyphSlot
FT_Render_Glyph
There is no FT_LOAD_TARGET_XXX for SDF, so an api for FT_Render_Glyph is required to render an SDF. Not sure if this is an oversight in the freetype API or by design.
FT_LOAD_TARGET_XXX
Oh wait, you mean freetype has now a native SDF render mode? Since which version?
2.11 https://sourceforge.net/projects/freetype/files/freetype2/2.11.0/#readme
Fantastic!
FT_RENDER_MODE_SDF
flagrender
method toGlyphSlot
corresponding toFT_Render_Glyph
There is no
FT_LOAD_TARGET_XXX
for SDF, so an api forFT_Render_Glyph
is required to render an SDF. Not sure if this is an oversight in the freetype API or by design.