Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3b5afeaaf5da200e9becf2136000d85c63eafcad
      
https://github.com/WebKit/WebKit/commit/3b5afeaaf5da200e9becf2136000d85c63eafcad
  Author: Gavin Phillips <[email protected]>
  Date:   2025-12-08 (Mon, 08 Dec 2025)

  Changed paths:
    M Source/WebCore/Configurations/AllowedSPI.toml
    M Source/WebCore/PAL/pal/spi/cf/CoreTextSPI.h
    M Source/WebCore/platform/graphics/FontPlatformData.h
    M Source/WebCore/platform/graphics/coretext/FontCoreText.cpp
    M Source/WebCore/platform/graphics/coretext/FontPlatformDataCoreText.cpp
    M Source/WebKit/Shared/WebCoreFont.serialization.in

  Log Message:
  -----------
  System UI Font Extraction should use CTFontGetUIFontType as opposed to the 
"." internal postfix name
rdar://164085378
https://bugs.webkit.org/show_bug.cgi?id=302004

Reviewed by Brent Fulgham and Vitor Roriz.

Ports resolution of System fonts to us the SystemUI font name as
opposed to the internal "." postfix name. We introduce a new
SystemUIFont InstalledFont type in order to handle serialization
in this manner.

* Source/WebCore/Configurations/AllowedSPI.toml:
* Source/WebCore/PAL/pal/spi/cf/CoreTextSPI.h:
* Source/WebCore/platform/graphics/FontPlatformData.h:
* Source/WebCore/platform/graphics/coretext/FontCoreText.cpp:
(WebCore::Font::toSerializableInstalledFont const):
* Source/WebCore/platform/graphics/coretext/FontPlatformDataCoreText.cpp:
(WebCore::InstalledFont::SystemUIFont::toCTFont const):
(WebCore::InstalledFont::PostScriptFont::toCTFont const):
(WebCore::InstalledFont::toCTFont const):
(WebCore::InstalledFont::toFont const):
* Source/WebKit/Shared/WebCoreFont.serialization.in:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to