Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4fc463d4e6296b020cf1243b712463b7a4b8b0da
      
https://github.com/WebKit/WebKit/commit/4fc463d4e6296b020cf1243b712463b7a4b8b0da
  Author: Gavin Phillips <[email protected]>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M Source/WebCore/Configurations/AllowedSPI.toml
    M Source/WebCore/PAL/pal/spi/cf/CoreTextSPI.h
    M Source/WebCore/editing/cocoa/AttributedString.h
    M Source/WebCore/editing/cocoa/AttributedString.mm
    M Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/NSAttributedStringWebKitAdditions.mm

  Log Message:
  -----------
  Only serialize installed fonts attributes for WebCore::AttributedString
https://bugs.webkit.org/show_bug.cgi?id=299174
<rdar://problem/161175544>

Reviewed by Alex Christensen.

This change modifies our WebCore::AttributedString serialzation to only support
installed fonts.

Test: Tools/TestWebKitAPI/Tests/WebKitCocoa/NSAttributedStringWebKitAdditions.mm
* Source/WebCore/Configurations/AllowedSPI.toml:
* Source/WebCore/PAL/pal/spi/cf/CoreTextSPI.h:
* Source/WebCore/editing/cocoa/AttributedString.h:
* Source/WebCore/editing/cocoa/AttributedString.mm:
(WebCore::toNSObject):
(WebCore::extractValue):
(WebCore::AttributedString::FontWrapper::createFromIPCData):
(WebCore::AttributedString::FontWrapper::postScriptName const):
(WebCore::AttributedString::FontWrapper::pointSize const):
* Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/NSAttributedStringWebKitAdditions.mm:
(TEST(NSAttributedStringWebKitAdditions, InstalledFont)):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to