Index: src/ports/SkFontHost_win.cpp |
diff --git a/src/ports/SkFontHost_win.cpp b/src/ports/SkFontHost_win.cpp |
index 6f4a60341f1ccb682492f8a006d9c9758fe5d23f..1ec2bb5cf85922fcc09730cce40bf513a87a9282 100755 |
--- a/src/ports/SkFontHost_win.cpp |
+++ b/src/ports/SkFontHost_win.cpp |
@@ -854,7 +854,7 @@ void SkScalerContext_GDI::generateMetrics(SkGlyph* glyph) { |
SkMatrix m; |
m.setAll(SkFIXEDToScalar(fMat22.eM11), -SkFIXEDToScalar(fMat22.eM21), 0, |
-SkFIXEDToScalar(fMat22.eM12), SkFIXEDToScalar(fMat22.eM22), 0, |
- 0, 0, SkScalarToPersp(SK_Scalar1)); |
+ 0, 0, 1); |
m.mapRect(&bounds); |
bounds.roundOut(&bounds); |
glyph->fLeft = SkScalarTruncToInt(bounds.fLeft); |