Skip to content

CoreText macOS xcode14.0 rc

Israel Soto edited this page Sep 7, 2022 · 1 revision

#CoreText.framework

diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h	2022-08-06 02:27:59.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h	2022-08-03 21:04:44.000000000 -0500
@@ -2,7 +2,7 @@
  *  CTFont.h
  *  CoreText
  *
- *  Copyright (c) 2006-2022 Apple Inc. All rights reserved.
+ *  Copyright (c) 2006-2020 Apple Inc. All rights reserved.
  *
  */
 
@@ -191,7 +191,7 @@
                 A font descriptor containing attributes that specify the requested font.
 
     @param      size
-                The point size for the font reference. If 0.0 is specified and the font descriptor does not specify the size, the default font size of 12.0 will be used.
+                The point size for the font reference. If 0.0 is specified, the default font size of 12.0 will be used.
 
     @param      matrix
                 The transformation matrix for the font. If unspecified, the identity matrix will be used. Optional.
@@ -222,16 +222,12 @@
     @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
 };
 
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h	2022-08-05 15:52:36.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h	2022-08-03 21:04:44.000000000 -0500
@@ -2,7 +2,7 @@
  *  CTFontDescriptor.h
  *  CoreText
  *
- *  Copyright (c) 2006-2022 Apple Inc. All rights reserved.
+ *  Copyright (c) 2006-2020 Apple Inc. All rights reserved.
  *
  */
 
@@ -97,8 +97,6 @@
 /*!
     @defined    kCTFontVariationAxesAttribute
     @discussion An array of variation axis dictionaries or null if the font does not support variations. Each variation axis dictionary contains the five kCTFontVariationAxis* keys.
-                Before macOS 13.0 and iOS 16.0 this attribute is not accurate and CTFontCopyVariationAxes() should be used instead.
-    @seealso    CTFontCopyVariationAxes
 */
 CT_EXPORT const CFStringRef kCTFontVariationAxesAttribute CT_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0));
 /*!
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h	2022-08-05 12:39:38.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h	2022-08-03 21:04:43.000000000 -0500
@@ -2,7 +2,7 @@
  *  CTFontManager.h
  *  CoreText
  *
- *  Copyright (c) 2008-2022 Apple Inc. All rights reserved.
+ *  Copyright (c) 2008-2021 Apple Inc. All rights reserved.
  *
  */
 
@@ -348,6 +348,7 @@
 	CFArrayRef              fontDescriptors,
 	CTFontManagerScope      scope,
 	bool                    (^ _Nullable registrationHandler)(CFArrayRef errors, bool done) ) CT_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0), tvos(13.0));
+#endif // defined(__BLOCKS__)
 
 /*!
 	@function   CTFontManagerRegisterFontsWithAssetNames
@@ -377,7 +378,6 @@
 	CTFontManagerScope      scope,
 	bool                    enabled,
 	bool                    (^ _Nullable registrationHandler)(CFArrayRef errors, bool done) ) CT_AVAILABLE(ios(13.0)) API_UNAVAILABLE(macos, watchos, tvos);
-#endif // defined(__BLOCKS__)
 
 /*!
     @function   CTFontManagerEnableFontDescriptors
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h	2022-08-05 15:54:48.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h	2022-08-03 21:04:43.000000000 -0500
@@ -89,7 +89,6 @@
 
     @seealso    kCTKernAttributeName
     @seealso    kCTLigatureAttributeName
-    @seealso    CTLineGetTrailingWhitespaceWidth
 */
 
 CT_EXPORT const CFStringRef kCTTrackingAttributeName CT_AVAILABLE(macos(10.12), ios(10.0), watchos(3.0), tvos(10.0));
Clone this wiki locally