Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 06267d4b624ddfeda12cc6b4847c4515f92406ca
https://github.com/WebKit/WebKit/commit/06267d4b624ddfeda12cc6b4847c4515f92406ca
Author: Vitor Roriz <[email protected]>
Date: 2026-06-16 (Tue, 16 Jun 2026)
Changed paths:
M
Source/WebCore/platform/graphics/coretext/FontCustomPlatformDataCoreText.cpp
Log Message:
-----------
FontCustomPlatformDataCoreText: Use defaultVariationValues to detect the wght
axis
https://bugs.webkit.org/show_bug.cgi?id=317221
rdar://179843188
Reviewed by Simon Fraser.
fontHasWeightVariationAxis open-coded a CTFontCopyVariationAxes scan with
CFNumberGetValue extraction, duplicating the existing defaultVariationValues
helper. Use defaultVariationValues(font, ShouldLocalizeAxisNames::No).contains(
FontVariationAxisTag::wght) instead, matching the Skia and FreeType paths. No
behavior change.
* Source/WebCore/platform/graphics/coretext/FontCustomPlatformDataCoreText.cpp:
(WebCore::FontCustomPlatformData::fontPlatformData):
Canonical link: https://commits.webkit.org/315318@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications