Source/WebCore: Added the regional indicator symbols to the set of codepoints that...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 29 Jul 2011 20:20:52 +0000 (20:20 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 29 Jul 2011 20:20:52 +0000 (20:20 +0000)
commitfc6618601a002a7f780a7788227897f88e7805c4
tree6617cccce8a389411726179ee0d4daf7a6b57d93
parent613d2ec4a52905daa0ded4868db89ab59f06f65c
Source/WebCore: Added the regional indicator symbols to the set of codepoints that force use of the complex text code path.

Fixes <rdar://problem/9864578> Regional indicator symbols do not combine into national flags
https://bugs.webkit.org/show_bug.cgi?id=65380

Reviewed by Anders Carlsson.

Test: fast/text/regional-indicator-symobls.html

* platform/graphics/Font.cpp:
(WebCore::Font::codePath): Added handling of surrogate pairs, which returns Complex for characters in
the range U+1F1E6..U+1F1FF.

LayoutTests: Test for <rdar://problem/9864578> Regional indicator symbols do not combine into national flags
https://bugs.webkit.org/show_bug.cgi?id=65380

Reviewed by Anders Carlsson.

* fast/text/regional-indicator-symobls-expected.txt: Added.
* fast/text/regional-indicator-symobls.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@92005 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/text/regional-indicator-symobls-expected.txt [new file with mode: 0644]
LayoutTests/fast/text/regional-indicator-symobls.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/Font.cpp