[webkit-changes] [WebKit/WebKit] 2d3851: [Freetype] Apply basic font properties as font var...

Vitaly Dyachkov noreply at github.com
Mon Mar 13 02:52:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2d385163e7ceddebc0e2e89eed17b1d4de4fa7fc
      https://github.com/WebKit/WebKit/commit/2d385163e7ceddebc0e2e89eed17b1d4de4fa7fc
  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:
  -----------
  [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