Advertisement

I can't get my font size to change??

Started by December 09, 2005 01:07 PM
11 comments, last by vivekd 18 years, 10 months ago
Ahh yes 3D fonts , well i geuss i'll just have to load certain fonts and there sizes into memory at startup, and use those.

Thank you for your time and information.
We can forgive a man for making a useful thing as long as he does not admire it. The only excuse for making a useless thing is that one admires it intensely.-- ? --
font = CreateFont(-24,0,0,0,FW_BOLD,false,false,false,ANSI_CHARSET,
OUT_TT_PRECIS,CLIP_DEFAULT_PRECIS,ANTIALIASED_QUALITY,
FF_DONTCARE | DEFAULT_PITCH,"Courier New");
change the
-24
to the SIZE you want
i like the -14
it looks good
Advertisement
But what if i want to apply a particular size to any font? How can I know the initial size before applying glScale()?

This topic is closed to new replies.

Advertisement