diff options
author | Ben Wagner <bungeman@google.com> | 2017-10-31 13:45:49 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-31 18:11:14 +0000 |
commit | e7ac58c0d5d4585912b2fc26c2d692c6f3c28199 (patch) | |
tree | e5de02e1635975cc799b162e200e0ac191e51399 /src/ports/SkFontHost_FreeType.cpp | |
parent | 39d71dec606781037839faf49a9be25be7560bf1 (diff) |
Remove SK_IGNORE_SUBPIXEL_HINTING_FIX.
This flag was used to stage this change. All users have now been updated
and there is no known build which defines it. Remove all uses of this
define and the code it guarded.
BUG=skia:6931
Change-Id: I791795af4a8ff761508611cf29c7b065c1b43c82
Reviewed-on: https://skia-review.googlesource.com/65782
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'src/ports/SkFontHost_FreeType.cpp')
-rw-r--r-- | src/ports/SkFontHost_FreeType.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/ports/SkFontHost_FreeType.cpp b/src/ports/SkFontHost_FreeType.cpp index aa571e04c6..3e8f837d56 100644 --- a/src/ports/SkFontHost_FreeType.cpp +++ b/src/ports/SkFontHost_FreeType.cpp @@ -675,13 +675,6 @@ void SkTypeface_FreeType::onFilterRec(SkScalerContextRec* rec) const { // collapse full->normal hinting if we're not doing LCD h = SkPaint::kNormal_Hinting; } -#ifdef SK_IGNORE_SUBPIXEL_HINTING_FIX - if ((rec->fFlags & SkScalerContext::kSubpixelPositioning_Flag)) { - if (SkPaint::kNo_Hinting != h) { - h = SkPaint::kSlight_Hinting; - } - } -#endif // rotated text looks bad with hinting, so we disable it as needed if (!isAxisAligned(*rec)) { |