i try to use custom, embeded fonts, but it does not work.
I have uses the FontSerializer and with the BinaryBuilder i have created the .cpp and .h file. That files I have included in my project and like to use that font e.g. for a label text.
Here a sample code (i found in the forum).
Font* myNewFont = NULL;
MemoryInputStream font_stream(MyFont::MyFont_ttf, MyFont::MyFont_ttfSize, false);
Typeface* typeFace = new CustomTypeface (font_stream);
myNewFont = new Font (typeFace);
But the label did not use this font to render the text.
What do I wrong?