| Index: Source/platform/fonts/Character.h
|
| diff --git a/Source/platform/fonts/Character.h b/Source/platform/fonts/Character.h
|
| index ca0666a6fcdf97ac4a7b1dd5499578b51858df96..3162e71a8c1b34b27971e5ab7d6a48a6e18b76ad 100644
|
| --- a/Source/platform/fonts/Character.h
|
| +++ b/Source/platform/fonts/Character.h
|
| @@ -72,7 +72,7 @@ public:
|
| || c == zeroWidthNonJoiner
|
| || c == zeroWidthJoiner;
|
| }
|
| - static bool treatAsZeroWidthSpaceInComplexScript(UChar c)
|
| + static bool treatAsZeroWidthSpaceInComplexScript(UChar32 c)
|
| {
|
| return c < 0x20 // ASCII Control Characters
|
| || (c >= 0x7F && c < 0xA0) // ASCII Delete .. No-break space
|
| @@ -83,6 +83,12 @@ public:
|
| || c == zeroWidthNoBreakSpace
|
| || c == objectReplacementCharacter;
|
| }
|
| + static bool treatAsZeroWidthSpaceInComplexScript(LChar c)
|
| + {
|
| + return c < 0x20 // ASCII Control Characters
|
| + || (c >= 0x7F && c < 0xA0) // ASCII Delete .. No-break space
|
| + || c == softHyphen;
|
| + }
|
| static bool canReceiveTextEmphasis(UChar32);
|
|
|
| static inline UChar normalizeSpaces(UChar character)
|
|
|