Changeset 177881 in webkit


Ignore:
Timestamp:
Jan 4, 2015 4:46:39 PM (9 years ago)
Author:
Antti Koivisto
Message:

Remove GlyphPageTree
https://bugs.webkit.org/show_bug.cgi?id=140015

Follow-up to follow-up, fonts/font-fallback-prefers-pictographs.html is now failing.

  • platform/graphics/FontGlyphs.cpp:

(WebCore::FontGlyphs::glyphDataForVariant):
(WebCore::FontGlyphs::glyphDataForNormalVariant):

Make the loop again go one past the last fallback index, the pictograph special case depends on it.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r177878 r177881  
    44        https://bugs.webkit.org/show_bug.cgi?id=140015
    55
    6         Follow-up to r177876 to fix mathml/opentype/munderover-layout-resize.html which is asserting in bots.
     6        Follow-up to follow-up, fonts/font-fallback-prefers-pictographs.html is now failing.
     7
     8        * platform/graphics/FontGlyphs.cpp:
     9        (WebCore::FontGlyphs::glyphDataForVariant):
     10        (WebCore::FontGlyphs::glyphDataForNormalVariant):
     11
     12            Make the loop again go one past the last fallback index, the pictograph special case depends on it.
     13
     142015-01-04  Antti Koivisto  <antti@apple.com>
     15
     16        Remove GlyphPageTree
     17        https://bugs.webkit.org/show_bug.cgi?id=140015
     18
     19        Follow-up to r177876 to fix mathml/opentype/munderover-layout-resize.html which is asserting.
    720
    821        * platform/graphics/FontGlyphs.cpp:
  • trunk/Source/WebCore/platform/graphics/FontGlyphs.cpp

    r177878 r177881  
    277277GlyphData FontGlyphs::glyphDataForVariant(UChar32 c, const FontDescription& description, FontDataVariant variant, unsigned fallbackLevel)
    278278{
    279     for (; fallbackLevel < description.familyCount(); ++fallbackLevel) {
     279    for (; fallbackLevel <= description.familyCount(); ++fallbackLevel) {
    280280        auto* fontData = realizeFontDataAt(description, fallbackLevel);
    281281        if (!fontData)
     
    302302    const unsigned pageNumber = c / GlyphPage::size;
    303303
    304     for (unsigned fallbackLevel = 0; fallbackLevel < description.familyCount(); ++fallbackLevel) {
     304    for (unsigned fallbackLevel = 0; fallbackLevel <= description.familyCount(); ++fallbackLevel) {
    305305        auto* fontData = realizeFontDataAt(description, fallbackLevel);
    306306        if (!fontData)
Note: See TracChangeset for help on using the changeset viewer.