rougier / freetype-py

Python binding for the freetype library
Other
304 stars 88 forks source link

Add support for SDF rendering. #141

Closed esoma closed 2 years ago

esoma commented 2 years ago

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.

rougier commented 2 years ago

Oh wait, you mean freetype has now a native SDF render mode? Since which version?

esoma commented 2 years ago

2.11 https://sourceforge.net/projects/freetype/files/freetype2/2.11.0/#readme

rougier commented 2 years ago

Fantastic!