This can avoid unneccessary rasterization. (see #643) In one demo, where I am using glyph measurements quite a lot, I could get 360fps instead of 330fps with this change.
I also added two functions fons__tt_getGlyphRenderFlags and fons__tt_setGlyphRenderFlags so that flags like FT_LOAD_TARGET_LIGHT for rasterization can be set or unset and don't have to be compiled in.
This can avoid unneccessary rasterization. (see #643) In one demo, where I am using glyph measurements quite a lot, I could get 360fps instead of 330fps with this change.
I also added two functions
fons__tt_getGlyphRenderFlags
andfons__tt_setGlyphRenderFlags
so that flags likeFT_LOAD_TARGET_LIGHT
for rasterization can be set or unset and don't have to be compiled in.