View Full Version : font display problem
08-19-2003, 02:17 AM
I using opengl with a win32 setup. My goal is to display text on screen in arabic font. I managed to display the text in other fonts but when it comes to arabic it doesn't work. I'm compiling in Unicode and am using all Unicode macros in my program. Any help is appreciated. I'm using the wglUseFontBitmaps function to craete the font bitmaps.
08-19-2003, 09:40 PM
Sorry, don't have a clue, but make sure you pass the correct min/max character values, I have no idea how many characters there are in an arabic font, also check for any error codes from the wgl... functions (getLastError)
[This message has been edited by mikael_aronsson (edited 08-20-2003).]
08-19-2003, 10:24 PM
08-20-2003, 04:22 AM
Do you mean that you have compiled the application as a true unicode application ?, if not, make sure that you call wglUseFontBitmapsW and not wglUseFontBitmapsA which is the default for non unicode applications.
08-20-2003, 04:27 AM
Yes, I compiled the application with the _UNICODE preprocessor directive but to no avail.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.