Skip to main content
GameDev.net gamedev.net
🔒 Locked

Direct3d Font question

Started by BreathOfLife Jul 20, 2008 at 5:43 PM 0 replies 650+ views
Original Post
BreathOfLife
BreathOfLife
OK, so I have a simple text outputting app created (with directx9 and C++) , and was wondering, for each different size/font of text do I need a seperate font device? I mean I can change the text color with each use of the DrawText function, but none of the paramaters seem to have anything to do with changing font/size.
Buckeye
Buckeye
From the SDK:
Quote:
The ID3DXFont interface encapsulates the textures and resources needed to render a specific font on a specific device.

That indicates you need 1 font object for each combination of size, face, pitch, etc.


Please don't PM me with questions. Post them in the forums for everyone's benefit, and I can embarrass myself publicly. You don't forget how to play when you grow old; you grow old when you forget how to play.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.