mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +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)
|
||||
{
|
||||
//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
|
||||
|
|
Loading…
Reference in a new issue