Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d3671f566b6e5bfc9a31a795d336b43d17c1c1e3
      
https://github.com/WebKit/WebKit/commit/d3671f566b6e5bfc9a31a795d336b43d17c1c1e3
  Author: Claudio Saavedra <[email protected]>
  Date:   2023-11-16 (Thu, 16 Nov 2023)

  Changed paths:
    M Source/WebCore/css/CSSFontFace.cpp
    M Source/WebCore/platform/graphics/Font.cpp
    M Source/WebCore/platform/graphics/Font.h
    M Source/WebCore/platform/graphics/freetype/SimpleFontDataFreeType.cpp
    M Source/WebKit/Shared/WebCoreArgumentCoders.cpp
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  Port Font enums to the new IPC serialization format
https://bugs.webkit.org/show_bug.cgi?id=264883

Reviewed by Chris Dumez.

Move the serializable enums out of the Font class, remove
the EnumTraits bits, and port the serialization to the
generator format.

Also take the opportunity to rename Font::Interstitial
and Font::OrientationFallback to Font::IsInterstitial
and Font::IsOrientationFallback respectively, to better
match their boolean nature.

* Source/WebCore/css/CSSFontFace.cpp:
(WebCore::CSSFontFace::font):
* Source/WebCore/platform/graphics/Font.cpp:
(WebCore::Font::create):
(WebCore::Font::Font):
(WebCore::m_shouldNotBeUsedForArabic):
(WebCore::Font::verticalRightOrientationFont const):
(WebCore::Font::uprightOrientationFont const):
(WebCore::Font::invisibleFont const):
(WebCore::Font::brokenIdeographFont const):
* Source/WebCore/platform/graphics/Font.h:
(WebCore::Font::isTextOrientationFallback const):
(WebCore::Font::isInterstitial const):
* Source/WebCore/platform/graphics/freetype/SimpleFontDataFreeType.cpp:
(WebCore::Font::platformCreateScaledFont const):
* Source/WebKit/Shared/WebCoreArgumentCoders.cpp:
(IPC::ArgumentCoder<Font::Attributes>::decode):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to