[webkit-changes] [WebKit/WebKit] dc579c: Cherry-pick 261566 at main (2d385163e7ce). https://bu...
Vitaly Dyachkov
noreply at github.com
Mon Mar 13 06:25:28 PDT 2023
Branch: refs/heads/webkitglib/2.38
Home: https://github.com/WebKit/WebKit
Commit: dc579ca3cb105889df9952a9cc0fac98ecc1a306
https://github.com/WebKit/WebKit/commit/dc579ca3cb105889df9952a9cc0fac98ecc1a306
Author: Vitaly Dyachkov <vitaly at igalia.com>
Date: 2023-03-13 (Mon, 13 Mar 2023)
Changed paths:
A LayoutTests/fast/text/variations/basic-properties-expected.html
A LayoutTests/fast/text/variations/basic-properties.html
A LayoutTests/fast/text/variations/resources/AmstelvarAlpha-VF.woff2
A LayoutTests/fast/text/variations/resources/Roboto-VF.woff2
A LayoutTests/fast/text/variations/resources/jost-VF.woff2
M Source/WebCore/platform/graphics/freetype/FontCacheFreeType.cpp
M Source/WebCore/platform/graphics/freetype/FontCacheFreeType.h
M Source/WebCore/platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp
Log Message:
-----------
Cherry-pick 261566 at main (2d385163e7ce). https://bugs.webkit.org/show_bug.cgi?id=177039
[Freetype] Apply basic font properties as font variation settings
https://bugs.webkit.org/show_bug.cgi?id=177039
Reviewed by Carlos Garcia Campos.
This patch makes sure that the basic font properties,
such as `font-weight`, `font-width`, and `font-style`,
are applied in the same way as `font-variation-settings`.
* LayoutTests/fast/text/variations/basic-properties-expected.html: Added.
* LayoutTests/fast/text/variations/basic-properties.html: Added.
* LayoutTests/fast/text/variations/resources/AmstelvarAlpha-VF.woff2: Added.
* LayoutTests/fast/text/variations/resources/Roboto-VF.woff2: Added.
* LayoutTests/fast/text/variations/resources/jost-VF.woff2: Added.
* Source/WebCore/platform/graphics/freetype/FontCacheFreeType.cpp:
(WebCore::buildVariationSettings):
Canonical link: https://commits.webkit.org/261566@main
More information about the webkit-changes
mailing list