I want to serialize some fonts in my executable’s data section.
I’ve used Typeface::serialise() but I noticed it only stores the glyphs that have been used before with getGlyph().
After digging a bit, I discovered it’s using a cache…
However initialiseTypefaceCharacteristics() has the parameter I need (addAllGlyphsToFont).
would it be possible to make it public ?
or maybe to use it to fill the typeface in the serialise() function ?
It is not that important as it is not application time,
but the ugly technique using a for() loop is taking ages …