Index: Source/platform/fonts/WidthIterator.cpp |
diff --git a/Source/platform/fonts/WidthIterator.cpp b/Source/platform/fonts/WidthIterator.cpp |
index 6c24af03e14873e82114d52a087d00611a64f9fa..83c675df992b221caa23395218f21ff3955a31a2 100644 |
--- a/Source/platform/fonts/WidthIterator.cpp |
+++ b/Source/platform/fonts/WidthIterator.cpp |
@@ -114,14 +114,6 @@ static inline float applyFontTransforms(GlyphBuffer* glyphBuffer, bool ltr, unsi |
for (unsigned i = lastGlyphCount; i < glyphBufferSize; ++i) |
widthDifference -= advances[i].width(); |
- if (!ltr) |
- glyphBuffer->reverse(lastGlyphCount, glyphBufferSize - lastGlyphCount); |
- |
- fontData->applyTransforms(glyphBuffer->glyphs(lastGlyphCount), advances + lastGlyphCount, glyphBufferSize - lastGlyphCount, typesettingFeatures); |
- |
- if (!ltr) |
- glyphBuffer->reverse(lastGlyphCount, glyphBufferSize - lastGlyphCount); |
- |
for (size_t i = 0; i < charactersTreatedAsSpace.size(); ++i) { |
int spaceOffset = charactersTreatedAsSpace[i].first; |
const OriginalAdvancesForCharacterTreatedAsSpace& originalAdvances = charactersTreatedAsSpace[i].second; |