Changeset 222576 in webkit


Ignore:
Timestamp:
Sep 27, 2017, 2:02:46 PM (8 years ago)
Author:
mmaxfield@apple.com
Message:

"Tag" codepoints require the complex text codepath
https://bugs.webkit.org/show_bug.cgi?id=177251
<rdar://problem/34384001>

Reviewed by David Hyatt.

Source/WebCore:

Previously, Tag codepoints (U+E0000 - U+E007F) weren't triggering the
complex text codepath.

Eventually, we should migrate the default from simple to complex. I'll do
that in a separate patch.

Test: fast/text/flag-codepoint.html

  • platform/graphics/FontCascade.cpp:

(WebCore::FontCascade::characterRangeCodePath):

LayoutTests:

  • fast/text/flag-codepoint-expected.html: Added.
  • fast/text/flag-codepoint.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r222572 r222576  
     12017-09-27  Myles C. Maxfield  <mmaxfield@apple.com>
     2
     3        "Tag" codepoints require the complex text codepath
     4        https://bugs.webkit.org/show_bug.cgi?id=177251
     5        <rdar://problem/34384001>
     6
     7        Reviewed by David Hyatt.
     8
     9        * fast/text/flag-codepoint-expected.html: Added.
     10        * fast/text/flag-codepoint.html: Added.
     11
    1122017-09-27  Alicia Boya García  <aboya@igalia.com>
    213
  • trunk/Source/WebCore/ChangeLog

    r222575 r222576  
     12017-09-27  Myles C. Maxfield  <mmaxfield@apple.com>
     2
     3        "Tag" codepoints require the complex text codepath
     4        https://bugs.webkit.org/show_bug.cgi?id=177251
     5        <rdar://problem/34384001>
     6
     7        Reviewed by David Hyatt.
     8
     9        Previously, Tag codepoints (U+E0000 - U+E007F) weren't triggering the
     10        complex text codepath.
     11
     12        Eventually, we should migrate the default from simple to complex. I'll do
     13        that in a separate patch.
     14
     15        Test: fast/text/flag-codepoint.html
     16
     17        * platform/graphics/FontCascade.cpp:
     18        (WebCore::FontCascade::characterRangeCodePath):
     19
    1202017-09-27  David Hyatt  <hyatt@apple.com>
    221
  • trunk/Source/WebCore/platform/graphics/FontCascade.cpp

    r222422 r222576  
    816816                continue;
    817817            }
     818
     819            if (supplementaryCharacter < 0xE0000)
     820                continue;
     821            if (supplementaryCharacter < 0xE0080) // Tags
     822                return Complex;
    818823            if (supplementaryCharacter < 0xE0100) // U+E0100 through U+E01EF Unicode variation selectors.
    819824                continue;
Note: See TracChangeset for help on using the changeset viewer.