| Index: src/gpu/GrBitmapTextContext.cpp
|
| diff --git a/src/gpu/GrBitmapTextContext.cpp b/src/gpu/GrBitmapTextContext.cpp
|
| index ed3ed0964263633b0ff5eba58cdea24de16f6a82..3031f985ed373fb3b819ed127fa83b6332bf0bd8 100755
|
| --- a/src/gpu/GrBitmapTextContext.cpp
|
| +++ b/src/gpu/GrBitmapTextContext.cpp
|
| @@ -171,8 +171,7 @@
|
| if (glyph.fWidth) {
|
| this->appendGlyph(GrGlyph::Pack(glyph.getGlyphID(),
|
| glyph.getSubXFixed(),
|
| - glyph.getSubYFixed(),
|
| - GrGlyph::kCoverage_MaskStyle),
|
| + glyph.getSubYFixed()),
|
| Sk48Dot16FloorToInt(fx),
|
| Sk48Dot16FloorToInt(fy),
|
| fontScaler);
|
| @@ -249,8 +248,7 @@
|
| if (glyph.fWidth) {
|
| this->appendGlyph(GrGlyph::Pack(glyph.getGlyphID(),
|
| glyph.getSubXFixed(),
|
| - glyph.getSubYFixed(),
|
| - GrGlyph::kCoverage_MaskStyle),
|
| + glyph.getSubYFixed()),
|
| Sk48Dot16FloorToInt(fx),
|
| Sk48Dot16FloorToInt(fy),
|
| fontScaler);
|
| @@ -283,8 +281,7 @@
|
|
|
| this->appendGlyph(GrGlyph::Pack(glyph.getGlyphID(),
|
| glyph.getSubXFixed(),
|
| - glyph.getSubYFixed(),
|
| - GrGlyph::kCoverage_MaskStyle),
|
| + glyph.getSubYFixed()),
|
| Sk48Dot16FloorToInt(fx),
|
| Sk48Dot16FloorToInt(fy),
|
| fontScaler);
|
| @@ -307,8 +304,7 @@
|
| Sk48Dot16 fy = SkScalarTo48Dot16(tmsLoc.fY + SK_ScalarHalf); //halfSampleY;
|
| this->appendGlyph(GrGlyph::Pack(glyph.getGlyphID(),
|
| glyph.getSubXFixed(),
|
| - glyph.getSubYFixed(),
|
| - GrGlyph::kCoverage_MaskStyle),
|
| + glyph.getSubYFixed()),
|
| Sk48Dot16FloorToInt(fx),
|
| Sk48Dot16FloorToInt(fy),
|
| fontScaler);
|
| @@ -331,8 +327,7 @@
|
| Sk48Dot16 fy = SkScalarTo48Dot16(alignLoc.fY + SK_ScalarHalf); //halfSampleY;
|
| this->appendGlyph(GrGlyph::Pack(glyph.getGlyphID(),
|
| glyph.getSubXFixed(),
|
| - glyph.getSubYFixed(),
|
| - GrGlyph::kCoverage_MaskStyle),
|
| + glyph.getSubYFixed()),
|
| Sk48Dot16FloorToInt(fx),
|
| Sk48Dot16FloorToInt(fy),
|
| fontScaler);
|
| @@ -417,7 +412,7 @@
|
| }
|
|
|
| if (NULL == fStrike) {
|
| - fStrike = fContext->getFontCache()->getStrike(scaler);
|
| + fStrike = fContext->getFontCache()->getStrike(scaler, false);
|
| }
|
|
|
| GrGlyph* glyph = fStrike->getGlyph(packed, scaler);
|
|
|