aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/SkPaint.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp
index 94a4d22d7d..134aa56bde 100644
--- a/src/core/SkPaint.cpp
+++ b/src/core/SkPaint.cpp
@@ -1596,6 +1596,7 @@ void SkScalerContext::MakeRec(const SkPaint& paint,
rec->setPaintGamma(SkFloatToScalar(SK_GAMMA_EXPONENT));
#endif
rec->setContrast(SkFloatToScalar(SK_GAMMA_CONTRAST));
+ rec->fReservedAlign = 0;
/* Allow the fonthost to modify our rec before we use it as a key into the
cache. This way if we're asking for something that they will ignore,