Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0f066948ca64aeef6b9afbe74f078d7e46406b36
      
https://github.com/WebKit/WebKit/commit/0f066948ca64aeef6b9afbe74f078d7e46406b36
  Author: Fujii Hironori <hironori.fu...@sony.com>
  Date:   2023-10-12 (Thu, 12 Oct 2023)

  Changed paths:
    M LayoutTests/platform/wincairo/TestExpectations
    M Source/WebCore/PlatformWin.cmake
    M Source/WebCore/platform/graphics/cairo/FontCairo.cpp
    M Source/WebCore/platform/graphics/win/FontCustomPlatformDataWin.cpp
    M Source/WebCore/platform/graphics/win/FontPlatformDataCairoWin.cpp
    M Source/cmake/OptionsWin.cmake

  Log Message:
  -----------
  [WinCairo] Use Cairo DirectWrite font backend
https://bugs.webkit.org/show_bug.cgi?id=215259

Reviewed by Don Olmstead.

cairo 1.18.0 added the dwrite font backend. Use it instead of the
legacy cairo win32 font backend.

Windows port supports color font now. However, Windows port is still
using the lagacy Uniscribe API for shaping. It should be replaced by
DirectWrite in the future.

* Source/WebCore/PlatformWin.cmake:
* Source/WebCore/platform/graphics/FontPlatformData.h:
* Source/WebCore/platform/graphics/cairo/FontCairo.cpp:
(WebCore::FontCascade::drawGlyphs):
* Source/WebCore/platform/graphics/win/ComplexTextControllerUniscribe.cpp:
(WebCore::ComplexTextController::collectComplexTextRunsForCharacters):
* Source/WebCore/platform/graphics/win/FontCustomPlatformDataWin.cpp:
(WebCore::FontCustomPlatformData::fontPlatformData):
* Source/WebCore/platform/graphics/win/FontPlatformDataCairoWin.cpp:
(WebCore::getDWriteGdiInterop):
(WebCore::createCairoDWriteFontFace):
(WebCore::FontPlatformData::platformDataInit):
(WebCore::FontPlatformData::familyName const):
* Source/WebCore/platform/graphics/win/FontPlatformDataWin.cpp:
(WebCore::FontPlatformData::FontPlatformData):
* Source/WebCore/platform/graphics/win/SimpleFontDataCairoWin.cpp:
(WebCore::Font::platformInit):
* LayoutTests/platform/wincairo/TestExpectations:
* Source/cmake/OptionsWin.cmake:

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to