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>
This commit is contained in:
parent
39d71dec60
commit
e7ac58c0d5
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user