Branch: refs/heads/webkitglib/2.50
Home: https://github.com/WebKit/WebKit
Commit: a6742d1be70c401a4a20f7b906bd10bdb9aadc41
https://github.com/WebKit/WebKit/commit/a6742d1be70c401a4a20f7b906bd10bdb9aadc41
Author: ChangSeok Oh <[email protected]>
Date: 2025-09-23 (Tue, 23 Sep 2025)
Changed paths:
M LayoutTests/platform/gtk/TestExpectations
M LayoutTests/platform/wpe/TestExpectations
M Source/WebCore/platform/graphics/skia/FontCacheSkia.cpp
Log Message:
-----------
Cherry-pick 300335@main (7146a8cb64fd).
https://bugs.webkit.org/show_bug.cgi?id=290449
[GTK][WPE] font-size-adjust:0 and SVG Font failures
https://bugs.webkit.org/show_bug.cgi?id=290449
Reviewed by Carlos Garcia Campos.
If the given font lacks the required glyphs, a system fallback font is
created.
Previously, the fallback font was initialized with the computed size, which
caused
failures in tests using font fallback with font-size-adjust. To fix this,
we now
apply font-size-adjust when setting the size of the fallback font.
Test:
imported/w3c/web-platform-tests/svg/fonts/zero-font-size-adjust-no-glyphs-font.html
imported/w3c/web-platform-tests/svg/fonts/zero-font-size-adjust-no-glyphs-zero-height-font.html
imported/w3c/web-platform-tests/svg/fonts/zero-font-size-adjust.html
* LayoutTests/platform/gtk/TestExpectations:
* LayoutTests/platform/wpe/TestExpectations:
* Source/WebCore/platform/graphics/skia/FontCacheSkia.cpp:
(WebCore::FontCache::systemFallbackForCharacterCluster):
Canonical link: https://commits.webkit.org/300335@main
Canonical link: https://commits.webkit.org/298234.145@webkitglib/2.50
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes