Jump to content
  • Advertisement
Sign in to follow this  
Kerkhoff

Outline font bug??

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

Hi, I have downloaded the lesson 14, with outline fonts, I changed the output text to some work with accents and like I thought, the GLYPHMETRICSFLOAT gets nuts... (test strin = "Test àçê?õá") = ( how can I workaround this problem?? and How can I get the text width if I use the gluOrtho2d? using the GLYPHMETRICSFLOAT, it give me the dimensions as the max coordinates being [-1, 1] Thanx!!

Share this post


Link to post
Share on other sites
Advertisement
sorry but not all characters can be renderd using outline fonts.
try bitmap fonts instead and replace some characters with those you want.
Or don't use them at all.

Share this post


Link to post
Share on other sites
but I rendered it using outline fonts in my engine

just the GLYPHMETRICSFLOAT doesn't work...

I'm using the GetTextExtent32 (I'm not sure that this is the right name) to do this job...

thanx...

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!