Index: src/ports/SkScalerContext_win_dw.cpp |
diff --git a/src/ports/SkScalerContext_win_dw.cpp b/src/ports/SkScalerContext_win_dw.cpp |
index 097db865e19210eaf1e78a7391816eb91ffa14d4..f276762bbfae666d0a7d2b9f1ce25c059f33cb6a 100644 |
--- a/src/ports/SkScalerContext_win_dw.cpp |
+++ b/src/ports/SkScalerContext_win_dw.cpp |
@@ -388,8 +388,8 @@ void SkScalerContext_DW::generateAdvance(SkGlyph* glyph) { |
fSkXform.mapVectors(vecs, SK_ARRAY_COUNT(vecs)); |
} |
- glyph->fAdvanceX = SkScalarToFixed(vecs[0].fX); |
- glyph->fAdvanceY = SkScalarToFixed(vecs[0].fY); |
+ glyph->fAdvanceX = SkScalarToFloat(vecs[0].fX); |
+ glyph->fAdvanceY = SkScalarToFloat(vecs[0].fY); |
} |
HRESULT SkScalerContext_DW::getBoundingBox(SkGlyph* glyph, |