Showcase » Text Example

Show­case of Mag­num dis­tance-field text ren­der­ing. In­stead of ren­der­ing the glyphs for each size the glyphs are pr­er­endered and con­ver­ted in­to signed dis­tance field tex­ture. The tex­ture is then used for ren­der­ing the text. Both glyph pr­er­en­der­ing and the ac­tu­al text lay­out­ing sup­ports UTF-8. For mut­able text, buf­fer map­ping is used.

Initialization...