rougier / freetype-gl

OpenGL text using one vertex buffer, one texture and FreeType
Other
1.65k stars 266 forks source link

Batch font loading across multiple glyph loads #248

Closed michaeltyson closed 3 years ago

michaeltyson commented 3 years ago

This avoids loading the font every time for each glyph when loading multiple glyphs at once using texture_font_load_glyphs.

It also avoids loading the font when a glyph has already been loaded.

michaeltyson commented 3 years ago

Closing this one as I believe it's already covered in https://github.com/rougier/freetype-gl/pull/169