Using font from ttf file in windows / direct3d

I am 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 the font that I have in the TTF file instead of the installed font. Is there a way to create a font object from a TTF file without first installing the font in windows that I don't want to do?

+3
source share
1 answer
+4
source

Source: https://habr.com/ru/post/1704972/


All Articles