Correct range used for Emoji checks. old/5.1
authorMichael BrĂ¼ning <michael.bruning@digia.com>
Tue, 17 Sep 2013 13:31:35 +0000 (15:31 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 17 Sep 2013 14:22:51 +0000 (16:22 +0200)
commit4af31da26f816a7abc06924253f7924dbad15991
treee1a1996076730f5b36513e008d4042928e45fd35
parent6eecd106312582cacbfce3085e5a7b0b82778c92
Correct range used for Emoji checks.

https://bugs.webkit.org/show_bug.cgi?id=121486

Reviewed by Allan Sandfeld Jensen.

Found and reported by David Binderman via Qt bug tracker.

The check if a character was in the Emoji range always evaluated to
false due to the upper range limit being lower than the lower limit.

Changed the upper limit to the highest assigned character from the
"Transport and Map Symbols" (0x1F6C5) as that seems to have been the
intended upper range limit of this check.

* platform/graphics/Font.cpp:
(WebCore::Font::isCJKIdeographOrSymbol):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155951 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Change-Id: Ie62aceb17bba170b0191ba64434e17d445cf7779
Task-number: QTBUG-33206
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Source/WebCore/platform/graphics/Font.cpp