htext is the text layouting package extracted/decoupled from heaps engine as independent library to use with any other (primarily GPU-based) engines.
- Original engine features to handle xml-based markup with support of
<b>
,<p align="left|center|right|multiline-right|multiline-center">
,<i>
,<font face="font-name", scale="1">
,<br/>
. - Incapsulates font format details under IFont interface which make it able to deal with fonts in different formats. Provided implementations are fnt generated by fontgen and VALIS-software GPUtext
In few words, htext provides classes to take texture, font description and (optional marked up) text and generate quads with associated UVs. For more details see dummy example for openfl. More complex demo involved msdf-shader, complex layouts and interactivities depends on several other my libraries and awaits when them will be cleaned up and published.
- provide api to handling custom tags
- demo with multi-page atlas
- my fork of fontgen which was used to generate atlas in the demo