Jump to content
  • Advertisement
Sign in to follow this  
jimmyh

Setting TabSize with ID3DXFont

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

Advertisement
Well in the dx help it says the default is 8, so from that i'd guess you could change it.

And no i can't use extra spaces....u ever try'd lining up fonts using true type fonts.

Share this post


Link to post
Share on other sites
Quote:
Original post by jimmyh
Well in the dx help it says the default is 8, so from that i'd guess you could change it.


I think that is because they copied it from the GDI DrawText documentation. There is another flag that the GDI version supports (and ID3DXFont apparently does not) that allows you to specify the tabsize as part of the flag parameter (DT_TABSTOP or something like that). You could try it, but I don't think it will work, since it was not listed as one of the valid flags.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!