View Full Version : How to use OpenGL to render Unicode fonts?
06-01-2004, 12: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, 01:38 AM
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, 01:40 AM
The solution must not be platform-independent.
The program should only run on Windows XP and 2000. ;)
06-01-2004, 02: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.
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, 05: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. :)
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.