[webkit-changes] [WebKit/WebKit] 5051fe: [Win] Reduce cairo win32 font API usage
Fujii Hironori
noreply at github.com
Fri Oct 6 14:19:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5051fe83ad0c60f63ecc59b3cc91c4b3a7bca8ec
https://github.com/WebKit/WebKit/commit/5051fe83ad0c60f63ecc59b3cc91c4b3a7bca8ec
Author: Fujii Hironori <Hironori.Fujii at sony.com>
Date: 2023-10-06 (Fri, 06 Oct 2023)
Changed paths:
M LayoutTests/platform/wincairo/TestExpectations
M LayoutTests/platform/wincairo/fast/text/whitespace/nowrap-clear-float-expected.txt
M Source/WebCore/platform/graphics/FontPlatformData.h
M Source/WebCore/platform/graphics/win/FontPlatformDataCairoWin.cpp
M Source/WebCore/platform/graphics/win/FontPlatformDataWin.cpp
M Source/WebCore/platform/graphics/win/SimpleFontDataCairoWin.cpp
Log Message:
-----------
[Win] Reduce cairo win32 font API usage
https://bugs.webkit.org/show_bug.cgi?id=262768
Reviewed by Don Olmstead.
As a preparation of migration to cairo dwrite font backend
(bug#215259), use Windows GDI API to get font information instead of
cairo win32 font API.
Windows port is still using the legacy Uniscribe API for shaping. The
legacy Windows GDI API should be replaced by DirectWrite in the
futute.
* Source/WebCore/platform/graphics/FontPlatformData.h:
* Source/WebCore/platform/graphics/win/FontPlatformDataCairoWin.cpp:
(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:
Canonical link: https://commits.webkit.org/269016@main
More information about the webkit-changes
mailing list