Changing width and height of text letters

how to increase the size of text letters in OpenGL? how to change the width and height of them?give some example code…

Originally posted by raghu:
how to increase the size of text letters in OpenGL? how to change the width and height of them?give some example code…

Example code can be found here:
http://www.google.com

Originally posted by nutball:
[b] Example code can be found here:
http://www.google.com

[/b]

i am not able to get it thru the google search ? can u please help me ?

Well, opengl has no direct support for fonts, so you’ll have to tell us how you draw the fonts first.

Originally posted by zen:
Well, opengl has no direct support for fonts, so you’ll have to tell us how you draw the fonts first.

thanks for the reply…
i have drawn letters using
GLUT_BITMAP_TIMES_ROMAN_24 but i still
need to increase the size of the font
what i have to do ? please tell me the procedure…

I don’t have much experience with bitmaps but I think glPixelZoom would do the job.Take a look at the man page to see how it works.The results will not look good though because bitmaps don’t scale well.You may want to use another technique.Take a look at this .

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.