Jump to content
  • Advertisement

Archived

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

ID3DXFont::GetGlyphData : Glyph == Ascii?

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

Why doesn''t the GetGlyphData method work correctly? Do I need to offset the Glyph input integer by a certain amount to specify the ascii value? Whats the difference between a glyph value and an ascii value? Some other thing I''m overlooking? Thanks for any help!

Share this post


Link to post
Share on other sites
Advertisement
Nope.. the glyph index is not necessarily related to the ascii value. If you want to learn about them, the MSDN GDI docs are a good place to start.

xyzzy

Share this post


Link to post
Share on other sites
I would rather just have a GlyphToAscii method

But I guess I can go research on Microsoft com. Thanks for the only reply!

Share this post


Link to post
Share on other sites
I''ve managed to get it working by starting at space '' '' = glyph index 3.

Is this always true, or just for this font?

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!