| Index: src/gpu/GrDistanceFieldTextContext.cpp
|
| diff --git a/src/gpu/GrDistanceFieldTextContext.cpp b/src/gpu/GrDistanceFieldTextContext.cpp
|
| index 5c9019b2b2cec504ced08180303c85b1c966d845..1976cf16a363ffc77bd2f88f75866488e8f1b79d 100755
|
| --- a/src/gpu/GrDistanceFieldTextContext.cpp
|
| +++ b/src/gpu/GrDistanceFieldTextContext.cpp
|
| @@ -548,7 +548,7 @@ bool GrDistanceFieldTextContext::appendGlyph(GrGlyph::PackedID packed,
|
| GrContext::AutoMatrix am;
|
| SkMatrix ctm;
|
| ctm.setScale(fTextRatio, fTextRatio);
|
| - ctm.postTranslate(sx, sy);
|
| + ctm.postTranslate(sx - dx, sy - dy);
|
| GrPaint tmpPaint(fPaint);
|
| am.setPreConcat(fContext, ctm, &tmpPaint);
|
| GrStrokeInfo strokeInfo(SkStrokeRec::kFill_InitStyle);
|
|
|