Jump to content
  • Advertisement
Sign in to follow this  
andyb716

multiple ID3DXFonts?

This topic is 5471 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I want to make a couple fonts for my game, but when I try to DrawText with more than one it gives me a memory not referenced error.

Share this post


Link to post
Share on other sites
Advertisement
Hrm. That works for me. Or rather, I've called D3DXCreateFont twice [two different sizes for the same font] and they both render properly.

Share this post


Link to post
Share on other sites
It shouldn't matter whether you use D3DXCreateFontIndirect or D3DXCreateFont.

The MSDN search leaves a lot to be desired. Try searching for CreateFont, it's a GDI call.

Share this post


Link to post
Share on other sites
I got it to work, now I can use as many fonts as I want. I don't what I was doing or what I did to make it work, and that sucks cause I dont want to do the same thing in the future. thanks for your guys help.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!