Cargo Features
[dependencies]
objc2-core-text = { version = "0.3.2", default-features = false, features = ["std", "alloc", "bitflags", "block2", "libc", "objc2", "objc2-core-graphics", "unstable-darwin-objc", "CTDefines", "CTFont", "CTFontCollection", "CTFontDescriptor", "CTFontManager", "CTFontManagerErrors", "CTFontTraits", "CTFrame", "CTFramesetter", "CTGlyphInfo", "CTLine", "CTParagraphStyle", "CTRubyAnnotation", "CTRun", "CTRunDelegate", "CTStringAttributes", "CTTextTab", "CTTypesetter", "SFNTTypes"] }
- default = CTDefines, CTFont, CTFontCollection, CTFontDescriptor, CTFontManager, CTFontManagerErrors, CTFontTraits, CTFrame, CTFramesetter, CTGlyphInfo, CTLine, CTParagraphStyle, CTRubyAnnotation, CTRun, CTRunDelegate, CTStringAttributes, CTTextTab, CTTypesetter, SFNTLayoutTypes, SFNTTypes, bitflags, block2, libc, objc2, objc2-core-graphics, std
-
These default features are set whenever
objc2-core-textis added withoutsomewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
- bitflags default CTFont CTFontCollection CTFontTraits CTLine CTRun CTStringAttributes
-
Enables bitflags
- block2 default
-
Enables block2
Affects
CTFontDescriptor::CTFontDescriptorProgressHandler,CTFontDescriptor::CTFontDescriptorMatchFontDescriptorsWithProgressHandler,CTFontManager::CTFontManagerRegisterFontURLs,CTFontManager::CTFontManagerUnregisterFontURLs,CTFontManager::CTFontManagerRegisterFontDescriptors,CTFontManager::CTFontManagerUnregisterFontDescriptors,CTFontManager::CTFontManagerRegisterFontsWithAssetNames,CTFontManager::CTFontManagerRequestFonts,CTLine::CTLineEnumerateCaretOffsets,CTFontManager::CTFontManagerCreateFontRequestRunLoopSource… - libc default
-
Enables libc
Affects
CTFontManager::CTFontManagerCreateFontRequestRunLoopSource… - objc2 default
-
Enables objc2, objc2 of objc2-core-foundation and optional objc2-core-graphics
Affects
CTFont::CTFontGetTypographicBoundsForAdaptiveImageProvider,CTFont::CTFontDrawImageFromAdaptiveImageProviderAtPoint… - objc2-core-graphics default
-
Enables objc2-core-graphics
Affects
CTFont::CTFontGetGlyphsForCharacters,CTFont::CTFontGetGlyphWithName,CTFont::CTFontCopyNameForGlyph,CTFont::CTFontGetOpticalBoundsForGlyphs,CTFont::CTFontGetVerticalTranslationsForGlyphs,CTFont::CTFontCreatePathForGlyph,CTFont::CTFontDrawGlyphs,CTFont::CTFontGetLigatureCaretPositions,CTFontManager::CTFontManagerRegisterGraphicsFont,CTFontManager::CTFontManagerUnregisterGraphicsFont,CTFrame::CTFrameGetPath,CTFrame::CTFrameDraw,CTGlyphInfo::CTGlyphInfoCreateWithCharacterIdentifier,CTGlyphInfo::CTGlyphInfoGetGlyph,CTGlyphInfo::CTGlyphInfoGetCharacterIdentifier,CTLine::CTLineDraw,CTLine::CTLineGetImageBounds,CTRun::CTRunGetGlyphsPtr,CTRun::CTRunGetGlyphs,CTRun::CTRunGetImageBounds… - unstable-darwin-objc
- CTDefines default
- CTFont default = bitflags
-
Enables CFArray, CFCGTypes, CFCharacterSet, CFData, CFDictionary and CFString of objc2-core-foundation
Affects
CTGlyphInfo::CTGlyphInfoCreateWithGlyphName,CTGlyphInfo::CTGlyphInfoCreateWithGlyph… - CTFontCollection default = bitflags
-
Enables CFArray, CFDictionary and CFSet of objc2-core-foundation
- CTFontDescriptor default
-
Enables CFArray, CFCGTypes, CFDictionary, CFNumber and CFSet of objc2-core-foundation
Affects
CTFont::CTFontCreateWithFontDescriptor,CTFont::CTFontCreateWithFontDescriptorAndOptions,CTFont::CTFontCreateCopyWithAttributes,CTFont::CTFontCopyFontDescriptor,CTFontCollection::CTFontCollectionSortDescriptorsCallback,CTFontCollection::CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback,CTFontManager::CTFontManagerCreateFontDescriptorFromData,CTFont::CTFontGetBoundingRectsForGlyphs,CTFont::CTFontGetAdvancesForGlyphs,CTFont::CTFontCopyGraphicsFont,CTFont::CTFontCreateWithGraphicsFont… - CTFontManager default
-
Enables CFArray, CFBundle, CFData, CFDictionary, CFError, CFRunLoop and CFURL of objc2-core-foundation
- CTFontManagerErrors default
- CTFontTraits default = bitflags
-
Affects
CTFont::CTFontCreateCopyWithSymbolicTraits,CTFont::CTFontGetSymbolicTraits,CTFontDescriptor::CTFontDescriptorCreateCopyWithSymbolicTraits… - CTFrame default
-
Enables CFArray, CFCGTypes and CFDictionary of objc2-core-foundation
Affects
CTFramesetter::CTFramesetterCreateFrame… - CTFramesetter default
-
Enables CFAttributedString, CFCGTypes and CFDictionary of objc2-core-foundation
- CTGlyphInfo default
- CTLine default = bitflags
-
Enables CFArray, CFAttributedString and CFCGTypes of objc2-core-foundation
Affects
CTTypesetter::CTTypesetterCreateLineWithOffset,CTTypesetter::CTTypesetterCreateLine… - CTParagraphStyle default
-
Affects
CTTextTab::CTTextTabCreate,CTTextTab::CTTextTabGetAlignment… - CTRubyAnnotation default
-
Enables CFCGTypes and CFDictionary of objc2-core-foundation
- CTRun default = bitflags
-
Enables CFCGTypes and CFDictionary of objc2-core-foundation
- CTRunDelegate default
-
Enables CFCGTypes of objc2-core-foundation
Affects
CTFont::CTFontGetTypographicBoundsForAdaptiveImageProvider,CTFont::CTFontDrawImageFromAdaptiveImageProviderAtPoint… - CTStringAttributes default = bitflags
- CTTextTab default
-
Enables CFDictionary of objc2-core-foundation
- CTTypesetter default
-
Enables CFAttributedString and CFDictionary of objc2-core-foundation
Affects
CTFramesetter::CTFramesetterCreateWithTypesetter,CTFramesetter::CTFramesetterGetTypesetter… - SFNTLayoutTypes SFNTTypes default