Chromium Code Reviews
DescriptionFix integer truncation in Character test functions
The test functions checking for treatAs*Space and
isNormalizedCanvasSpaceCharacter were using UChar parameter
types, while they were used with UChar32 arguments in
HarfBuzzShaper.
This leads to characters being truncated, equivalent to being
masekd with 0xFFFF, before they get passed to the space-tester
functions. If the truncated value matches in one of those, they
get blanked out with a space in the normalization step in
HarfBuzzShaper.
BUG=595960
R=pdr,eae,kojii
Committed: https://crrev.com/3f51d6256864b298b15feb93a57c6d986474245a
Cr-Commit-Position: refs/heads/master@{#382569}
Patch Set 1 #Patch Set 2 : Remove pragmas #Patch Set 3 : Add test for isNormalizedCanvasSpaceCharacter #
Messages
Total messages: 18 (8 generated)
|
||||||||||||||||||||||||||||