mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
change logfont quality to FreeType mode conversion. Patch by tinus.
svn path=/trunk/; revision=13866
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user