Branch: refs/heads/webkitglib/2.52
  Home:   https://github.com/WebKit/WebKit
  Commit: c15b62ea8c6be03806500f06a5bae0ec63d5b682
      
https://github.com/WebKit/WebKit/commit/c15b62ea8c6be03806500f06a5bae0ec63d5b682
  Author: Fujii Hironori <[email protected]>
  Date:   2026-02-17 (Tue, 17 Feb 2026)

  Changed paths:
    M LayoutTests/platform/glib/fast/text/in-rendered-text-rtl-expected.txt
    M 
LayoutTests/platform/glib/fast/text/international/bidi-LDB-2-CSS-expected.txt
    M 
LayoutTests/platform/glib/fast/text/international/bidi-LDB-2-HTML-expected.txt
    M 
LayoutTests/platform/glib/fast/text/international/bidi-LDB-2-formatting-characters-expected.txt
    M 
LayoutTests/platform/glib/fast/text/international/bidi-european-terminators-expected.txt
    M 
LayoutTests/platform/glib/fast/text/international/bidi-ignored-for-first-child-inline-expected.txt
    M LayoutTests/platform/glib/fast/text/international/rtl-caret-expected.txt
    M 
LayoutTests/platform/glib/fast/text/midword-break-after-breakable-char-expected.txt
    M 
LayoutTests/platform/gtk/fast/forms/select-writing-direction-natural-expected.txt
    M LayoutTests/platform/gtk/fast/forms/visual-hebrew-text-field-expected.txt
    M 
LayoutTests/platform/wpe/fast/forms/select-writing-direction-natural-expected.txt
    M Source/WebCore/platform/graphics/skia/FontCacheSkia.cpp
    M Source/WebCore/platform/graphics/skia/SkiaSystemFallbackFontCache.cpp
    M Source/WebCore/platform/graphics/skia/SkiaSystemFallbackFontCache.h

  Log Message:
  -----------
  Cherry-pick 307565@main (ce075d61e972). 
https://bugs.webkit.org/show_bug.cgi?id=295962

    [Skia] System fallback font selection shouldn't take style into account
    https://bugs.webkit.org/show_bug.cgi?id=295962

    Reviewed by Carlos Garcia Campos.

    WebKit has WebCore::SystemFallbackFontCache class which caches system 
fallback
    fonts. The cache key is a tuple of a string, locale and emoji policy. But, 
the
    weight, width and slant are't involved into the cache key. However, Skia
    backend looked for a system fallback font with the font style. This 
resulted in
    mixed fonts for a text.

    * 
LayoutTests/platform/glib/fast/forms/visual-hebrew-text-field-expected.txt:
    * LayoutTests/platform/glib/fast/text/in-rendered-text-rtl-expected.txt:
    * 
LayoutTests/platform/glib/fast/text/international/bidi-LDB-2-CSS-expected.txt:
    * 
LayoutTests/platform/glib/fast/text/international/bidi-LDB-2-HTML-expected.txt:
    * 
LayoutTests/platform/glib/fast/text/international/bidi-LDB-2-formatting-characters-expected.txt:
    * 
LayoutTests/platform/glib/fast/text/international/bidi-european-terminators-expected.txt:
    * 
LayoutTests/platform/glib/fast/text/international/bidi-ignored-for-first-child-inline-expected.txt:
    * LayoutTests/platform/glib/fast/text/international/rtl-caret-expected.txt:
    * 
LayoutTests/platform/glib/fast/text/midword-break-after-breakable-char-expected.txt:
    * 
LayoutTests/platform/gtk/fast/forms/select-writing-direction-natural-expected.txt:
    * 
LayoutTests/platform/wpe/fast/forms/select-writing-direction-natural-expected.txt:
    * Source/WebCore/platform/graphics/skia/FontCacheSkia.cpp:
    (WebCore::FontCache::systemFallbackForCharacterCluster):
    * Source/WebCore/platform/graphics/skia/SkiaSystemFallbackFontCache.cpp:
    (WebCore::FontSetCache::FontSetCache):
    (WebCore::FontSetCache::create):
    (WebCore::FontSetCache::fontForCharacterCluster):
    (WebCore::FontSetCache::FontSet::create):
    (WebCore::SkiaSystemFallbackFontCache::fontForCharacterCluster):
    (WebCore::fontconfigStyle):
    (WebCore::FontSetCacheKey::FontSetCacheKey): Deleted.
    (WebCore::FontSetCacheKey::isHashTableDeletedValue const): Deleted.
    (WebCore::add): Deleted.
    (WebCore::FontSetCacheKeyHash::hash): Deleted.
    (WebCore::FontSetCacheKeyHash::equal): Deleted.
    * Source/WebCore/platform/graphics/skia/SkiaSystemFallbackFontCache.h:

    Canonical link: https://commits.webkit.org/307565@main

Canonical link: https://commits.webkit.org/305877.76@webkitglib/2.52



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to