aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkPaint.cpp2
-rw-r--r--src/core/SkScalerContext.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp
index af032d001e..f576015ba0 100644
--- a/src/core/SkPaint.cpp
+++ b/src/core/SkPaint.cpp
@@ -1647,7 +1647,7 @@ void SkScalerContext::MakeRec(const SkPaint& paint,
flags |= SkScalerContext::kSubpixelPositioning_Flag;
}
if (paint.isAutohinted()) {
- flags |= SkScalerContext::kAutohinting_Flag;
+ flags |= SkScalerContext::kForceAutohinting_Flag;
}
if (paint.isVerticalText()) {
flags |= SkScalerContext::kVertical_Flag;
diff --git a/src/core/SkScalerContext.h b/src/core/SkScalerContext.h
index e4950edee3..63b1f186f1 100644
--- a/src/core/SkScalerContext.h
+++ b/src/core/SkScalerContext.h
@@ -122,7 +122,7 @@ public:
kEmbeddedBitmapText_Flag = 0x0004,
kEmbolden_Flag = 0x0008,
kSubpixelPositioning_Flag = 0x0010,
- kAutohinting_Flag = 0x0020,
+ kForceAutohinting_Flag = 0x0020, // Use auto instead of bytcode hinting if hinting.
kVertical_Flag = 0x0040,
// together, these two flags resulting in a two bit value which matches