зеркало из https://github.com/mozilla/moz-skia.git
FreeType: don't use bitmap strikes when antialiasing
If the user requested anti-aliasing then we don't use bitmap strikes in the font. The consensus among our Japanese users is that this results in the best quality. http://code.google.com/p/chromium/issues/detail?id=18333 http://codereview.appspot.com/105050 git-svn-id: http://skia.googlecode.com/svn/trunk@310 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
152f748386
Коммит
e0d089900e
|
@ -376,6 +376,13 @@ SkScalerContext_FreeType::SkScalerContext_FreeType(const SkDescriptor* desc)
|
|||
break;
|
||||
}
|
||||
|
||||
if (fRec.fMaskFormat != SkMask::kBW_Format) {
|
||||
// If the user requested anti-aliasing then we don't use bitmap
|
||||
// strikes in the font. The consensus among our Japanese users is
|
||||
// that this results in the best quality.
|
||||
loadFlags |= FT_LOAD_NO_BITMAP;
|
||||
}
|
||||
|
||||
fLoadGlyphFlags = loadFlags;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче