[webkit-changes] [WebKit/WebKit] 21e5a2: Remove obsolete useGDI code path and FontRendering...
Fujii Hironori
noreply at github.com
Fri Mar 3 03:06:17 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 21e5a249467d6356fa3cdacb6f49e12b542850fc
https://github.com/WebKit/WebKit/commit/21e5a249467d6356fa3cdacb6f49e12b542850fc
Author: Fujii Hironori <Hironori.Fujii at sony.com>
Date: 2023-03-03 (Fri, 03 Mar 2023)
Changed paths:
M Source/WebCore/Headers.cmake
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/page/DragController.cpp
M Source/WebCore/page/Settings.yaml
M Source/WebCore/page/SettingsBase.h
M Source/WebCore/platform/DragImage.cpp
M Source/WebCore/platform/DragImage.h
M Source/WebCore/platform/cocoa/DragImageCocoa.mm
M Source/WebCore/platform/graphics/FontCascade.h
M Source/WebCore/platform/graphics/FontCascadeCache.h
M Source/WebCore/platform/graphics/FontDescription.cpp
M Source/WebCore/platform/graphics/FontDescription.h
M Source/WebCore/platform/graphics/FontPlatformData.h
M Source/WebCore/platform/graphics/win/ComplexTextControllerUniscribe.cpp
M Source/WebCore/platform/graphics/win/FontCacheWin.cpp
R Source/WebCore/platform/graphics/win/FontCustomPlatformData.cpp
M Source/WebCore/platform/graphics/win/FontCustomPlatformDataWin.cpp
M Source/WebCore/platform/graphics/win/FontPlatformDataCairoWin.cpp
M Source/WebCore/platform/graphics/win/FontPlatformDataWin.cpp
M Source/WebCore/platform/graphics/win/SimpleFontDataCairoWin.cpp
M Source/WebCore/platform/graphics/win/SimpleFontDataWin.cpp
M Source/WebCore/platform/gtk/DragImageGtk.cpp
M Source/WebCore/platform/ios/DragImageIOS.mm
R Source/WebCore/platform/text/FontRenderingMode.h
M Source/WebCore/platform/win/DragImageWin.cpp
M Source/WebCore/rendering/RenderEmbeddedObject.cpp
M Source/WebCore/style/StyleResolveForDocument.cpp
M Source/WebCore/style/StyleResolver.cpp
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
M Source/WebKit/Shared/win/WebCoreArgumentCodersWin.cpp
Log Message:
-----------
Remove obsolete useGDI code path and FontRenderingMode enum
https://bugs.webkit.org/show_bug.cgi?id=206273
Reviewed by Alex Christensen.
These code was used only by AppleWin port.
Define cWindowsFontScaleFactor to remove the magic number 32.
* Source/WebCore/Headers.cmake:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/page/DragController.cpp:
(WebCore::DragController::startDrag):
* Source/WebCore/page/Settings.yaml:
* Source/WebCore/page/SettingsBase.h:
* Source/WebCore/platform/DragImage.cpp:
(WebCore::createDragImageForLink):
* Source/WebCore/platform/DragImage.h:
* Source/WebCore/platform/cocoa/DragImageCocoa.mm:
(WebCore::createDragImageForLink):
* Source/WebCore/platform/graphics/FontCascade.h:
(WebCore::FontCascade::renderingMode const): Deleted.
* Source/WebCore/platform/graphics/FontCascadeCache.h:
(WebCore::FontDescriptionKey::makeFlagsKey):
* Source/WebCore/platform/graphics/FontDescription.cpp:
* Source/WebCore/platform/graphics/FontDescription.h:
(WebCore::FontDescription::fontSelectionRequest const):
(WebCore::FontDescription::setWeight):
(WebCore::FontDescription::operator== const):
(WebCore::FontDescription::encode const):
(WebCore::FontDescription::decode):
(WebCore::FontDescription::renderingMode const): Deleted.
(WebCore::FontDescription::setRenderingMode): Deleted.
* Source/WebCore/platform/graphics/FontPlatformData.h:
(WebCore::FontPlatformData::hfont const):
(WebCore::FontPlatformData::useGDI const): Deleted.
(WebCore::FontPlatformData::cgFont const): Deleted.
* Source/WebCore/platform/graphics/win/ComplexTextControllerUniscribe.cpp:
(WebCore::ComplexTextController::collectComplexTextRunsForCharacters):
* Source/WebCore/platform/graphics/win/FontCacheWin.cpp:
(WebCore::FontCache::lastResortFallbackFont):
(WebCore::createGDIFont):
(WebCore::FontCache::createFontPlatformData):
* Source/WebCore/platform/graphics/win/FontCustomPlatformData.cpp: Removed.
* Source/WebCore/platform/graphics/win/FontCustomPlatformDataWin.cpp:
(WebCore::FontCustomPlatformData::fontPlatformData):
* Source/WebCore/platform/graphics/win/FontPlatformDataCairoWin.cpp:
(WebCore::FontPlatformData::platformDataInit):
(WebCore::FontPlatformData::platformIsEqual const):
* Source/WebCore/platform/graphics/win/FontPlatformDataWin.cpp:
(WebCore::FontPlatformData::FontPlatformData):
* Source/WebCore/platform/graphics/win/SimpleFontDataCairoWin.cpp:
(WebCore::Font::platformInit):
* Source/WebCore/platform/graphics/win/SimpleFontDataWin.cpp:
(WebCore::Font::platformCharWidthInit):
(WebCore::Font::platformCreateScaledFont const):
* Source/WebCore/platform/gtk/DragImageGtk.cpp:
(WebCore::createDragImageForLink):
* Source/WebCore/platform/ios/DragImageIOS.mm:
(WebCore::createDragImageForLink):
* Source/WebCore/platform/text/FontRenderingMode.h: Removed.
* Source/WebCore/platform/win/DragImageWin.cpp:
(WebCore::dragLabelFont):
(WebCore::createDragImageForLink):
* Source/WebCore/rendering/RenderEmbeddedObject.cpp:
(WebCore::RenderEmbeddedObject::getReplacementTextGeometry const):
* Source/WebCore/style/StyleResolveForDocument.cpp:
(WebCore::Style::resolveForDocument):
* Source/WebCore/style/StyleResolver.cpp:
(WebCore::Style::Resolver::defaultStyleForElement):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
* Source/WebKit/Shared/win/WebCoreArgumentCodersWin.cpp:
(IPC::ArgumentCoder<Font>::decodePlatformData):
Canonical link: https://commits.webkit.org/261133@main
More information about the webkit-changes
mailing list