Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d57febaa8b2ff0ea3570d7330f6728b859df5b7b
      
https://github.com/WebKit/WebKit/commit/d57febaa8b2ff0ea3570d7330f6728b859df5b7b
  Author: Vitor Roriz <[email protected]>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M Source/WebCore/PAL/pal/spi/cf/CoreTextSPI.h
    M Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp

  Log Message:
  -----------
  Remove uses of CTFontCopyVariationAxesInternal in favor of the official API
https://bugs.webkit.org/show_bug.cgi?id=275977
rdar://130680716

Reviewed by Brent Fulgham.

Since macOS 13.0 / iOS 16.00, we can get the variation axes with non localized 
axes names
by reading the kCTFontVariationAxesAttribute from font's descriptor.

We can now deprecate the SPI function.

* Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp:
(WebCore::variationAxesWithNonLocalizedAxesNames):
(WebCore::variationAxes):
(WebCore::variationCapabilitiesForFontDescriptor):

Canonical link: https://commits.webkit.org/280537@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