mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
change logfont quality to FreeType mode conversion. Patch by tinus.
svn path=/trunk/; revision=13866
This commit is contained in:
parent
eaf0e227f2
commit
15539c1521
1 changed files with 5 additions and 9 deletions
|
@ -427,18 +427,14 @@ IntGetFontRenderMode(LOGFONTW *logfont)
|
||||||
{
|
{
|
||||||
switch(logfont->lfQuality)
|
switch(logfont->lfQuality)
|
||||||
{
|
{
|
||||||
//case ANTIALIASED_QUALITY:
|
case NONANTIALIASED_QUALITY:
|
||||||
case DEFAULT_QUALITY:
|
return FT_RENDER_MODE_MONO;
|
||||||
return FT_RENDER_MODE_NORMAL;
|
|
||||||
case DRAFT_QUALITY:
|
case DRAFT_QUALITY:
|
||||||
return FT_RENDER_MODE_LIGHT;
|
return FT_RENDER_MODE_LIGHT;
|
||||||
//case NONANTIALIASED_QUALITY:
|
/* case CLEARTYPE_QUALITY:
|
||||||
case PROOF_QUALITY:
|
return FT_RENDER_MODE_LCD; */
|
||||||
return FT_RENDER_MODE_MONO;
|
|
||||||
//case CLEARTYPE_QUALITY:
|
|
||||||
// return FT_RENDER_MODE_LCD;
|
|
||||||
}
|
}
|
||||||
return FT_RENDER_MODE_MONO;
|
return FT_RENDER_MODE_NORMAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in a new issue