• Advertisement
Sign in to follow this  

NeHe lesson 13 - Bitmap Fonts

This topic is 3420 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 all, I was wondering how can i get accented characters using bitmap fonts? using the lesson 13 code, if i try to print "olá" it will only show up "ol"... Any ideas? thanks Julien

Share this post


Link to post
Share on other sites
Advertisement
I liked that tutorial a lot when first learning GL. And there is plenty which you can evolve over time. Anyway...

//change this line
wglUseFontBitmaps(hDC, 32, 96, base); // Builds 96 Characters Starting At Character 32

//to this
wglUseFontBitmaps(hDC, 32, 256-32, base); // Builds 256-32 (224) Characters Starting At Character 32

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement