Reference Codebot.Render.FontStash.pas
Part of the Codebot Render package
The Codebot.Render.FontStash unit is a Pascal port of fontstash by Mikko Mononen. It caches glyphs drawn by Codebot.Render.TrueType in a texture atlas and produces textured quads for drawing text. Strings are UTF-8. fontstash is licensed under the zlib license.