Hi all,
I tried to get antialiased bitmap without any success -
it’s always non-antialised, e.g. with:
++++++++++++++++++++++++++++++++++++++++
PIXELFORMATDESCRIPTOR pfd = {
sizeof(PIXELFORMATDESCRIPTOR), 1,
PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL |
PFD_SUPPORT_GDI | PFD_GENERIC_FORMAT,
PFD_TYPE_RGBA, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
32, 0, 0, PFD_MAIN_PLANE, 0, 0, 0, 0};
HFONT font = CreateFont(-18, 0, 0, 0, FW_NORMAL, FALSE,
FALSE, FALSE, ANSI_CHARSET, OUT_TT_ONLY_PRECIS,
CLIP_DEFAULT_PRECIS, ANTIALIASED_QUALITY,
FF_DONTCARE | VARIABLE_PITCH, “Arial”);
SelectObject(currentHdc, font);
int base = glGenLists(256);
wglUseFontBitmaps(currentHdc, 0, 255, base);
++++++++++++++++++++++++++++++++++++++++++
Are there other configurations necessary or
is it not possible to get antialiased fonts
using wglUseFontBitmaps() in principle?
Many thanks for all comments.
Ralf