Skip to content

CoreText macOS xcode14.0 beta4

Manuel de la Pena edited this page Aug 2, 2022 · 3 revisions

#CoreText.framework https://github.com/xamarin/xamarin-macios/pull/15606

diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h	2022-06-30 09:28:04.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h	2022-07-22 10:05:22.000000000 -0400
@@ -222,12 +222,16 @@
     @abstract   Options for descriptor match and font creation.
     @constant   kCTFontOptionsPreventAutoActivation
                 Prevents automatic font activation from taking place.
+                This option is available only on macOS and will be deprecated on other platforms in the future.
+    @constant   kCTFontOptionsPreventAutoDownload
+                Prevents automatic font download from taking place.
     @constant   kCTFontOptionsPreferSystemFont
                 Font matching will prefer to match Apple system fonts.
 */
 typedef CF_OPTIONS(CFOptionFlags, CTFontOptions) {
     kCTFontOptionsDefault               = 0,
     kCTFontOptionsPreventAutoActivation = 1 << 0,
+    kCTFontOptionsPreventAutoDownload   CT_ENUM_AVAILABLE(macos(13.0)) =  1 << 1,
     kCTFontOptionsPreferSystemFont      = 1 << 2
 };
 
Clone this wiki locally