Snap! Websites
An Open Source CMS System in C++
The ftmesh project is used to read a font and transform it in a list of triangles (i.e. ft → font; list of triangles → mesh).
The handling and math are based on the ftgles project.
The library loads FreeType fonts or any other font supported by the FreeType library and which supports vectors. It then transforms the polygons in meshes. A single character may be represented by multiple meshes; for example, the character "i" has a dot which has to be a separate mesh to work as expected.
The advance in a string takes the kerning in account if present.
Note: the library ...
Snap! Websites
An Open Source CMS System in C++