Advertisement

Outline font bug??

Started by January 11, 2006 06:46 PM
1 comment, last by Kerkhoff 18 years, 7 months ago
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!!
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.
Advertisement
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...

This topic is closed to new replies.

Advertisement