| Index: Source/platform/fonts/Font.cpp
|
| diff --git a/Source/platform/fonts/Font.cpp b/Source/platform/fonts/Font.cpp
|
| index 0e37b836daa12fb56811319037cd8680a5ea3f53..e1f1b5fcf9ab301a38c8b9f50254ab5b9154a634 100644
|
| --- a/Source/platform/fonts/Font.cpp
|
| +++ b/Source/platform/fonts/Font.cpp
|
| @@ -298,6 +298,9 @@ int Font::offsetForPosition(const TextRun& run, float x, bool includePartialGlyp
|
|
|
| CodePath Font::codePath(const TextRunPaintInfo& runInfo) const
|
| {
|
| + if (RuntimeEnabledFeatures::alwaysUseComplexTextEnabled())
|
| + return ComplexPath;
|
| +
|
| const TextRun& run = runInfo.run;
|
|
|
| if (fontDescription().typesettingFeatures() && (runInfo.from || runInfo.to != run.length()))
|
|
|