| Index: Source/platform/fonts/harfbuzz/FontHarfBuzz.cpp
|
| diff --git a/Source/platform/fonts/harfbuzz/FontHarfBuzz.cpp b/Source/platform/fonts/harfbuzz/FontHarfBuzz.cpp
|
| index 37dd7b2950d467d6b64f0064036b89ddef1edac7..7d3fc6391da71be63985bbb2379c4269e032a0dc 100644
|
| --- a/Source/platform/fonts/harfbuzz/FontHarfBuzz.cpp
|
| +++ b/Source/platform/fonts/harfbuzz/FontHarfBuzz.cpp
|
| @@ -136,7 +136,7 @@ void Font::drawGlyphs(GraphicsContext* gc, const SimpleFontData* font,
|
| pos[i].set(
|
| x + SkIntToScalar(lroundf(translations[i].x())),
|
| y + -SkIntToScalar(-lroundf(currentWidth - translations[i].y())));
|
| - currentWidth += glyphBuffer.advanceAt(from + glyphIndex);
|
| + currentWidth += glyphBuffer.advanceAt(from + glyphIndex).width();
|
| }
|
| horizontalOffset += currentWidth;
|
| paintGlyphs(gc, font, glyphs, chunkLength, pos, textRect);
|
|
|