[webkit-changes] [WebKit/WebKit] 231055: Fix build with -DENABLE_GPU_PROCESS=ON in FontPlat...

Pablo Saavedra Rodiño noreply at github.com
Tue Nov 21 06:57:24 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 231055e2de887f89b2856dd7af4c17a48e3dc337
      https://github.com/WebKit/WebKit/commit/231055e2de887f89b2856dd7af4c17a48e3dc337
  Author: Pablo Saavedra <psaavedra at igalia.com>
  Date:   2023-11-21 (Tue, 21 Nov 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/freetype/FontPlatformDataFreeType.cpp

  Log Message:
  -----------
  Fix build with -DENABLE_GPU_PROCESS=ON in FontPlatformDataFreeType.cpp
https://bugs.webkit.org/show_bug.cgi?id=265037

Reviewed by Carlos Garcia Campos.

Add the FontPlatformData::create() method for the freetype specialization
of the FontPlatformData factory.

The create() method brings back the lost code from the 4b35edbdccf87
'[FreeType] Add initial implementation of variation fonts' commit.

* Source/WebCore/platform/graphics/freetype/FontPlatformDataFreeType.cpp:
(WebCore::FontPlatformData::create):
(WebCore::FontPlatformData::attributes const):

Canonical link: https://commits.webkit.org/271015@main




More information about the webkit-changes mailing list