Index: Source/platform/fonts/SimpleShaper.cpp |
diff --git a/Source/platform/fonts/SimpleShaper.cpp b/Source/platform/fonts/SimpleShaper.cpp |
index f41d3ecbc06a5a3872f4e71212819310d672d67b..5e87ce7a4eb71923d8f4bf7e2842f66c4e8a232c 100644 |
--- a/Source/platform/fonts/SimpleShaper.cpp |
+++ b/Source/platform/fonts/SimpleShaper.cpp |
@@ -25,7 +25,6 @@ |
#include "platform/fonts/Character.h" |
#include "platform/fonts/Font.h" |
-#include "platform/fonts/FontPlatformFeatures.h" |
#include "platform/fonts/GlyphBuffer.h" |
#include "platform/fonts/Latin1TextIterator.h" |
#include "platform/fonts/SimpleFontData.h" |
@@ -114,9 +113,8 @@ float SimpleShaper::adjustSpacing(float width, const CharacterData& charData, |
if (width) |
width += m_font->fontDescription().letterSpacing(); |
- static bool expandAroundIdeographs = FontPlatformFeatures::canExpandAroundIdeographsInComplexText(); |
bool treatAsSpace = Character::treatAsSpace(charData.character); |
- if (treatAsSpace || (expandAroundIdeographs && Character::isCJKIdeographOrSymbol(charData.character))) { |
+ if (treatAsSpace) { |
// Distribute the run's total expansion evenly over all expansion opportunities in the run. |
if (m_expansion) { |
if (!treatAsSpace && !m_isAfterExpansion) { |