-
Notifications
You must be signed in to change notification settings - Fork 542
CoreText iOS xcode26.0 b1
Alex Soto edited this page Jun 9, 2025
·
1 revision
#CoreText.framework
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h 2025-04-19 02:19:47
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h 2025-05-23 06:33:29
@@ -336,8 +336,9 @@
A CFDictionaryRef of arbitrary attributes.
@result This function creates a new copy of the original font descriptor with attributes augmented by those specified. If there are conflicts between attributes, the new attributes will replace existing ones, except for kCTFontVariationAttribute and kCTFontFeatureSettingsAttribute which will be merged.
-
Starting with macOS 10.12 and iOS 10.0, setting the value of kCTFontFeatureSettingsAttribute to kCFNull will clear the feature settings of the original font descriptor. Setting the value of any individual feature settings pair in the kCTFontFeatureSettingsAttribute value array to kCFNull will clear that feature setting alone. For example, an element like @{ (id)kCTFontFeatureTypeIdentifierKey: @(kLigaturesType), (id)kCTFontFeatureSelectorIdentifierKey: (id)kCFNull } means clear the kLigatureType feature set in the original font descriptor. An element like @[ @"liga", (id)kCFNull ] will have the same effect.
+
+ @seealso kCTFontFeatureSettingsAttribute
*/
CT_EXPORT
CTFontDescriptorRef CTFontDescriptorCreateCopyWithAttributes(
@@ -419,6 +420,9 @@
The feature selector identifier.
@result A copy of the original font descriptor modified with the given feature settings.
+
+ @seealso CTFontDescriptorCreateCopyWithAttributes
+ @seealso kCTFontFeatureSettingsAttribute
*/
CT_EXPORT
CTFontDescriptorRef CTFontDescriptorCreateCopyWithFeature(