nanogui: Big font size
Subject:
Big font size
From:
CésarCarrasco ####@####.####
Date:
5 Jun 2001 12:17:25 -0000
Message-Id: <3B1CCDBD.3306760A@vtools.es>
Hello all:
I am trying to create a new font with the function call:
CreateFont (15 /*nHeight*/, 0 /*nWidth*/, 0 /*nEscapement*/,
0 /*nOrientation*/, 700 /* fnWeight */,
0 /*fdwItalic */, 0 /*fdwUnderline */,
0 /*fdwStrikeOut*/, DEFAULT_CHARSET/*fdwCharSet*/,
OUT_DEFAULT_PRECIS /*fdwOutputPrecision */,
CLIP_DEFAULT_PRECIS /*fdwClipPrecision */,
DEFAULT_QUALITY/* fdwQuality */,
FF_DONTCARE | DEFAULT_PITCH /*fdwPitchAndFamily*/,
"arial"/*lpszFace*/);
I would like to create a font as big as possible. Is there any upper
limit for font size? What is the biggest available one?
Changing nHeight=15 to a larger number (such nHeight=20) does not result
in a bigger font on screen.
I have linked my application with libraries -lmwin -lmwinlib -lmwengine
-lmwdrivers -lmwfonts -lmwimages -lm. I built these libraries by
selecting:
I/O -> Have freetype support
I/O -> Have t1libsupport
Miscellaneous options -> Have MS fonts
Best regards. Thanks.