03-28-2003, 08:46 PM
Can I use glRasterPos and wglUseFontOutline to create a chinese character? How can I create a glyph at any positon?
03-29-2003, 07:09 AM
You can't use glRasterPos with outline fonts, it only works on bitmaps, created by wglUseFontBitmap or something like that. Outline fonts are placed by glTranslatef, just like any other geometry. If you like to place them by window coordinates, set up an orthographic projection with same dimensions as you window. In practice
gluOrtho2d(0, window_width, 0, window_height)
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.