I'm using direct3d 9 and using D3DXCreateFont to create a font object that I can use to write text to the screen. However I want to use a font I have in TTF file instead of an installed font. Is there any way to create a font object from a TTF file without first installing the font into windows which I don't want to do?
+3
A:
Try using the AddFontResourceEx Function.
re: MSDN Font Installation and Deletion
Jim H.
2009-03-18 15:57:57
Ah that was easy once you know what to look for, thank you for the reply.
John Burton
2009-03-18 16:01:24