Lesson: 13 Changing font size?
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.
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.
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
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement