[webkit-changes] [WebKit/WebKit] c0ed62: Cherry-pick 285505 at main (f30738ce1fc8). https://bu...

Adrian Perez noreply at github.com
Mon Oct 21 13:30:08 PDT 2024


  Branch: refs/heads/webkitglib/2.46
  Home:   https://github.com/WebKit/WebKit
  Commit: c0ed62d90ef3ab79aaa3172198257fa50e3f96cb
      https://github.com/WebKit/WebKit/commit/c0ed62d90ef3ab79aaa3172198257fa50e3f96cb
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2024-10-21 (Mon, 21 Oct 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/skia/FontCacheSkia.cpp

  Log Message:
  -----------
  Cherry-pick 285505 at main (f30738ce1fc8). https://bugs.webkit.org/show_bug.cgi?id=281375

    [Skia] Crash in WebCore::FontCache::lastResortFallbackFont
    https://bugs.webkit.org/show_bug.cgi?id=281375

    Reviewed by Michael Catanzaro.

    Skia always does strong matching when querying fonts by its family name
    to not break the CSS font fallback mechanism, but when trying to get the
    last resort fallback font we just want to make sure we return a valid
    font even if the match is not strong. So, when "serif" doesn't return a
    valid font we try again with a null family name, to tell Skia not to do
    a string matching. And if we still get a null font, which probably means
    there's a problem with fontconfig installation or configuration, we can
    just create and empty SkTypeface to make sure we don't crash.

    * Source/WebCore/platform/graphics/skia/FontCacheSkia.cpp:
    (WebCore::FontCache::lastResortFallbackFont):

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

Canonical link: https://commits.webkit.org/282416.229@webkitglib/2.46


  Commit: 4b5574d5a42399b41117f0932048a7b6905a43b6
      https://github.com/WebKit/WebKit/commit/4b5574d5a42399b41117f0932048a7b6905a43b6
  Author: Adrian Perez de Castro <aperez at igalia.com>
  Date:   2024-10-21 (Mon, 21 Oct 2024)

  Changed paths:
    M Source/WebKit/wpe/NEWS
    M Source/cmake/OptionsWPE.cmake

  Log Message:
  -----------
  Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.46.2 release

* Source/WebKit/wpe/NEWS: Add release notes.
* Source/cmake/OptionsWPE.cmake: Bump version numbers.

Canonical link: https://commits.webkit.org/282416.230@webkitglib/2.46


Compare: https://github.com/WebKit/WebKit/compare/842c3ad8716b...4b5574d5a423

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


More information about the webkit-changes mailing list