Jump to content
  • Advertisement
Sign in to follow this  
storage

[.net] [MDX] Direct3D.Font from IO.Stream

This topic is 4342 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

Is it possible to somehow load a font from a stream to a Direct3D font? I've been trying, but I have not found any built-in way to do it. Could someone please shed some light on this, please? :)

Share this post


Link to post
Share on other sites
Advertisement
You need to create a System.Drawing.Font first. However, I tried loading a Font from file, but I couldn't find a way to actually load it.

I think in a worst case scenario, you'll have to load the Font using a Win32 function call, and marshall that into a Font object, but I have no idea how to do that.

If you find out, let me know, since I was looking for the same thing.

Toolmaker

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!