Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7146a8cb64fd4a567709cb23b82c3ebe2d14fd3d
https://github.com/WebKit/WebKit/commit/7146a8cb64fd4a567709cb23b82c3ebe2d14fd3d
Author: ChangSeok Oh <[email protected]>
Date: 2025-09-22 (Mon, 22 Sep 2025)
Changed paths:
M LayoutTests/platform/gtk/TestExpectations
M LayoutTests/platform/wpe/TestExpectations
M Source/WebCore/platform/graphics/skia/FontCacheSkia.cpp
Log Message:
-----------
[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
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