Skip to content

CoreText iOS xcode14.0 beta1

Manuel de la Pena edited this page Jul 18, 2022 · 3 revisions

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

diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h	2022-02-23 07:15:09.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h	2022-06-03 18:06:05.000000000 -0400
@@ -2,7 +2,7 @@
  *  CTFont.h
  *  CoreText
  *
- *  Copyright (c) 2006-2020 Apple Inc. All rights reserved.
+ *  Copyright (c) 2006-2022 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, the default font size of 12.0 will be used.
+                The point size for the font reference. If 0.0 is specified and the font descriptor does not specifiy the size, 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.
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h	2022-02-23 07:55:01.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h	2022-05-31 15:01:50.000000000 -0400
@@ -2,7 +2,7 @@
  *  CTFontDescriptor.h
  *  CoreText
  *
- *  Copyright (c) 2006-2020 Apple Inc. All rights reserved.
+ *  Copyright (c) 2006-2022 Apple Inc. All rights reserved.
  *
  */
 
@@ -97,6 +97,8 @@
 /*!
     @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_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h	2022-02-23 07:12:57.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h	2022-05-31 15:01:38.000000000 -0400
@@ -89,6 +89,7 @@
 
     @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