Index: Source/platform/fonts/Font.cpp |
diff --git a/Source/platform/fonts/Font.cpp b/Source/platform/fonts/Font.cpp |
index 96a03853b9acc7f682ef96a076891aef6cefe1ea..15a3587ddc0178ad0900b40d5b7ca6ecd503d172 100644 |
--- a/Source/platform/fonts/Font.cpp |
+++ b/Source/platform/fonts/Font.cpp |
@@ -253,6 +253,9 @@ CodePath Font::codePath(const TextRun& run) const |
if (m_fontDescription.featureSettings() && m_fontDescription.featureSettings()->size() > 0 && m_fontDescription.letterSpacing() == 0) |
return ComplexPath; |
+ if (m_fontDescription.widthVariant() != RegularWidth) |
+ return ComplexPath; |
+ |
if (run.length() > 1 && fontDescription().typesettingFeatures()) |
return ComplexPath; |