Index: src/ports/SkScalerContext_win_dw.cpp |
diff --git a/src/ports/SkScalerContext_win_dw.cpp b/src/ports/SkScalerContext_win_dw.cpp |
index fa21df537c3ee6fbc9619bfd3cfe435c92cb1905..f3293bf00348d09ec8e5349461e631e4faecd8b8 100644 |
--- a/src/ports/SkScalerContext_win_dw.cpp |
+++ b/src/ports/SkScalerContext_win_dw.cpp |
@@ -288,10 +288,6 @@ void SkScalerContext_DW::generateAdvance(SkGlyph* glyph) { |
SkIntToScalar(gm.advanceWidth), |
SkIntToScalar(dwfm.designUnitsPerEm)); |
- if (!this->isSubpixel()) { |
- advanceX = SkScalarRoundToScalar(advanceX); |
- } |
- |
SkVector vecs[1] = { { advanceX, 0 } }; |
if (DWRITE_MEASURING_MODE_GDI_CLASSIC == fMeasuringMode || |
DWRITE_MEASURING_MODE_GDI_NATURAL == fMeasuringMode) |