Sign in to follow this  

Setting TabSize with ID3DXFont

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

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

This topic is 4595 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this