Advertisement

Lesson: 13 Changing font size?

Started by July 17, 2004 12:30 AM
4 comments, last by crazy_andy 20 years, 4 months ago
hey in lesson13 does anyone know how to change the font size it well draw at? i tryed changing the font = CreateFont( -24, in GLvoid BuildFont(GLvoid) but that didnt do anything :( any ideas?
Is it the tutorial that uses FreeType? Try using positive numbers for the size.

That tutorial calculates the size for the quad using the width and height of the glyph bitmap generated by freetype.
[size="2"]I like the Walrus best.
Advertisement
not luck :(...hey do you think that glscale function would work? if so what is it? like GlScalef(.. or what?
thanks in advanced

edit: Never mind that did work :D i just didnt compile right :D
let me see which tutorial you're talking about...
[size="2"]I like the Walrus best.
Quote: From the lesson 13
[...] Nothing will change the size of the text. Not even glScalef(x,y,z). If you want the font bigger or smaller, make it bigger or smaller when you create it! [...]


EDIT: good then :)
[size="2"]I like the Walrus best.
i had the same problem, and came to the same conclusion and used the glScalef command, modifying the sub.
www.stickskate.com -> check it out, some gnarly stick skating movies

This topic is closed to new replies.

Advertisement