Index: ui/gfx/render_text_harfbuzz.cc |
diff --git a/ui/gfx/render_text_harfbuzz.cc b/ui/gfx/render_text_harfbuzz.cc |
index 8d332e3c147b737dfa3a311b6058c16fef1d080a..363827a54265aae060eff492be9477afa7b75124 100644 |
--- a/ui/gfx/render_text_harfbuzz.cc |
+++ b/ui/gfx/render_text_harfbuzz.cc |
@@ -1033,7 +1033,7 @@ void RenderTextHarfBuzz::ShapeRunWithFont(internal::TextRunHarfBuzz* run, |
SkScalarRoundToInt(SkFixedToScalar(hb_positions[i].x_offset)); |
const int y_offset = |
SkScalarRoundToInt(SkFixedToScalar(hb_positions[i].y_offset)); |
- run->positions[i].set(run->width + x_offset, y_offset); |
+ run->positions[i].set(run->width + x_offset, -y_offset); |
run->width += |
SkScalarRoundToInt(SkFixedToScalar(hb_positions[i].x_advance)); |
} |