I am currently using outlined fonts. They come out ugly and eat cpu time. I need your help.
::SelectObject( m_Hdc, m_HFont ); // Selects The Font We Created
::wglUseFontOutlines( m_Hdc, // Select The Current DC
0, // Starting Character
characters-1, // Number Of Display Lists To Build
m_base, // Starting Display Lists
0.0f, // Deviation From The True Outlines
0.2f, // Font Thickness In The Z Direction
WGL_FONT_POLYGONS, // Use Polygons, Not Lines
gmf ); // Address Of Buffer To Recieve Data
The m_HFont is created with these properties:
fp.nHeight = -24;
fp.nWidth = 0;
fp.nEscapement = 0;
fp.nOrientation = 0;
fp.fnWeight = 0;
fp.fdwItalic = false;
fp.fdwUnderline = false;
fp.fdwStrikeOut = false;
fp.fdwCharSet = DEFAULT_CHARSET;
fp.fdwOutputPrecision = OUT_TT_PRECIS;
fp.fdwClipPrecision = CLIP_DEFAULT_PRECIS;
fp.fdwQuality = ANTIALIASED_QUALITY;
fp.fdwPitchAndFamily = FF_DONTCARE|DEFAULT_PITCH;
fp.lpszFace = new char[ strlen("Times New Roman")+1 ];
Does anyone know away to make my fonts look better using the same outlined fonts? It has to be easily implemented bcause I have alot of work to get done.