Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

kim-ryo

DX9SDK Update(2003 Summer),what is the change for ID3DXFont interface?

This topic is 5554 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,if ID3DXFont like CD3DFont,I wonder how could it start so fast with east asia characters support?For the CD3DFont would print the alphabet first~~~

In fact,I've done a sprite based font class:CD3DAdvFont,
to display chinese characters,but the "print alphabet"(about 6400 character,2 texture page) procedure cast much time when start-up.

[edited by - kim-ryo on September 27, 2003 1:41:03 AM]

Share this post


Link to post
Share on other sites
ID3DXFont doesn''t create a texture page like D3DFont. It makes them as it needs them with GDI, BUT it caches them. So the first time you call it it may be slightly slow in drawing, but the next time it will be very quick.

That''s why it has Preload* methods, it will create and cache those resources ahead of time for you.


Stay Casual,

Ken
Drunken Hyena

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!