currently i am trying to load some custom TTF font files and as far as i know there is quite a number of possibilities to do that.
In the API DOCU i read:
If what you want to do is to embed a font into your exe, then your best plan is probably to embed your TTF/OTF font file into your binary using the Introjucer, and then call Typeface::createSystemTypefaceFor() to load it from memory.
I know that there is a "Resource" tab in the introjucer if your .cpp/.h file is a "GUI Component".
For each added resource the Introjucer extends your header file with variables to access them.
In my case i want to access these fonts from a class which is not a "GUI Component".
So i copied the font files to the Project Directory, added them with "Add Existing Files...." and used the "Add to Binary Resources" checkbox.
Now the question is:
How can these embedded resources be accessed?
Thanks for you help,