Index: Source/platform/fonts/Font.cpp |
diff --git a/Source/platform/fonts/Font.cpp b/Source/platform/fonts/Font.cpp |
index 49d150c1672e1458f3537ae36f23af97daeb21b1..7b160db42318a195318e611aa822cf913345cbd3 100644 |
--- a/Source/platform/fonts/Font.cpp |
+++ b/Source/platform/fonts/Font.cpp |
@@ -298,6 +298,9 @@ CodePath Font::codePath(const TextRun& run) const |
if (run.is8Bit()) |
return SimplePath; |
+ if (run.useComplexCodePath()) |
leviw_travelin_and_unemployed
2014/10/01 20:33:14
Are you sure you want this check here? Could a Ren
eae
2014/10/01 21:16:43
Yes but then it would be due to a CSS setting in w
leviw_travelin_and_unemployed
2014/10/01 21:37:28
I'm not sure I understand. The case I'm thinking i
|
+ return ComplexPath; |
+ |
// Start from 0 since drawing and highlighting also measure the characters before run->from. |
return Character::characterRangeCodePath(run.characters16(), run.length()); |
} |