Use font without installing? - ID3DXFont
Hey,
I was wondering if there's any way to use TrueType fonts with ID3DXFont, without having installed them in Windows? If I have my own TrueType font and I would like people to play my game without needing to install the font - would I have to write my own font engine?
Thanks
You can use AddFontResource (GDI) to add it to the system font list and then use it as if it were installed. Call RemoveFontResource to remove it from the system list when your application is done.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement