I've got code to load an embedded font using the createSystemTypefaceFor() function, which works fine on OSX and Linux.
However, the very same code and font file do not create the expected font, on Windows.
I suspect that the problem has to do with me using an OTF font. In any event, the code looks like:
Typeface::Ptr tface = Typeface::createSystemTypefaceFor(fntdata->buf, fntdata->len); Font *f = new Font(tface);
(clearly, 'fntdata' is my own buffer class, but that's not important).
The font which I'm using is "Quicksand Light" from here: http://www.fontsquirrel.com/fonts/quicksand