🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

font underline -lessons 13 and 14

Started by
1 comment, last by seabreeze1586 17 years, 11 months ago
Hi! After going through NeHe's Lessons 13 and 14, I tried making random changes to get more in touch with all the bulk of code. One feature I was unable to get working though was in the function GLvoid BuildFont(GLvoid) { ............ TRUE, // Underline ............ } This was provided as false by default, but when i set it to true I see no changes. This problem isn't only with my version, I downloaded the code from the website, but was also unable to get the underline function to work. For some reason, it does work in lesson 13 though. Anybody willing to help me? :) Thanks! sea :)
Advertisement
It's simple, wglUseFontOutlines (used in lesson 14) ignores a lot of paramaters in the virtual font created with CreateFont.
This is why you can't get underline font's.
ohh. I see
thanks!

This topic is closed to new replies.

Advertisement