Jump to content

  • Log In with Google      Sign In   
  • Create Account


Direct3D10 howto load font from file or resource


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 mipper   Members   -  Reputation: 100

Like
0Likes
Like

Posted 26 January 2012 - 10:02 AM

Hello Everyone,

I'm trying to find a way to initialiize a SlimDX.Direct3D10.Font instance by loading a font.ttf from file.
It seems that Direct3D9.Font had an overloaded constructor that accepted System.Drawing.Font which could be loaded via PrivateFontCollection.AddFromFile.


How does one do this in Direct3D10?

Can someone point me in the right direction?


The context of the question is that I don't want to install the font. Instead it should be part of my app or within a resource file.


Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS