Hi,
I use the function:
int CreateFontBitmaps(HDC hdc, char* fontname, int height, int weight, DWORD italic)
{
int base;
HFONT font;
if ((base = glGenLists(256)) == 0) return 0;
font = CreateFont(height, 0, 0, 0, weight, italic, false, false,
ANSI_CHARSET, OUT_TT_PRECIS, CLIP_DEFAULT_PRECIS, ANTIALIASED_QUALITY,
FF_DONTCARE| |DEFAULT_PITCH, fontname);
SelectObject(hdc, font);
wglUseFontBitmaps(hdc, 32, 256, base);
return base;
}
to create a bitmap font, but it doesn’t seem to be antialiased. Why? I set ANTIALIASED_QUALITY.
thanks in advance