View Full Version : How to use OpenGL to render Unicode fonts?

06-01-2004, 01:46 AM
How can I display Unicode fonts using glCallLists? :)

The version I have works only for ANSI fonts but not for Unicode :(

Source Code would in favour :)

06-01-2004, 02:38 AM
Hi !

Do you need a platform independant solution or are you using a specific OS ?

If you use windows I belive the wgl font functions work just fine with unicode if you just have enough memory to handle the fonts.


06-01-2004, 02:40 AM
The solution must not be platform-independent.
The program should only run on Windows XP and 2000. ;)

06-01-2004, 03:21 AM
I can send to you my font classes. It is capable to create texture from any windows font with requested codepage, size, bold, italic, underline.
ShowStr function renders text and take care of kerning and spacing.


06-04-2004, 06:29 AM
Wow. I'm pretty interested in that. Can you spend some time explaining how did you make it work?
Unicode is something unclear to me.

06-07-2004, 06:47 AM

Unfotunately the classes don't work with Unicode text :(

I just need to know how to draw Unicode (wide character) text strings. I would be glad if someonce could post sample code that shows how to do that. :)