-
Notifications
You must be signed in to change notification settings - Fork 547
CoreText macOS xcode16.0 b2
Rolf Bjarne Kvinge edited this page Jun 26, 2024
·
2 revisions
#CoreText.framework
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h 2024-05-30 02:56:44
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h 2024-06-15 03:06:24
@@ -77,16 +77,16 @@
#define CF_ASSUME_NONNULL_END
# if defined(CT_BUILDING_CoreText) && defined(__cplusplus)
-# define CT_EXPORT extern "C" __declspec(dllexport)
+# define CT_EXPORT extern "C" __declspec(dllexport) __attribute__((visibility ("default")))
# elif defined(CT_BUILDING_CoreText) && !defined(__cplusplus)
-# define CT_EXPORT extern __declspec(dllexport)
+# define CT_EXPORT extern __declspec(dllexport) __attribute__((visibility ("default")))
# elif defined(__cplusplus)
-# define CT_EXPORT extern "C" __declspec(dllimport)
+# define CT_EXPORT extern "C" __declspec(dllimport) __attribute__((visibility ("default")))
# else
-# define CT_EXPORT extern __declspec(dllimport)
+# define CT_EXPORT extern __declspec(dllimport) __attribute__((visibility ("default")))
# endif
#else
-# define CT_EXPORT extern
+# define CT_EXPORT extern __attribute__((visibility ("default")))
#endif
#endif
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h 2024-05-30 10:39:20
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h 2024-06-15 11:31:00
@@ -43,6 +43,7 @@
@abstract Returns the type identifier for Core Text font references.
@result The identifier for the opaque type CTFontRef.
*/
+CT_EXPORT
CFTypeID CTFontGetTypeID( void ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*! --------------------------------------------------------------------------
@@ -164,6 +165,7 @@
@result This function will return a CTFontRef that best matches the name provided with size and matrix attributes. The name parameter is the only required parameters, and default values will be used for unspecified parameters. A best match will be found if all parameters cannot be matched identically.
*/
+CT_EXPORT
CTFontRef CTFontCreateWithName(
CFStringRef name,
CGFloat size,
@@ -198,6 +200,7 @@
@result This function will return a CTFontRef that best matches the attributes provided with the font descriptor. The size and matrix parameters will override any specified in the font descriptor, unless they are unspecified. A best match font will always be returned, and default values will be used for any unspecified.
*/
+CT_EXPORT
CTFontRef CTFontCreateWithFontDescriptor(
CTFontDescriptorRef descriptor,
CGFloat size,
@@ -256,6 +259,7 @@
@result This function will return a CTFontRef that best matches the name provided with size and matrix attributes. The name parameter is the only required parameters, and default values will be used for unspecified parameters. A best match will be found if all parameters cannot be matched identically.
*/
+CT_EXPORT
CTFontRef CTFontCreateWithNameAndOptions(
CFStringRef name,
CGFloat size,
@@ -280,6 +284,7 @@
@result This function will return a CTFontRef that best matches the attributes provided with the font descriptor. The size and matrix parameters will override any specified in the font descriptor, unless they are unspecified. A best match font will always be returned, and default values will be used for any unspecified.
*/
+CT_EXPORT
CTFontRef CTFontCreateWithFontDescriptorAndOptions(
CTFontDescriptorRef descriptor,
CGFloat size,
@@ -394,6 +399,7 @@
@result This function returns the correct font for various UI uses. The only required parameter is the uiType selector, unspecified optional parameters will use default values.
*/
+CT_EXPORT
CTFontRef _Nullable CTFontCreateUIFontForLanguage(
CTFontUIFontType uiType,
CGFloat size,
@@ -433,6 +439,7 @@
@result Returns a new font reference converted from the original with the specified attributes.
*/
+CT_EXPORT
CTFontRef CTFontCreateCopyWithAttributes(
CTFontRef font,
CGFloat size,
@@ -460,6 +467,7 @@
@result Returns a new font reference in the same family with the given symbolic traits, or NULL if none found in the system.
*/
+CT_EXPORT
CTFontRef _Nullable CTFontCreateCopyWithSymbolicTraits(
CTFontRef font,
CGFloat size,
@@ -485,6 +493,7 @@
@result Returns a new font reference with the original traits in the given family. NULL if non found in the system.
*/
+CT_EXPORT
CTFontRef _Nullable CTFontCreateCopyWithFamily(
CTFontRef font,
CGFloat size,
@@ -516,6 +525,7 @@
@seealso CTFontGetGlyphsForCharacters
@seealso kCTFontCascadeListAttribute
*/
+CT_EXPORT
CTFontRef CTFontCreateForString(
CTFontRef currentFont,
CFStringRef string,
@@ -545,6 +555,7 @@
@seealso CTFontGetGlyphsForCharacters
@seealso kCTFontCascadeListAttribute
*/
+CT_EXPORT
CTFontRef CTFontCreateForStringWithLanguage(
CTFontRef currentFont,
CFStringRef string,
@@ -578,6 +589,7 @@
@result This function returns a normalized font descriptor for a font. The font descriptor contains enough information to recreate this font at a later time.
*/
+CT_EXPORT
CTFontDescriptorRef CTFontCopyFontDescriptor(
CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -593,6 +605,7 @@
@result This function returns a retained reference to an arbitrary attribute. If the requested attribute is not present, NULL is returned. Refer to the attribute definitions for documentation as to how each attribute is packaged as a CFType.
*/
+CT_EXPORT
CFTypeRef _Nullable CTFontCopyAttribute(
CTFontRef font,
CFStringRef attribute ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -606,6 +619,7 @@
@result This function returns the point size of the given font reference. This is the point size provided when the font was created.
*/
+CT_EXPORT
CGFloat CTFontGetSize( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -617,6 +631,7 @@
@result This function returns the transformation matrix for this given font reference. This is the matrix that was provided when the font was created.
*/
+CT_EXPORT
CGAffineTransform CTFontGetMatrix( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -628,6 +643,7 @@
@result This function returns the symbolic traits of the font. This is equivalent to the kCTFontSymbolicTrait of traits dictionary. See CTFontTraits.h for a definition of the font traits.
*/
+CT_EXPORT
CTFontSymbolicTraits CTFontGetSymbolicTraits( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -639,6 +655,7 @@
@result This function returns a retained reference to the font traits dictionary. Individual traits can be accessed with the trait key constants. See CTFontTraits.h for a definition of the font traits.
*/
+CT_EXPORT
CFDictionaryRef CTFontCopyTraits( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -653,6 +670,7 @@
@result The ordered list of fallback fonts - ordered array of CTFontDescriptors.
*/
+CT_EXPORT
CFArrayRef _Nullable CTFontCopyDefaultCascadeListForLanguages( CTFontRef font, CFArrayRef _Nullable languagePrefList ) CT_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
/*! --------------------------------------------------------------------------
@@ -668,6 +686,7 @@
@result This function returns a retained reference to the PostScript name of the font.
*/
+CT_EXPORT
CFStringRef CTFontCopyPostScriptName( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -679,6 +698,7 @@
@result This function returns a retained reference to the family name of the font.
*/
+CT_EXPORT
CFStringRef CTFontCopyFamilyName( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -690,6 +710,7 @@
@result This function returns a retained reference to the full name of the font.
*/
+CT_EXPORT
CFStringRef CTFontCopyFullName( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -701,6 +722,7 @@
@result This function returns a retained reference to the localized display name of the font.
*/
+CT_EXPORT
CFStringRef CTFontCopyDisplayName( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -715,6 +737,7 @@
@result This function creates the requested name for the font, or NULL if the font does not have an entry for the requested name. The Unicode version of the name will be preferred, otherwise the first available will be used.
*/
+CT_EXPORT
CFStringRef _Nullable CTFontCopyName(
CTFontRef font,
CFStringRef nameKey ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -735,6 +758,7 @@
@result This function returns a specific localized name from the font reference. The name is localized based on the user's global language precedence. If the font does not have an entry for the requested name, NULL will be returned. The matched language will be returned in the caller's buffer.
*/
+CT_EXPORT
CFStringRef _Nullable CTFontCopyLocalizedName(
CTFontRef font,
CFStringRef nameKey,
@@ -753,6 +777,7 @@
@result This function returns a retained reference to the font's character set. This character set covers the nominal referenced by the font's Unicode cmap table (or equivalent).
*/
+CT_EXPORT
CFCharacterSetRef CTFontCopyCharacterSet( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -764,6 +789,7 @@
@result This function returns the best string encoding for the font.
*/
+CT_EXPORT
CFStringEncoding CTFontGetStringEncoding( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -775,6 +801,7 @@
@result This function returns a retained reference to an array of languages supported by the font. The array contains language identifier strings as CFStringRefs. The format of the language identifier will conform to UTS #35.
*/
+CT_EXPORT
CFArrayRef CTFontCopySupportedLanguages( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -799,6 +826,7 @@
@seealso CTFontCopyCharacterSet
*/
+CT_EXPORT
bool CTFontGetGlyphsForCharacters(
CTFontRef font,
const UniChar characters[_Nonnull],
@@ -818,6 +846,7 @@
@result This function returns the font ascent metric scaled based on the point size and matrix of the font reference.
*/
+CT_EXPORT
CGFloat CTFontGetAscent( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -829,6 +858,7 @@
@result This function returns the font descent metric scaled based on the point size and matrix of the font reference.
*/
+CT_EXPORT
CGFloat CTFontGetDescent( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -840,6 +870,7 @@
@result This function returns the font leading metric scaled based on the point size and matrix of the font reference.
*/
+CT_EXPORT
CGFloat CTFontGetLeading( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -851,6 +882,7 @@
@result This function returns the units per em of the font.
*/
+CT_EXPORT
unsigned CTFontGetUnitsPerEm( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -862,6 +894,7 @@
@result This function returns the number of glyphs in the font.
*/
+CT_EXPORT
CFIndex CTFontGetGlyphCount( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -873,6 +906,7 @@
@result This will return the design bounding box of the font, which is the rectangle defined by xMin, yMin, xMax, and yMax values for the font.
*/
+CT_EXPORT
CGRect CTFontGetBoundingBox( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -884,6 +918,7 @@
@result This function returns the font underline position metric scaled based on the point size and matrix of the font reference.
*/
+CT_EXPORT
CGFloat CTFontGetUnderlinePosition( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -895,6 +930,7 @@
@result This function returns the font underline thickness metric scaled based on the point size and matrix of the font reference.
*/
+CT_EXPORT
CGFloat CTFontGetUnderlineThickness( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -906,6 +942,7 @@
@result This function returns the transformed slant angle of the font. This is equivalent to the italic or caret angle with any skew from the transformation matrix applied.
*/
+CT_EXPORT
CGFloat CTFontGetSlantAngle( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -917,6 +954,7 @@
@result This function returns the font cap height metric scaled based on the point size and matrix of the font reference.
*/
+CT_EXPORT
CGFloat CTFontGetCapHeight( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -928,6 +966,7 @@
@result This function returns the font X height metric scaled based on the point size and matrix of the font reference.
*/
+CT_EXPORT
CGFloat CTFontGetXHeight( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*! --------------------------------------------------------------------------
@@ -946,6 +985,7 @@
@result The glyph with the specified name or 0 if the name is not recognized; this glyph can be used with other Core Text glyph data accessors or with Quartz.
*/
+CT_EXPORT
CGGlyph CTFontGetGlyphWithName(
CTFontRef font,
CFStringRef glyphName ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -964,6 +1004,7 @@
@seealso CTFontGetGlyphWithName
*/
+CT_EXPORT
CFStringRef _Nullable CTFontCopyNameForGlyph(
CTFontRef font,
CGGlyph glyph ) CT_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
@@ -989,6 +1030,7 @@
@result This function returns the overall bounding rectangle for an array or run of glyphs. The bounding rects of the individual glyphs are returned through the boundingRects parameter. These are the design metrics from the font transformed in font space.
*/
+CT_EXPORT
CGRect CTFontGetBoundingRectsForGlyphs(
CTFontRef font,
CTFontOrientation orientation,
@@ -1019,6 +1061,7 @@
@result This function returns the overall bounding rectangle for an array or run of glyphs. The bounding rects of the individual glyphs are returned through the boundingRects parameter. These are the design metrics from the font transformed in font space.
*/
+CT_EXPORT
CGRect CTFontGetOpticalBoundsForGlyphs(
CTFontRef font,
const CGGlyph glyphs[_Nonnull],
@@ -1047,6 +1090,7 @@
@result This function returns the summed glyph advance of an array of glyphs. Individual glyph advances are passed back via the advances parameter. These are the ideal metrics for each glyph scaled and transformed in font space.
*/
+CT_EXPORT
double CTFontGetAdvancesForGlyphs(
CTFontRef font,
CTFontOrientation orientation,
@@ -1070,6 +1114,7 @@
@param count
The capacity of the glyphs and translations buffers.
*/
+CT_EXPORT
void CTFontGetVerticalTranslationsForGlyphs(
CTFontRef font,
const CGGlyph glyphs[_Nonnull],
@@ -1093,6 +1138,7 @@
@result A retained CGPath reference containing the glyph outlines or NULL if there is no such glyph or it has no outline.
*/
+CT_EXPORT
CGPathRef _Nullable CTFontCreatePathForGlyph(
CTFontRef font,
CGGlyph glyph,
@@ -1148,6 +1194,7 @@
@result This function returns an array of variation axis dictionaries or null if the font does not support variations. Each variation axis dictionary contains the five kCTFontVariationAxis* keys above.
*/
+CT_EXPORT
CFArrayRef _Nullable CTFontCopyVariationAxes( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -1163,6 +1210,7 @@
@seealso kCTFontVariationAxisIdentifierKey
@seealso kCTFontVariationAxisDefaultValueKey
*/
+CT_EXPORT
CFDictionaryRef _Nullable CTFontCopyVariation( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*! --------------------------------------------------------------------------
@@ -1251,6 +1299,7 @@
@result This function returns an array of font feature dictionaries for the font reference.
*/
+CT_EXPORT
CFArrayRef _Nullable CTFontCopyFeatures( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -1264,6 +1313,7 @@
@result This function returns a normalized array of font feature setting dictionaries. The array will only contain the non-default settings that should be applied to the font, or NULL if the default settings should be used.
*/
+CT_EXPORT
CFArrayRef _Nullable CTFontCopyFeatureSettings( CTFontRef font ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*! --------------------------------------------------------------------------
@@ -1282,6 +1332,7 @@
@result This function returns a CGFontRef for the given font reference. Additional attributes from the font will be passed back as a font descriptor via the attributes parameter. The result must be released by the caller.
*/
+CT_EXPORT
CGFontRef CTFontCopyGraphicsFont(
CTFontRef font,
CTFontDescriptorRef _Nullable * _Nullable attributes ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -1304,6 +1355,7 @@
@result This function returns a new font reference for an existing CGFontRef with the specified size, matrix, and additional attributes.
*/
+CT_EXPORT
CTFontRef CTFontCreateWithGraphicsFont(
CGFontRef graphicsFont,
CGFloat size,
@@ -1328,6 +1380,7 @@
@result This function returns a an ATSFontRef for the given font reference. Additional attributes from the font will be passed back as a font descriptor via the attributes parameter.
*/
+CT_EXPORT
ATSFontRef CTFontGetPlatformFont(
CTFontRef font,
CTFontDescriptorRef _Nullable * _Nullable attributes ) CT_DEPRECATED("ATS is deprecated", macos(10.5, 11.0)) CT_UNAVAILABLE(ios, watchos, tvos);
@@ -1350,6 +1403,7 @@
@result This function returns a new font reference for an ATSFontRef with the specified size, matrix, and additional attributes.
*/
+CT_EXPORT
CTFontRef _Nullable CTFontCreateWithPlatformFont(
ATSFontRef platformFont,
CGFloat size,
@@ -1376,6 +1430,7 @@
@result This function returns the best font instance matching the Quickdraw instance information.
*/
+CT_EXPORT
CTFontRef CTFontCreateWithQuickdrawInstance(
ConstStr255Param _Nullable name,
int16_t identifier,
@@ -1486,6 +1541,7 @@
@result This function returns an array of CTFontTableTag values for the given font and the supplied options. The returned set will contain unboxed values, which may be extracted like so:
<code>CTFontTableTag tag = (CTFontTableTag)(uintptr_t)CFArrayGetValueAtIndex(tags, index);</code>
*/
+CT_EXPORT
CFArrayRef _Nullable CTFontCopyAvailableTables(
CTFontRef font,
CTFontTableOptions options ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -1505,6 +1561,7 @@
@result This function returns a retained reference to the font table data as CFDataRef or NULL if the table is not present.
*/
+CT_EXPORT
CFDataRef _Nullable CTFontCopyTable(
CTFontRef font,
CTFontTableTag table,
@@ -1532,8 +1589,9 @@
@param context
CGContext used to render the glyphs.
*/
+CT_EXPORT
void CTFontDrawGlyphs(
- CTFontRef font,
+ CTFontRef font,
const CGGlyph glyphs[_Nonnull],
const CGPoint positions[_Nonnull],
size_t count,
@@ -1564,6 +1622,7 @@
@result Returns the number of caret positions for the specified glyph.
*/
+CT_EXPORT
CFIndex CTFontGetLigatureCaretPositions(
CTFontRef font,
CGGlyph glyph,
@@ -1674,8 +1733,10 @@
@seealso CTAdaptiveImageProviding
*/
#if defined(__OBJC__)
+CT_EXPORT
CGRect CTFontGetTypographicBoundsForAdaptiveImageProvider(CTFontRef font, id<CTAdaptiveImageProviding> _Nullable provider) CT_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0));
#else
+CT_EXPORT
CGRect CTFontGetTypographicBoundsForAdaptiveImageProvider(CTFontRef font, CFTypeRef _Nullable provider) CT_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0));
#endif
@@ -1701,8 +1762,10 @@
@seealso CTAdaptiveImageProviding
*/
#if defined(__OBJC__)
+CT_EXPORT
void CTFontDrawImageFromAdaptiveImageProviderAtPoint(CTFontRef font, id<CTAdaptiveImageProviding> provider, CGPoint point, CGContextRef context) CT_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0));
#else
+CT_EXPORT
void CTFontDrawImageFromAdaptiveImageProviderAtPoint(CTFontRef font, CFTypeRef provider, CGPoint point, CGContextRef context) CT_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0));
#endif
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h 2024-05-30 04:35:37
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h 2024-06-15 03:06:24
@@ -54,6 +54,7 @@
@abstract Returns the type identifier for Core Text font collection references.
@result The identifier for the opaque types CTFontCollectionRef or CTMutableFontCollectionRef.
*/
+CT_EXPORT
CFTypeID CTFontCollectionGetTypeID( void ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*!
@@ -104,6 +105,7 @@
@result This function creates a new collection containing all fonts available to the current application.
*/
+CT_EXPORT
CTFontCollectionRef CTFontCollectionCreateFromAvailableFonts(
CFDictionaryRef _Nullable options ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -119,6 +121,7 @@
@result This function creates a new collection based on the provided font descriptors. The contents of this collection is defined by matching the provided descriptors against all available font descriptors.
*/
+CT_EXPORT
CTFontCollectionRef CTFontCollectionCreateWithFontDescriptors(
CFArrayRef _Nullable queryDescriptors,
CFDictionaryRef _Nullable options ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -138,6 +141,7 @@
@result This function creates a copy of the original font collection augmented by the new font descriptors and options. The new font descriptors are merged with the existing descriptors to create a single set.
*/
+CT_EXPORT
CTFontCollectionRef CTFontCollectionCreateCopyWithFontDescriptors(
CTFontCollectionRef original,
CFArrayRef _Nullable queryDescriptors,
@@ -152,6 +156,7 @@
@result This function creates a mutable copy of the original font collection.
*/
+CT_EXPORT
CTMutableFontCollectionRef CTFontCollectionCreateMutableCopy(
CTFontCollectionRef original ) CT_AVAILABLE(macos(10.7)) CT_UNAVAILABLE(ios, watchos, tvos);
@@ -168,6 +173,7 @@
@result This function returns a retained reference to the array of descriptors to be used to query (match) the system font database. The return value is undefined if CTFontCollectionCreateFromAvailableFonts was used to create the collection.
*/
+CT_EXPORT
CFArrayRef _Nullable CTFontCollectionCopyQueryDescriptors(
CTFontCollectionRef collection ) CT_AVAILABLE(macos(10.7)) CT_UNAVAILABLE(ios, watchos, tvos);
@@ -181,6 +187,7 @@
@param descriptors
An array of CTFontDescriptorRef. May be NULL to represent an empty collection, in which case the matching descriptors will also be NULL.
*/
+CT_EXPORT
void CTFontCollectionSetQueryDescriptors(
CTMutableFontCollectionRef collection,
CFArrayRef _Nullable descriptors ) CT_AVAILABLE(macos(10.7)) CT_UNAVAILABLE(ios, watchos, tvos);
@@ -194,6 +201,7 @@
@result This function returns a retained reference to the array of descriptors to be used to query (match) the system font database.
*/
+CT_EXPORT
CFArrayRef _Nullable CTFontCollectionCopyExclusionDescriptors( CTFontCollectionRef collection ) CT_AVAILABLE(macos(10.7)) CT_UNAVAILABLE(ios, watchos, tvos);
/*!
@@ -206,6 +214,7 @@
@param descriptors
An array of CTFontDescriptorRef. May be NULL.
*/
+CT_EXPORT
void CTFontCollectionSetExclusionDescriptors(
CTMutableFontCollectionRef collection,
CFArrayRef _Nullable descriptors ) CT_AVAILABLE(macos(10.7)) CT_UNAVAILABLE(ios, watchos, tvos);
@@ -223,6 +232,7 @@
@result An array of CTFontDescriptors matching the collection definition or NULL if there are none.
*/
+CT_EXPORT
CFArrayRef _Nullable CTFontCollectionCreateMatchingFontDescriptors(
CTFontCollectionRef collection ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -241,6 +251,7 @@
@result An array of CTFontDescriptors matching the criteria of the collection, sorted by the results of the sorting callback function, or NULL if there are none.
*/
+CT_EXPORT
CFArrayRef _Nullable CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback(
CTFontCollectionRef collection,
CTFontCollectionSortDescriptorsCallback _Nullable sortCallback,
@@ -258,6 +269,7 @@
@result An array of CTFontDescriptors matching the collection definition or NULL if there are none.
*/
+CT_EXPORT
CFArrayRef _Nullable CTFontCollectionCreateMatchingFontDescriptorsWithOptions(
CTFontCollectionRef collection,
CFDictionaryRef _Nullable options ) CT_AVAILABLE(macos(10.7), ios(12.0), watchos(5.0), tvos(12.0));
@@ -274,6 +286,7 @@
@result An array of CTFontDescriptors matching the specified family in the collection or NULL if there are none.
*/
+CT_EXPORT
CFArrayRef _Nullable CTFontCollectionCreateMatchingFontDescriptorsForFamily(
CTFontCollectionRef collection,
CFStringRef familyName,
@@ -313,6 +326,7 @@
@result An array containing one value for each descriptor. With kCTFontCollectionCopyDefaultOptions, the values will be in the same order as the results from CTFontCollectionCreateMatchingFontDescriptors and NULL values will be transformed to kCFNull. When the kCTFontCollectionCopyUnique is set, duplicate values will be removed. When kCTFontCollectionCopyStandardSort is set, the values will be sorted in standard UI order.
*/
+CT_EXPORT
CFArrayRef CTFontCollectionCopyFontAttribute(
CTFontCollectionRef collection,
CFStringRef attributeName,
@@ -333,6 +347,7 @@
@result An array containing one CFDictionary value for each descriptor mapping the requested attribute names. With kCTFontCollectionCopyDefaultOptions, the values will be in the same order as the results from CTFontCollectionCreateMatchingFontDescriptors. When the kCTFontCollectionCopyUnique is set, duplicate values will be removed. When kCTFontCollectionCopyStandardSort is set, the values will be sorted in standard UI order.
*/
+CT_EXPORT
CFArrayRef CTFontCollectionCopyFontAttributes(
CTFontCollectionRef collection,
CFSetRef attributeNames,
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h 2024-05-30 05:16:22
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h 2024-06-15 11:43:13
@@ -46,6 +46,7 @@
references.
@result The identifier for the opaque type CTFontDescriptorRef.
*/
+CT_EXPORT
CFTypeID CTFontDescriptorGetTypeID( void ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
/*! --------------------------------------------------------------------------
@@ -306,6 +307,7 @@
@discussion If you are trying to create a system UI font descriptor (with name beginning with a "."), you should create a font with CTFontCreateUIFontForLanguage() or appropriate AppKit/UIKit APIs instead, then use CTFontCopyFontDescriptor() to get its font descriptor.
*/
+CT_EXPORT
CTFontDescriptorRef CTFontDescriptorCreateWithNameAndSize(
CFStringRef name,
CGFloat size ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -319,6 +321,7 @@
@result This function creates a new font descriptor with the attributes specified. This dictionary can contain arbitrary attributes that will be preserved, however unrecognized attributes will be ignored on font creation and and may not be preserved over the round trip (descriptor -> font -> descriptor).
*/
+CT_EXPORT
CTFontDescriptorRef CTFontDescriptorCreateWithAttributes(
CFDictionaryRef attributes ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -336,6 +339,7 @@
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.
*/
+CT_EXPORT
CTFontDescriptorRef CTFontDescriptorCreateCopyWithAttributes(
CTFontDescriptorRef original,
CFDictionaryRef attributes ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -352,6 +356,7 @@
@result Returns a new font reference with the original traits in the given family, or NULL if none found in the system.
*/
+CT_EXPORT
CTFontDescriptorRef _Nullable CTFontDescriptorCreateCopyWithFamily(
CTFontDescriptorRef original,
CFStringRef family ) CT_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0));
@@ -371,6 +376,7 @@
@result Returns a new font descriptor reference in the same family with the given symbolic traits, or NULL if none found in the system.
*/
+CT_EXPORT
CTFontDescriptorRef _Nullable CTFontDescriptorCreateCopyWithSymbolicTraits(
CTFontDescriptorRef original,
CTFontSymbolicTraits symTraitValue,
@@ -391,6 +397,7 @@
@result This function returns a copy of the original font descriptor with a new variation instance. This is a convenience method for easily creating new variation font instances.
*/
+CT_EXPORT
CTFontDescriptorRef CTFontDescriptorCreateCopyWithVariation(
CTFontDescriptorRef original,
CFNumberRef variationIdentifier,
@@ -413,6 +420,7 @@
@result A copy of the original font descriptor modified with the given feature settings.
*/
+CT_EXPORT
CTFontDescriptorRef CTFontDescriptorCreateCopyWithFeature(
CTFontDescriptorRef original,
CFNumberRef featureTypeIdentifier,
@@ -430,6 +438,7 @@
@result This function returns a retained array of normalized font descriptors matching the attributes present in descriptor. If descriptor itself is normalized then the array will contain only one item, the original descriptor.
*/
+CT_EXPORT
CFArrayRef _Nullable CTFontDescriptorCreateMatchingFontDescriptors(
CTFontDescriptorRef descriptor,
CFSetRef _Nullable mandatoryAttributes ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -446,6 +455,7 @@
@result This function returns a retained normalized font descriptor matching the attributes present in descriptor. The original descriptor may be returned in normalized form.
*/
+CT_EXPORT
CTFontDescriptorRef _Nullable CTFontDescriptorCreateMatchingFontDescriptor(
CTFontDescriptorRef descriptor,
CFSetRef _Nullable mandatoryAttributes ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -521,6 +531,7 @@
@result false if it couldn't start the work.
*/
+CT_EXPORT
bool CTFontDescriptorMatchFontDescriptorsWithProgressHandler(
CFArrayRef descriptors,
CFSetRef _Nullable mandatoryAttributes,
@@ -541,6 +552,7 @@
@result A retained reference to the font descriptor attributes dictionary. This dictionary will contain the minimum number of attributes to fully specify this particular font descriptor.
*/
+CT_EXPORT
CFDictionaryRef CTFontDescriptorCopyAttributes(
CTFontDescriptorRef descriptor ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -556,6 +568,7 @@
@result A retained reference to the requested attribute, or NULL if the requested attribute is not present. Refer to the attribute definitions for documentation as to how each attribute is packaged as a CFType.
*/
+CT_EXPORT
CFTypeRef _Nullable CTFontDescriptorCopyAttribute(
CTFontDescriptorRef descriptor,
CFStringRef attribute ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -578,6 +591,7 @@
@result A retained reference to the requested attribute, or NULL if the requested attribute is not present. Refer to the attribute definitions for documentation as to how each attribute is packaged as a CFType.
*/
+CT_EXPORT
CFTypeRef _Nullable CTFontDescriptorCopyLocalizedAttribute(
CTFontDescriptorRef descriptor,
CFStringRef attribute,
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h 2024-05-30 04:35:38
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h 2024-06-15 03:06:24
@@ -35,6 +35,7 @@
@result An array of CFStrings.
*/
+CT_EXPORT
CFArrayRef CTFontManagerCopyAvailablePostScriptNames( void ) CT_AVAILABLE(macos(10.6), ios(10.0), watchos(3.0), tvos(10.0));
/*!
@@ -43,6 +44,7 @@
@result An array of CFStrings.
*/
+CT_EXPORT
CFArrayRef CTFontManagerCopyAvailableFontFamilyNames( void ) CT_AVAILABLE(macos(10.6), ios(10.0), watchos(3.0), tvos(10.0));
/*!
@@ -51,6 +53,7 @@
@result An array of CFURLs.
*/
+CT_EXPORT
CFArrayRef CTFontManagerCopyAvailableFontURLs( void ) CT_AVAILABLE(macos(10.6)) CT_UNAVAILABLE(ios, watchos, tvos);
/*!
@@ -65,6 +68,7 @@
Unused. Can be NULL.
@result A CFComparisonResult value indicating the sort order for the two family names. kCFComparisonResultGreaterThan if family1 is greater than family2, kCFComparisonResultLessThan if family1 is less than family2, and kCFComparisonResultEqualTo if they are equal.
*/
+CT_EXPORT
CFComparisonResult CTFontManagerCompareFontFamilyNames(
const void * family1,
const void * family2,
@@ -80,6 +84,7 @@
@result An array of CTFontDescriptors or NULL if there are no valid fonts.
*/
+CT_EXPORT
CFArrayRef _Nullable CTFontManagerCreateFontDescriptorsFromURL(
CFURLRef fileURL ) CT_AVAILABLE(macos(10.6), ios(7.0), watchos(2.0), tvos(9.0));
@@ -95,6 +100,7 @@
@result A font descriptor created from the data or NULL if it is not a valid font.
*/
+CT_EXPORT
CTFontDescriptorRef _Nullable CTFontManagerCreateFontDescriptorFromData(
CFDataRef data ) CT_AVAILABLE(macos(10.7), ios(7.0), watchos(2.0), tvos(9.0));
@@ -108,6 +114,7 @@
@result An array of font descriptors. This can be an empty array in the event of invalid or unsupported font data.
*/
+CT_EXPORT
CFArrayRef CTFontManagerCreateFontDescriptorsFromData(CFDataRef data) CT_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0));
/*!
@@ -160,6 +167,7 @@
@result Returns true if registration of the fonts was successful.
*/
+CT_EXPORT
bool CTFontManagerRegisterFontsForURL(
CFURLRef fontURL,
CTFontManagerScope scope,
@@ -182,6 +190,7 @@
@result Returns true if unregistration of the fonts was successful.
*/
+CT_EXPORT
bool CTFontManagerUnregisterFontsForURL(
CFURLRef fontURL,
CTFontManagerScope scope,
@@ -203,6 +212,7 @@
@result Returns true if registration of the fonts was successful.
*/
+CT_EXPORT
bool CTFontManagerRegisterGraphicsFont(
CGFontRef font,
CFErrorRef * error ) CT_DEPRECATED("Use CTFontManagerCreateFontDescriptorsFromData or CTFontManagerRegisterFontsForURL", macos(10.8, 15), ios(4.1, 18), watchos(2, 11), tvos(9, 18));
@@ -219,6 +229,7 @@
@result Returns true if unregistration of the font was successful.
*/
+CT_EXPORT
bool CTFontManagerUnregisterGraphicsFont(
CGFontRef font,
CFErrorRef * error ) CT_DEPRECATED("Use the API corresponding to the one used to register the font", macos(10.8, 15), ios(4.1, 18), watchos(2, 11), tvos(9, 18));
@@ -238,6 +249,7 @@
@result Returns true if registration of all font URLs was successful. Otherwise false.
*/
+CT_EXPORT
bool CTFontManagerRegisterFontsForURLs(
CFArrayRef fontURLs,
CTFontManagerScope scope,
@@ -259,6 +271,7 @@
@result Returns true if unregistration of all font URLs was successful. Otherwise false.
*/
+CT_EXPORT
bool CTFontManagerUnregisterFontsForURLs(
CFArrayRef fontURLs,
CTFontManagerScope scope,
@@ -283,6 +296,7 @@
@param registrationHandler
Block called as errors are discovered or upon completion. The errors parameter contains an array of CFError references. An empty array indicates no errors. Each error reference will contain a CFArray of font URLs corresponding to kCTFontManagerErrorFontURLsKey. These URLs represent the font files that caused the error, and were not successfully registered. Note, the handler may be called multiple times during the registration process. The done parameter will be set to true when the registration process has completed. The handler should return false if the operation is to be stopped. This may be desirable after receiving an error.
*/
+CT_EXPORT
void CTFontManagerRegisterFontURLs(
CFArrayRef fontURLs,
CTFontManagerScope scope,
@@ -303,6 +317,7 @@
@param registrationHandler
Block called as errors are discovered or upon completion. The errors parameter will be an empty array if all files are unregistered. Otherwise, it will contain an array of CFError references. Each error reference will contain a CFArray of font URLs corresponding to kCTFontManagerErrorFontURLsKey. These URLs represent the font files that caused the error, and were not successfully unregistered. Note, the handler may be called multiple times during the unregistration process. The done parameter will be set to true when the unregistration process has completed. The handler should return false if the operation is to be stopped. This may be desirable after receiving an error.
*/
+CT_EXPORT
void CTFontManagerUnregisterFontURLs(
CFArrayRef fontURLs,
CTFontManagerScope scope,
@@ -326,6 +341,7 @@
@param registrationHandler
Block called as errors are discovered or upon completion. The errors parameter contains an array of CFError references. An empty array indicates no errors. Each error reference will contain a CFArray of font descriptors corresponding to kCTFontManagerErrorFontDescriptorsKey. These represent the font descriptors that caused the error, and were not successfully registered. Note, the handler may be called multiple times during the registration process. The done parameter will be set to true when the registration process has completed. The handler should return false if the operation is to be stopped. This may be desirable after receiving an error.
*/
+CT_EXPORT
void CTFontManagerRegisterFontDescriptors(
CFArrayRef fontDescriptors,
CTFontManagerScope scope,
@@ -345,6 +361,7 @@
@param registrationHandler
Block called as errors are discovered or upon completion. The errors parameter will be an empty array if all font descriptors are unregistered. Otherwise, it will contain an array of CFError references. Each error reference will contain a CFArray of font descriptors corresponding to kCTFontManagerErrorFontDescriptorsKey. These represent the font descriptors that caused the error, and were not successfully unregistered. Note, the handler may be called multiple times during the unregistration process. The done parameter will be set to true when the unregistration process has completed. The handler should return false if the operation is to be stopped. This may be desirable after receiving an error.
*/
+CT_EXPORT
void CTFontManagerUnregisterFontDescriptors(
CFArrayRef fontDescriptors,
CTFontManagerScope scope,
@@ -372,6 +389,7 @@
@param registrationHandler
Block called as errors are discovered, or upon completion. The errors parameter contains an array of CFError references. An empty array indicates no errors. Each error reference will contain a CFArray of font asset names corresponding to kCTFontManagerErrorFontAssetNameKey. These represent the font asset names that were not successfully registered. Note, the handler may be called multiple times during the registration process. The done parameter will be set to true when the registration process has completed. The handler should return false if the operation is to be stopped. This may be desirable after receiving an error.
*/
+CT_EXPORT
void CTFontManagerRegisterFontsWithAssetNames(
CFArrayRef fontAssetNames,
CFBundleRef _Nullable bundle,
@@ -390,6 +408,7 @@
@param enable
Boolean value indicating whether the fonts matching descriptors should be enabled for font descriptor matching.
*/
+CT_EXPORT
void CTFontManagerEnableFontDescriptors(
CFArrayRef descriptors,
bool enable ) CT_AVAILABLE(macos(10.6)) CT_UNAVAILABLE(ios, watchos, tvos);
@@ -403,6 +422,7 @@
@result Returns the registration scope of the specified URL, will return kCTFontManagerScopeNone if not currently registered.
*/
+CT_EXPORT
CTFontManagerScope CTFontManagerGetScopeForURL(
CFURLRef fontURL ) CT_AVAILABLE(macos(10.6)) CT_UNAVAILABLE(ios, watchos, tvos);
@@ -420,6 +440,7 @@
@result Array of of font descriptors registered by the application. Array may be empty if nothing is registered.
*/
+CT_EXPORT
CFArrayRef CTFontManagerCopyRegisteredFontDescriptors(
CTFontManagerScope scope,
bool enabled ) CT_AVAILABLE(ios(13.0)) API_UNAVAILABLE(macos, watchos, tvos);
@@ -437,6 +458,7 @@
@param completionHandler
Block called after request operation completes. Block takes a single parameter containing an array of those descriptors that could not be resolved/found. The array can be empty if all descriptors were resolved.
*/
+CT_EXPORT
void CTFontManagerRequestFonts(
CFArrayRef fontDescriptors,
void (^completionHandler)(CFArrayRef unresolvedFontDescriptors) ) CT_AVAILABLE(ios(13.0)) API_UNAVAILABLE(macos, watchos, tvos);
@@ -453,6 +475,7 @@
@result This function returns true if the file is in a supported font format.
*/
+CT_EXPORT
bool CTFontManagerIsSupportedFont(
CFURLRef fontURL ) CT_AVAILABLE(macos(10.6)) CT_UNAVAILABLE(ios, watchos, tvos);
@@ -470,6 +493,7 @@
A block to handle the font request.
@result A CFRunLoopSourceRef that should be added to the run loop. To stop receiving requests, invalidate this run loop source. Will return NULL on error, in the case of a duplicate requestPortName or invalid context structure.
*/
+CT_EXPORT
CFRunLoopSourceRef _Nullable CTFontManagerCreateFontRequestRunLoopSource(
CFIndex sourceOrder,
CFArrayRef (^createMatchesCallback)(CFDictionaryRef requestAttributes, pid_t requestingProcess)) CT_DEPRECATED("This functionality will be removed in a future release", macos(10.6, 11.0)) CT_UNAVAILABLE(ios, watchos, tvos);
@@ -513,6 +537,7 @@
The new setting.
@discussion Function will apply the setting to the appropriate preferences location.
*/
+CT_EXPORT
void CTFontManagerSetAutoActivationSetting(
CFStringRef _Nullable bundleIdentifier,
CTFontManagerAutoActivationSetting setting ) CT_AVAILABLE(macos(10.6)) CT_UNAVAILABLE(ios, watchos, tvos);
@@ -526,6 +551,7 @@
will set the global auto-activation settings.
@result Will return the auto-activation setting for specified bundle identifier.
*/
+CT_EXPORT
CTFontManagerAutoActivationSetting CTFontManagerGetAutoActivationSetting(
CFStringRef _Nullable bundleIdentifier ) CT_AVAILABLE(macos(10.6)) CT_UNAVAILABLE(ios, watchos, tvos);
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h 2024-05-30 03:53:35
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h 2024-06-14 21:42:17
@@ -38,6 +38,7 @@
@abstract Returns the CFType of the frame object
*/
+CT_EXPORT
CFTypeID CTFrameGetTypeID( void ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -178,6 +179,7 @@
then an empty range will be returned.
*/
+CT_EXPORT
CFRange CTFrameGetStringRange(
CTFrameRef frame ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -201,6 +203,7 @@
in the frame, then an empty range will be returned.
*/
+CT_EXPORT
CFRange CTFrameGetVisibleStringRange(
CTFrameRef frame ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -213,6 +216,7 @@
The frame that you want to obtain the path from.
*/
+CT_EXPORT
CGPathRef CTFrameGetPath(
CTFrameRef frame ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -235,6 +239,7 @@
will return NULL.
*/
+CT_EXPORT
CFDictionaryRef _Nullable CTFrameGetFrameAttributes(
CTFrameRef frame ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -257,6 +262,7 @@
CTLine objects that make up the frame.
*/
+CT_EXPORT
CFArrayRef CTFrameGetLines(
CTFrameRef frame ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -292,6 +298,7 @@
on framesetting in the first place.
*/
+CT_EXPORT
void CTFrameGetLineOrigins(
CTFrameRef frame,
CFRange range,
@@ -316,6 +323,7 @@
drawn in the context.
*/
+CT_EXPORT
void CTFrameDraw(
CTFrameRef frame,
CGContextRef context ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h 2024-05-30 10:39:20
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h 2024-06-14 21:42:17
@@ -36,6 +36,7 @@
@abstract Returns the CFType of the framesetter object
*/
+CT_EXPORT
CFTypeID CTFramesetterGetTypeID( void ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -60,6 +61,7 @@
@seealso CTTypesetterCreateWithAttributedStringAndOptions
*/
+CT_EXPORT
CTFramesetterRef CTFramesetterCreateWithTypesetter(
CTTypesetterRef typesetter ) CT_AVAILABLE(macos(10.14), ios(12.0), watchos(5.0), tvos(12.0));
@@ -78,6 +80,7 @@
@result This function will return a reference to a CTFramesetter object.
*/
+CT_EXPORT
CTFramesetterRef CTFramesetterCreateWithAttributedString(
CFAttributedStringRef attrString ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -117,6 +120,7 @@
@result This function will return a reference to a new CTFrame object.
*/
+CT_EXPORT
CTFrameRef CTFramesetterCreateFrame(
CTFramesetterRef framesetter,
CFRange stringRange,
@@ -141,6 +145,7 @@
object, which should not be released by the caller.
*/
+CT_EXPORT
CTTypesetterRef CTFramesetterGetTypesetter(
CTFramesetterRef framesetter ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -182,6 +187,7 @@
@result The actual dimensions for the given string range and constraints.
*/
+CT_EXPORT
CGSize CTFramesetterSuggestFrameSizeWithConstraints(
CTFramesetterRef framesetter,
CFRange stringRange,
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h 2024-05-30 03:45:41
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h 2024-06-15 01:57:47
@@ -38,6 +38,7 @@
@abstract Returns the CFType of the glyph info object
*/
+CT_EXPORT
CFTypeID CTGlyphInfoGetTypeID( void ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -116,6 +117,7 @@
@result This function will return a reference to a CTGlyphInfo object.
*/
+CT_EXPORT
CTGlyphInfoRef _Nullable CTGlyphInfoCreateWithGlyphName(
CFStringRef glyphName,
CTFontRef font,
@@ -142,6 +144,7 @@
@result This function will return a reference to a CTGlyphInfo object.
*/
+CT_EXPORT
CTGlyphInfoRef _Nullable CTGlyphInfoCreateWithGlyph(
CGGlyph glyph,
CTFontRef font,
@@ -168,6 +171,7 @@
@result This function will return a reference to a CTGlyphInfo object.
*/
+CT_EXPORT
CTGlyphInfoRef _Nullable CTGlyphInfoCreateWithCharacterIdentifier(
CGFontIndex cid,
CTCharacterCollection collection,
@@ -191,6 +195,7 @@
be returned. Otherwise, this function will return NULL.
*/
+CT_EXPORT
CFStringRef _Nullable CTGlyphInfoGetGlyphName(
CTGlyphInfoRef glyphInfo ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -208,6 +213,7 @@
returned. Otherwise, this function will return 0.
*/
+CT_EXPORT
CGGlyph CTGlyphInfoGetGlyph(
CTGlyphInfoRef glyphInfo ) CT_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0), tvos(13.0));
@@ -225,6 +231,7 @@
it will be returned. Otherwise, this function will return 0.
*/
+CT_EXPORT
CGFontIndex CTGlyphInfoGetCharacterIdentifier(
CTGlyphInfoRef glyphInfo ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -245,6 +252,7 @@
glyph info.
*/
+CT_EXPORT
CTCharacterCollection CTGlyphInfoGetCharacterCollection(
CTGlyphInfoRef glyphInfo ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h 2024-05-30 10:39:20
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h 2024-06-15 08:17:36
@@ -110,6 +110,7 @@
@abstract Returns the CFType of the line object
*/
+CT_EXPORT
CFTypeID CTLineGetTypeID( void ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -134,6 +135,7 @@
@result This function will return a reference to a CTLine object.
*/
+CT_EXPORT
CTLineRef CTLineCreateWithAttributedString(
CFAttributedStringRef attrString ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -167,6 +169,7 @@
NULL.
*/
+CT_EXPORT
CTLineRef _Nullable CTLineCreateTruncatedLine(
CTLineRef line,
double width,
@@ -198,6 +201,7 @@
NULL.
*/
+CT_EXPORT
CTLineRef _Nullable CTLineCreateJustifiedLine(
CTLineRef line,
CGFloat justificationFactor,
@@ -221,6 +225,7 @@
@result The total glyph count for the line passed in.
*/
+CT_EXPORT
CFIndex CTLineGetGlyphCount(
CTLineRef line ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -235,6 +240,7 @@
@result A CFArrayRef containing the CTRun objects that make up the line.
*/
+CT_EXPORT
CFArrayRef CTLineGetGlyphRuns(
CTLineRef line ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -252,6 +258,7 @@
empty range will be returned.
*/
+CT_EXPORT
CFRange CTLineGetStringRange(
CTLineRef line ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -277,6 +284,7 @@
the flush operation.
*/
+CT_EXPORT
double CTLineGetPenOffsetForFlush(
CTLineRef line,
CGFloat flushFactor,
@@ -301,6 +309,7 @@
The context to which the line will be drawn.
*/
+CT_EXPORT
void CTLineDraw(
CTLineRef line,
CGContextRef context ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -339,6 +348,7 @@
@seealso CTLineGetTrailingWhitespaceWidth
*/
+CT_EXPORT
double CTLineGetTypographicBounds(
CTLineRef line,
CGFloat * _Nullable ascent,
@@ -362,6 +372,7 @@
is invalid this function will return CGRectNull.
*/
+CT_EXPORT
CGRect CTLineGetBoundsWithOptions(
CTLineRef line,
CTLineBoundsOptions options ) CT_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
@@ -383,6 +394,7 @@
this function will always return zero.
*/
+CT_EXPORT
double CTLineGetTrailingWhitespaceWidth(
CTLineRef line ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -414,6 +426,7 @@
@seealso CTLineGetPenOffsetForFlush
*/
+CT_EXPORT
CGRect CTLineGetImageBounds(
CTLineRef line,
CGContextRef _Nullable context ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -446,6 +459,7 @@
failure, this function will return kCFNotFound.
*/
+CT_EXPORT
CFIndex CTLineGetStringIndexForPosition(
CTLineRef line,
CGPoint position ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -483,6 +497,7 @@
the event of failure.
*/
+CT_EXPORT
CGFloat CTLineGetOffsetForStringIndex(
CTLineRef line,
CFIndex charIndex,
@@ -501,6 +516,7 @@
The offset parameter is relative to the line origin. The leadingEdge parameter of this block refers to logical order.
*/
+CT_EXPORT
void CTLineEnumerateCaretOffsets(
CTLineRef line,
void (^block)(double offset, CFIndex charIndex, bool leadingEdge, bool* stop) ) CT_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0));
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h 2024-05-30 10:39:20
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h 2024-06-15 11:43:13
@@ -38,6 +38,7 @@
@abstract Returns the CFType of the paragraph style object
*/
+CT_EXPORT
CFTypeID CTParagraphStyleGetTypeID( void ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -417,6 +418,7 @@
object. Otherwise, this function will return NULL.
*/
+CT_EXPORT
CTParagraphStyleRef CTParagraphStyleCreate(
const CTParagraphStyleSetting * _Nullable settings,
size_t settingCount ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -435,6 +437,7 @@
"paragraphStyle".
*/
+CT_EXPORT
CTParagraphStyleRef CTParagraphStyleCreateCopy(
CTParagraphStyleRef paragraphStyle ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -478,6 +481,7 @@
indicating that one or more of the parameters is not valid.
*/
+CT_EXPORT
bool CTParagraphStyleGetValueForSpecifier(
CTParagraphStyleRef paragraphStyle,
CTParagraphStyleSpecifier spec,
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h 2024-05-30 03:45:42
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h 2024-06-15 03:06:24
@@ -38,6 +38,7 @@
@abstract Returns the CFType of the ruby annotation object
*/
+CT_EXPORT
CFTypeID CTRubyAnnotationGetTypeID( void ) CT_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
@@ -169,6 +170,7 @@
@result This function will return a reference to a CTRubyAnnotation object.
*/
+CT_EXPORT
CTRubyAnnotationRef CTRubyAnnotationCreate(
CTRubyAlignment alignment,
CTRubyOverhang overhang,
@@ -224,6 +226,7 @@
@result This function will return a reference to a CTRubyAnnotation object.
*/
+CT_EXPORT
CTRubyAnnotationRef CTRubyAnnotationCreateWithAttributes(
CTRubyAlignment alignment,
CTRubyOverhang overhang,
@@ -244,6 +247,7 @@
"rubyAnnotation".
*/
+CT_EXPORT
CTRubyAnnotationRef CTRubyAnnotationCreateCopy(
CTRubyAnnotationRef rubyAnnotation ) CT_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
@@ -259,6 +263,7 @@
function will return its alignment. Otherwise it will return kCTRubyAlignmentInvalid.
*/
+CT_EXPORT
CTRubyAlignment CTRubyAnnotationGetAlignment(
CTRubyAnnotationRef rubyAnnotation ) CT_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
@@ -274,6 +279,7 @@
function will return its overhang value. Otherwise it will return kCTRubyOverhangInvalid.
*/
+CT_EXPORT
CTRubyOverhang CTRubyAnnotationGetOverhang(
CTRubyAnnotationRef rubyAnnotation ) CT_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
@@ -288,6 +294,7 @@
function will return its sizeFactor. Otherwise it will return 0.
*/
+CT_EXPORT
CGFloat CTRubyAnnotationGetSizeFactor(
CTRubyAnnotationRef rubyAnnotation ) CT_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
@@ -306,6 +313,7 @@
function will return a CFStringRef for the text. Otherwise it will return NULL.
*/
+CT_EXPORT
CFStringRef _Nullable CTRubyAnnotationGetTextForPosition(
CTRubyAnnotationRef rubyAnnotation,
CTRubyPosition position ) CT_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h 2024-05-30 10:34:37
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h 2024-06-15 11:43:13
@@ -69,6 +69,7 @@
@abstract Returns the CFType of the run object
*/
+CT_EXPORT
CFTypeID CTRunGetTypeID( void ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -88,6 +89,7 @@
indicating that there are no glyphs in this run.
*/
+CT_EXPORT
CFIndex CTRunGetGlyphCount(
CTRunRef run ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -109,6 +111,7 @@
@result The attribute dictionary.
*/
+CT_EXPORT
CFDictionaryRef CTRunGetAttributes(
CTRunRef run ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -131,6 +134,7 @@
@result The run's status.
*/
+CT_EXPORT
CTRunStatus CTRunGetStatus(
CTRunRef run ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -152,6 +156,7 @@
@result A valid pointer to an array of CGGlyph structures or NULL.
*/
+CT_EXPORT
const CGGlyph * _Nullable CTRunGetGlyphsPtr(
CTRunRef run ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -174,6 +179,7 @@
allocated to at least the value specified by the range's length.
*/
+CT_EXPORT
void CTRunGetGlyphs(
CTRunRef run,
CFRange range,
@@ -199,6 +205,7 @@
@result A valid pointer to an array of CGPoint structures or NULL.
*/
+CT_EXPORT
const CGPoint * _Nullable CTRunGetPositionsPtr(
CTRunRef run ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -225,6 +232,7 @@
length.
*/
+CT_EXPORT
void CTRunGetPositions(
CTRunRef run,
CFRange range,
@@ -252,6 +260,7 @@
@result A valid pointer to an array of CGSize structures or NULL.
*/
+CT_EXPORT
const CGSize * _Nullable CTRunGetAdvancesPtr(
CTRunRef run ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -275,6 +284,7 @@
length.
*/
+CT_EXPORT
void CTRunGetAdvances(
CTRunRef run,
CFRange range,
@@ -301,6 +311,7 @@
@result A valid pointer to an array of CFIndex structures or NULL.
*/
+CT_EXPORT
const CFIndex * _Nullable CTRunGetStringIndicesPtr(
CTRunRef run ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -328,6 +339,7 @@
length.
*/
+CT_EXPORT
void CTRunGetStringIndices(
CTRunRef run,
CFRange range,
@@ -346,6 +358,7 @@
glyphs. If run is invalid, this will return an empty range.
*/
+CT_EXPORT
CFRange CTRunGetStringRange(
CTRunRef run ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -379,6 +392,7 @@
invalid, then this function will always return zero.
*/
+CT_EXPORT
double CTRunGetTypographicBounds(
CTRunRef run,
CFRange range,
@@ -422,6 +436,7 @@
@seealso CTRunGetTypographicBounds
*/
+CT_EXPORT
CGRect CTRunGetImageBounds(
CTRunRef run,
CGContextRef _Nullable context,
@@ -442,6 +457,7 @@
@result A CGAffineTransform.
*/
+CT_EXPORT
CGAffineTransform CTRunGetTextMatrix(
CTRunRef run ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -482,6 +498,7 @@
specified by the range's length.
*/
+CT_EXPORT
void CTRunGetBaseAdvancesAndOrigins(
CTRunRef runRef,
CFRange range,
@@ -516,6 +533,7 @@
the range's start index to the end of the run.
*/
+CT_EXPORT
void CTRunDraw(
CTRunRef run,
CGContextRef context,
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h 2024-05-30 02:56:44
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h 2024-06-15 00:58:21
@@ -26,6 +26,7 @@
@abstract Returns the CFType of CTRunDelegate objects.
*/
+CT_EXPORT
CFTypeID CTRunDelegateGetTypeID( void ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -165,6 +166,7 @@
object. Otherwise, this function will return NULL.
*/
+CT_EXPORT
CTRunDelegateRef _Nullable CTRunDelegateCreate(
const CTRunDelegateCallbacks* callbacks,
void * _Nullable refCon ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -187,6 +189,7 @@
@result The refCon value of the supplied run delegate.
*/
+CT_EXPORT
void * CTRunDelegateGetRefCon(
CTRunDelegateRef runDelegate ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h 2024-05-30 10:34:37
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h 2024-06-15 11:31:00
@@ -47,6 +47,7 @@
@abstract Returns the CFType of the text tab object
*/
+CT_EXPORT
CFTypeID CTTextTabGetTypeID( void ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -93,6 +94,7 @@
@result The new CTTextTab.
*/
+CT_EXPORT
CTTextTabRef CTTextTabCreate(
CTTextAlignment alignment,
double location,
@@ -113,6 +115,7 @@
@result The tab's text alignment value.
*/
+CT_EXPORT
CTTextAlignment CTTextTabGetAlignment(
CTTextTabRef tab ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -127,6 +130,7 @@
@result The tab's ruler location relative to the back margin.
*/
+CT_EXPORT
double CTTextTabGetLocation(
CTTextTabRef tab ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -142,6 +146,7 @@
no dictionary is present.
*/
+CT_EXPORT
CFDictionaryRef _Nullable CTTextTabGetOptions(
CTTextTabRef tab ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h 2024-05-30 03:53:36
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h 2024-06-15 00:58:21
@@ -35,6 +35,7 @@
@abstract Returns the CFType of the typesetter object
*/
+CT_EXPORT
CFTypeID CTTypesetterGetTypeID( void ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -98,6 +99,7 @@
@result This function will return a reference to a CTTypesetter.
*/
+CT_EXPORT
CTTypesetterRef CTTypesetterCreateWithAttributedString(
CFAttributedStringRef string ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -125,6 +127,7 @@
@seealso kCTTypesetterOptionAllowUnboundedLayout
*/
+CT_EXPORT
CTTypesetterRef _Nullable CTTypesetterCreateWithAttributedStringAndOptions(
CFAttributedStringRef string,
CFDictionaryRef _Nullable options ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -157,6 +160,7 @@
@result This function will return a reference to a CTLine.
*/
+CT_EXPORT
CTLineRef CTTypesetterCreateLineWithOffset(
CTTypesetterRef typesetter,
CFRange stringRange,
@@ -168,6 +172,7 @@
@abstract Equivalent to CTTypesetterCreateLineWithOffset with offset = 0.0.
*/
+CT_EXPORT
CTLineRef CTTypesetterCreateLine(
CTTypesetterRef typesetter,
CFRange stringRange ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
@@ -203,6 +208,7 @@
to construct a character range for CTTypesetterCreateLine.
*/
+CT_EXPORT
CFIndex CTTypesetterSuggestLineBreakWithOffset(
CTTypesetterRef typesetter,
CFIndex startIndex,
@@ -215,6 +221,7 @@
@abstract Equivalent to CTTypesetterSuggestLineBreakWithOffset with offset = 0.0.
*/
+CT_EXPORT
CFIndex CTTypesetterSuggestLineBreak(
CTTypesetterRef typesetter,
CFIndex startIndex,
@@ -252,6 +259,7 @@
used to construct a character range for CTTypesetterCreateLine.
*/
+CT_EXPORT
CFIndex CTTypesetterSuggestClusterBreakWithOffset(
CTTypesetterRef typesetter,
CFIndex startIndex,
@@ -264,6 +272,7 @@
@abstract Equivalent to CTTypesetterSuggestClusterBreakWithOffset with offset = 0.0.
*/
+CT_EXPORT
CFIndex CTTypesetterSuggestClusterBreak(
CTTypesetterRef typesetter,
CFIndex startIndex,
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h 2024-05-30 02:56:44
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h 2024-06-15 03:06:24
@@ -58,6 +58,7 @@
kCTVersionNumber11_0.
*/
+CT_EXPORT
uint32_t CTGetCoreTextVersion( void ) CT_DEPRECATED("Use -[NSProcessInfo operatingSystemVersion]", macos(10.5, 11.0), ios(3.2, 14.0), watchos(2.0, 7.0), tvos(9.0, 14.0));
#define kCTVersionNumber10_5 0x00020000