I am currently going through some trouble using fonts in VSTGUI. What I want to achieve is to use arbitrary TTF fonts in VSTGUI-based plugin editors without the need of having them installed in the system.
On Mac OS, I have managed to access the fonts by manually registering them to the operating system using the command CTFontManagerRegisterFontsForURL. That works perfectly fine.
How to do that on Windows? I am only able to use fonts that are stored in the system fonts folder. Is it possible to directly register fonts contained in the Resources that are compiled using a resource compiler, as we use PNG graphics from the resources by using FindResourceA in file win32support.cpp?
Thanks in advance,