Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9bf2adeec6e951b643b52ed52663d6b35a20e5fb
      
https://github.com/WebKit/WebKit/commit/9bf2adeec6e951b643b52ed52663d6b35a20e5fb
  Author: Vitor Roriz <[email protected]>
  Date:   2026-05-08 (Fri, 08 May 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/FontCascade.cpp
    M Source/WebCore/platform/graphics/FontCascadeFonts.h

  Log Message:
  -----------
  GlyphGeometryCache: allow caching width results that used fallback fonts if 
possible
rdar://175896996
https://bugs.webkit.org/show_bug.cgi?id=313699

Reviewed by Alan Baradlay.

Previously, FontCascade::width() refused to cache into GlyphGeometryCache
when fallback fonts were used during text measurement. This could cause
repeated full shaping costs for text that triggers font fallback (e.g.
when the primary font doesn't cover all scripts in the content), even
when the caller never needed the fallback font set.

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



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

Reply via email to