change logfont quality to FreeType mode conversion. Patch by tinus.
Modified: trunk/reactos/subsys/win32k/objects/text.c
_____
Modified: trunk/reactos/subsys/win32k/objects/text.c
--- trunk/reactos/subsys/win32k/objects/text.c 2005-03-07 01:26:25 UTC
(rev 13865)
+++ trunk/reactos/subsys/win32k/objects/text.c 2005-03-07 01:40:01 UTC
(rev 13866)
@@ -427,18 +427,14 @@
{
switch(logfont->lfQuality)
{
- //case ANTIALIASED_QUALITY:
- case DEFAULT_QUALITY:
- return FT_RENDER_MODE_NORMAL;
+ case NONANTIALIASED_QUALITY:
+ return FT_RENDER_MODE_MONO;
case DRAFT_QUALITY:
return FT_RENDER_MODE_LIGHT;
- //case NONANTIALIASED_QUALITY:
- case PROOF_QUALITY:
- return FT_RENDER_MODE_MONO;
- //case CLEARTYPE_QUALITY:
- // return FT_RENDER_MODE_LCD;
+/* case CLEARTYPE_QUALITY:
+ return FT_RENDER_MODE_LCD; */
}
- return FT_RENDER_MODE_MONO;
+ return FT_RENDER_MODE_NORMAL;
}
int
Show replies by date