When using writeToStream() method, does it write all possible style flags? I serialize a typeface by name, write it to a file, add that file as a resource (using JUCER) and use that Typeface (create a new font from it). it works, untili i try to set the Bold flag, then the Graphics class falls back to a default typeface. The same font used from within JUCER on a Label has all the bold/italic flags.
So my question is. Should i write 4 versions of a typeface to 4 different files (each with a different set of flags) and use them, if so - how (setCharacteristics()? perhaps) ? Is there a way to serialize all possible variations into one file/stream and use that?
or am i just missing the point completly.