PDA

View Full Version : How to Draw Chinese Font on OpenGL Window



amhigh
02-21-2002, 06:48 PM
Hi, Everyone:

I study how to draw font from http://nehe.gamedev.net/tutorials/lesson14.asp , and I try to change the ANSI_CHARSET TO CHINESEBIG5_CHARSET, and the "Comic Sans MS" to one of the Chinese Font name in my computer, and change the "NeHe" in glPrint to two Chinese Characters, it compiles ok, but did not show the Chinese Font on the Screen. My questions:
1>How can I draw Chinese Fonts on OpenGL Window?
2>How can I get the outline (the line segments) of the Font I draw on the Screen?
(ie, if I draw "O", how can I get those line segments which draw "O" on the screen? Also, if I draw any Chinese Font, will it be different?)

Thanks for all help.