coretext

package
v0.6.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package coretext provides Go bindings for the CoreText framework.

Create text layouts, optimize font handling, and access font metrics and glyph data.

Core Text provides a low-level programming interface for laying out text and handling fonts. The Core Text layout engine is designed for high performance, ease of use, and close integration with Core Foundation. The text layout API provides high-quality typesetting, including character-to-glyph conversion, with ligatures, kerning, and so on. The complementary Core Text font technology provides automatic font substitution (cascading), font descriptors and collections, easy access to font metrics and glyph data, and many other features.

Opaque Types

Protocols

Variables

Functions

Type Aliases

Code generated from Apple documentation. DO NOT EDIT.

Index

Constants

View Source
const CmapFontTableTag uint32 = 0x636d6170
View Source
const DescriptorFontTableTag uint32 = 0x66647363
View Source
const FeatureFontTableTag uint32 = 0x66656174
View Source
const KANKRCurrentVersion uint32 = 0
View Source
const KCTFontClassMaskShift uint32 = 28
View Source
const KFontNoNameCode uint32 = 4294967295
View Source
const KKERXValuesAreLong uint32 = 0x1
View Source
const KLTAGCurrentVersion uint32 = 1
View Source
const KNoAlternatesSelector uint32 = 0
View Source
const KSTKCrossStreamReset uint32 = 0x2000
View Source
const KSTXHasLigAction uint32 = 0x2000
View Source
const NameFontTableTag uint32 = 0x6e616d65
View Source
const NonGlyphID uint32 = 65535
View Source
const Os2FontTableTag uint32 = 0x4f532f32
View Source
const VariationFontTableTag uint32 = 0x66766172

Variables

View Source
var (
	// See: https://developer.apple.com/documentation/CoreText/kCTAdaptiveImageProviderAttributeName
	KCTAdaptiveImageProviderAttributeName string
	// See: https://developer.apple.com/documentation/CoreText/kCTBackgroundColorAttributeName
	KCTBackgroundColorAttributeName string
	// See: https://developer.apple.com/documentation/CoreText/kCTBaselineClassAttributeName
	KCTBaselineClassAttributeName string
	// See: https://developer.apple.com/documentation/CoreText/kCTBaselineClassHanging
	KCTBaselineClassHanging string
	// See: https://developer.apple.com/documentation/CoreText/kCTBaselineClassIdeographicCentered
	KCTBaselineClassIdeographicCentered string
	// See: https://developer.apple.com/documentation/CoreText/kCTBaselineClassIdeographicHigh
	KCTBaselineClassIdeographicHigh string
	// See: https://developer.apple.com/documentation/CoreText/kCTBaselineClassIdeographicLow
	KCTBaselineClassIdeographicLow string
	// See: https://developer.apple.com/documentation/CoreText/kCTBaselineClassMath
	KCTBaselineClassMath string
	// See: https://developer.apple.com/documentation/CoreText/kCTBaselineClassRoman
	KCTBaselineClassRoman string
	// See: https://developer.apple.com/documentation/CoreText/kCTBaselineInfoAttributeName
	KCTBaselineInfoAttributeName string
	// KCTBaselineOffsetAttributeName is vertical offset for text position.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTBaselineOffsetAttributeName
	KCTBaselineOffsetAttributeName string
	// See: https://developer.apple.com/documentation/CoreText/kCTBaselineOriginalFont
	KCTBaselineOriginalFont string
	// See: https://developer.apple.com/documentation/CoreText/kCTBaselineReferenceFont
	KCTBaselineReferenceFont string
	// See: https://developer.apple.com/documentation/CoreText/kCTBaselineReferenceInfoAttributeName
	KCTBaselineReferenceInfoAttributeName string
	// KCTFontAttributeName is the font of the text to which this attribute applies.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontAttributeName
	KCTFontAttributeName string
	// KCTFontBaselineAdjustAttribute is the baseline adjustment for a font reference.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontBaselineAdjustAttribute
	KCTFontBaselineAdjustAttribute string
	// KCTFontCascadeListAttribute is the cascade list used for a font reference.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontCascadeListAttribute
	KCTFontCascadeListAttribute string
	// KCTFontCharacterSetAttribute is the Unicode character coverage set for a font reference.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontCharacterSetAttribute
	KCTFontCharacterSetAttribute string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontCollectionDisallowAutoActivationOption
	KCTFontCollectionDisallowAutoActivationOption string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontCollectionIncludeDisabledFontsOption
	KCTFontCollectionIncludeDisabledFontsOption string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontCollectionRemoveDuplicatesOption
	KCTFontCollectionRemoveDuplicatesOption string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontCopyrightNameKey
	KCTFontCopyrightNameKey string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontDescriptionNameKey
	KCTFontDescriptionNameKey string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontDescriptorLanguageAttribute
	KCTFontDescriptorLanguageAttribute string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontDescriptorMatchingCurrentAssetSize
	KCTFontDescriptorMatchingCurrentAssetSize string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontDescriptorMatchingDescriptors
	KCTFontDescriptorMatchingDescriptors string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontDescriptorMatchingError
	KCTFontDescriptorMatchingError string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontDescriptorMatchingPercentage
	KCTFontDescriptorMatchingPercentage string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontDescriptorMatchingResult
	KCTFontDescriptorMatchingResult string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontDescriptorMatchingSourceDescriptor
	KCTFontDescriptorMatchingSourceDescriptor string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontDescriptorMatchingTotalAssetSize
	KCTFontDescriptorMatchingTotalAssetSize string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontDescriptorMatchingTotalDownloadedSize
	KCTFontDescriptorMatchingTotalDownloadedSize string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontDesignerNameKey
	KCTFontDesignerNameKey string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontDesignerURLNameKey
	KCTFontDesignerURLNameKey string
	// KCTFontDisplayNameAttribute is the name used to display the font.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontDisplayNameAttribute
	KCTFontDisplayNameAttribute string
	// KCTFontDownloadableAttribute is the font downloadable state.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontDownloadableAttribute
	KCTFontDownloadableAttribute string
	// KCTFontDownloadedAttribute is the download state.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontDownloadedAttribute
	KCTFontDownloadedAttribute string
	// KCTFontEnabledAttribute is the font enabled state.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontEnabledAttribute
	KCTFontEnabledAttribute string
	// KCTFontFamilyNameAttribute is the font family name from the font descriptor.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontFamilyNameAttribute
	KCTFontFamilyNameAttribute string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontFamilyNameKey
	KCTFontFamilyNameKey string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontFeatureSampleTextKey
	KCTFontFeatureSampleTextKey string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontFeatureSelectorDefaultKey
	KCTFontFeatureSelectorDefaultKey string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontFeatureSelectorIdentifierKey
	KCTFontFeatureSelectorIdentifierKey string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontFeatureSelectorNameKey
	KCTFontFeatureSelectorNameKey string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontFeatureSelectorSettingKey
	KCTFontFeatureSelectorSettingKey string
	// KCTFontFeatureSettingsAttribute is the font features settings for a font reference.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontFeatureSettingsAttribute
	KCTFontFeatureSettingsAttribute string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontFeatureTooltipTextKey
	KCTFontFeatureTooltipTextKey string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontFeatureTypeExclusiveKey
	KCTFontFeatureTypeExclusiveKey string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontFeatureTypeIdentifierKey
	KCTFontFeatureTypeIdentifierKey string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontFeatureTypeNameKey
	KCTFontFeatureTypeNameKey string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontFeatureTypeSelectorsKey
	KCTFontFeatureTypeSelectorsKey string
	// KCTFontFeaturesAttribute is the font features for a font reference.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontFeaturesAttribute
	KCTFontFeaturesAttribute string
	// KCTFontFixedAdvanceAttribute is a fixed advance to be used for a font reference.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontFixedAdvanceAttribute
	KCTFontFixedAdvanceAttribute string
	// KCTFontFormatAttribute is the recognized format of the font.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontFormatAttribute
	KCTFontFormatAttribute string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontFullNameKey
	KCTFontFullNameKey string
	// KCTFontLanguagesAttribute is a list of covered languages for a font reference.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontLanguagesAttribute
	KCTFontLanguagesAttribute string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontLicenseNameKey
	KCTFontLicenseNameKey string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontLicenseURLNameKey
	KCTFontLicenseURLNameKey string
	// KCTFontMacintoshEncodingsAttribute is the Macintosh encodings for a font reference.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontMacintoshEncodingsAttribute
	KCTFontMacintoshEncodingsAttribute string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontManagerBundleIdentifier
	KCTFontManagerBundleIdentifier string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontManagerErrorDomain
	KCTFontManagerErrorDomain string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontManagerErrorFontURLsKey
	KCTFontManagerErrorFontURLsKey string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontManagerRegisteredFontsChangedNotification
	KCTFontManagerRegisteredFontsChangedNotification string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontManufacturerNameKey
	KCTFontManufacturerNameKey string
	// KCTFontMatrixAttribute is the font transformation matrix when creating a font.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontMatrixAttribute
	KCTFontMatrixAttribute string
	// KCTFontNameAttribute is the PostScript name from the font descriptor.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontNameAttribute
	KCTFontNameAttribute string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontOpenTypeFeatureTag
	KCTFontOpenTypeFeatureTag string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontOpenTypeFeatureValue
	KCTFontOpenTypeFeatureValue string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontOpticalSizeAttribute
	KCTFontOpticalSizeAttribute string
	// KCTFontOrientationAttribute is the orientation for the glyphs of the font.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontOrientationAttribute
	KCTFontOrientationAttribute string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontPostScriptCIDNameKey
	KCTFontPostScriptCIDNameKey string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontPostScriptNameKey
	KCTFontPostScriptNameKey string
	// KCTFontPriorityAttribute is the font priority used by font descriptors when resolving duplicates and sorting match results.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontPriorityAttribute
	KCTFontPriorityAttribute string
	// KCTFontRegistrationScopeAttribute is the font descriptor’s registration scope.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontRegistrationScopeAttribute
	KCTFontRegistrationScopeAttribute string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontSampleTextNameKey
	KCTFontSampleTextNameKey string
	// KCTFontSizeAttribute is the font point size.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontSizeAttribute
	KCTFontSizeAttribute string
	// KCTFontSlantTrait is the normalized slant angle from the font traits dictionary.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontSlantTrait
	KCTFontSlantTrait string
	// KCTFontStyleNameAttribute is the style name of the font.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontStyleNameAttribute
	KCTFontStyleNameAttribute string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontStyleNameKey
	KCTFontStyleNameKey string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontSubFamilyNameKey
	KCTFontSubFamilyNameKey string
	// KCTFontSymbolicTrait is the symbolic traits value from the font traits dictionary.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontSymbolicTrait
	KCTFontSymbolicTrait string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontTrademarkNameKey
	KCTFontTrademarkNameKey string
	// KCTFontTraitsAttribute is the dictionary of font traits for stylistic information.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontTraitsAttribute
	KCTFontTraitsAttribute string
	// KCTFontURLAttribute is the font URL from the font descriptor.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontURLAttribute
	KCTFontURLAttribute string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontUniqueNameKey
	KCTFontUniqueNameKey string
	// KCTFontVariationAttribute is the dictionary of font variation.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontVariationAttribute
	KCTFontVariationAttribute string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontVariationAxesAttribute
	KCTFontVariationAxesAttribute string
	// KCTFontVariationAxisDefaultValueKey is key to get the variation axis default value.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontVariationAxisDefaultValueKey
	KCTFontVariationAxisDefaultValueKey string
	// KCTFontVariationAxisHiddenKey is the key to find out if the axis is hidden.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontVariationAxisHiddenKey
	KCTFontVariationAxisHiddenKey string
	// KCTFontVariationAxisIdentifierKey is key to get the variation axis identifier.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontVariationAxisIdentifierKey
	KCTFontVariationAxisIdentifierKey string
	// KCTFontVariationAxisMaximumValueKey is key to get the variation axis maximum value.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontVariationAxisMaximumValueKey
	KCTFontVariationAxisMaximumValueKey string
	// KCTFontVariationAxisMinimumValueKey is key to get the variation axis minimum value.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontVariationAxisMinimumValueKey
	KCTFontVariationAxisMinimumValueKey string
	// KCTFontVariationAxisNameKey is key to get the localized variation axis name string.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontVariationAxisNameKey
	KCTFontVariationAxisNameKey string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontVendorURLNameKey
	KCTFontVendorURLNameKey string
	// See: https://developer.apple.com/documentation/CoreText/kCTFontVersionNameKey
	KCTFontVersionNameKey string
	// KCTFontWeightTrait is the normalized weight trait from the font traits dictionary.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontWeightTrait
	KCTFontWeightTrait string
	// KCTFontWidthTrait is the normalized proportion (width condense or expand) trait from the font traits dictionary.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFontWidthTrait
	KCTFontWidthTrait string
	// KCTForegroundColorAttributeName is the foreground color of the text to which this attribute applies.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTForegroundColorAttributeName
	KCTForegroundColorAttributeName string
	// KCTForegroundColorFromContextAttributeName is sets a foreground color using the context’s fill color.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTForegroundColorFromContextAttributeName
	KCTForegroundColorFromContextAttributeName string
	// KCTFrameClippingPathsAttributeName is specifies array of paths to clip frame.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFrameClippingPathsAttributeName
	KCTFrameClippingPathsAttributeName string
	// KCTFramePathClippingPathAttributeName is specifies clipping path.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFramePathClippingPathAttributeName
	KCTFramePathClippingPathAttributeName string
	// KCTFramePathFillRuleAttributeName is the key used to specify the fill rule for a frame.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFramePathFillRuleAttributeName
	KCTFramePathFillRuleAttributeName string
	// KCTFramePathWidthAttributeName is the key used to specify the frame width.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFramePathWidthAttributeName
	KCTFramePathWidthAttributeName string
	// KCTFrameProgressionAttributeName is specifies progression for a frame.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTFrameProgressionAttributeName
	KCTFrameProgressionAttributeName string
	// KCTGlyphInfoAttributeName is the glyph info object to apply to the text associated with this attribute.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTGlyphInfoAttributeName
	KCTGlyphInfoAttributeName string
	// KCTHorizontalInVerticalFormsAttributeName is setting text in tate-chu-yoko form (horizontal numerals in vertical text).
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTHorizontalInVerticalFormsAttributeName
	KCTHorizontalInVerticalFormsAttributeName string
	// KCTKernAttributeName is the amount to kern the next character.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTKernAttributeName
	KCTKernAttributeName string
	// KCTLanguageAttributeName is the name of the text language.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTLanguageAttributeName
	KCTLanguageAttributeName string
	// KCTLigatureAttributeName is the type of ligatures to use.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTLigatureAttributeName
	KCTLigatureAttributeName string
	// KCTParagraphStyleAttributeName is the paragraph style of the text to which this attribute applies.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTParagraphStyleAttributeName
	KCTParagraphStyleAttributeName string
	// See: https://developer.apple.com/documentation/CoreText/kCTRubyAnnotationAttributeName
	KCTRubyAnnotationAttributeName string
	// See: https://developer.apple.com/documentation/CoreText/kCTRubyAnnotationScaleToFitAttributeName
	KCTRubyAnnotationScaleToFitAttributeName string
	// See: https://developer.apple.com/documentation/CoreText/kCTRubyAnnotationSizeFactorAttributeName
	KCTRubyAnnotationSizeFactorAttributeName string
	// KCTRunDelegateAttributeName is the run-delegate object to apply to an attribute range of the string.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTRunDelegateAttributeName
	KCTRunDelegateAttributeName string
	// KCTStrokeColorAttributeName is the stroke color.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTStrokeColorAttributeName
	KCTStrokeColorAttributeName string
	// KCTStrokeWidthAttributeName is the stroke width.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTStrokeWidthAttributeName
	KCTStrokeWidthAttributeName string
	// KCTSuperscriptAttributeName is controls vertical text positioning.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTSuperscriptAttributeName
	KCTSuperscriptAttributeName string
	// See: https://developer.apple.com/documentation/CoreText/kCTTabColumnTerminatorsAttributeName
	KCTTabColumnTerminatorsAttributeName string
	// KCTTrackingAttributeName is the tracking for the text.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTTrackingAttributeName
	KCTTrackingAttributeName string
	// KCTTypesetterOptionAllowUnboundedLayout is a key that specifies whether the text system lays out text that requires unreasonable effort.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTTypesetterOptionAllowUnboundedLayout
	KCTTypesetterOptionAllowUnboundedLayout string
	// KCTTypesetterOptionForcedEmbeddingLevel is a key that specifies the embedding level of the typesetter’s text.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTTypesetterOptionForcedEmbeddingLevel
	KCTTypesetterOptionForcedEmbeddingLevel string
	// KCTUnderlineColorAttributeName is the underline color.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTUnderlineColorAttributeName
	KCTUnderlineColorAttributeName string
	// KCTUnderlineStyleAttributeName is the style of underlining, to be applied at render time, for the text to which this attribute applies.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTUnderlineStyleAttributeName
	KCTUnderlineStyleAttributeName string
	// KCTVerticalFormsAttributeName is the orientation of the glyphs in the text to which this attribute applies.
	//
	// See: https://developer.apple.com/documentation/CoreText/kCTVerticalFormsAttributeName
	KCTVerticalFormsAttributeName string
	// See: https://developer.apple.com/documentation/CoreText/kCTWritingDirectionAttributeName
	KCTWritingDirectionAttributeName string
)

Functions

func CTFontCollectionCopyExclusionDescriptors

func CTFontCollectionCopyExclusionDescriptors(collection CTFontCollectionRef) corefoundation.CFArrayRef

CTFontCollectionCopyExclusionDescriptors retrieves the array of descriptors to exclude from the match.

See: https://developer.apple.com/documentation/CoreText/CTFontCollectionCopyExclusionDescriptors(_:)

func CTFontCollectionCopyFontAttribute

func CTFontCollectionCopyFontAttribute(collection CTFontCollectionRef, attributeName corefoundation.CFStringRef, options CTFontCollectionCopyOptions) corefoundation.CFArrayRef

CTFontCollectionCopyFontAttribute retrieves an array of font descriptor attribute values.

See: https://developer.apple.com/documentation/CoreText/CTFontCollectionCopyFontAttribute(_:_:_:)

func CTFontCollectionCopyFontAttributes

func CTFontCollectionCopyFontAttributes(collection CTFontCollectionRef, attributeNames corefoundation.CFSetRef, options CTFontCollectionCopyOptions) corefoundation.CFArrayRef

CTFontCollectionCopyFontAttributes retrieves an array of dictionaries containing font descriptor attribute values.

See: https://developer.apple.com/documentation/CoreText/CTFontCollectionCopyFontAttributes(_:_:_:)

func CTFontCollectionCopyQueryDescriptors

func CTFontCollectionCopyQueryDescriptors(collection CTFontCollectionRef) corefoundation.CFArrayRef

CTFontCollectionCopyQueryDescriptors retrieves the array of descriptors for font matching.

See: https://developer.apple.com/documentation/CoreText/CTFontCollectionCopyQueryDescriptors(_:)

func CTFontCollectionCreateMatchingFontDescriptors

func CTFontCollectionCreateMatchingFontDescriptors(collection CTFontCollectionRef) corefoundation.CFArrayRef

CTFontCollectionCreateMatchingFontDescriptors returns an array of font descriptors matching the collection.

See: https://developer.apple.com/documentation/CoreText/CTFontCollectionCreateMatchingFontDescriptors(_:)

func CTFontCollectionCreateMatchingFontDescriptorsForFamily

func CTFontCollectionCreateMatchingFontDescriptorsForFamily(collection CTFontCollectionRef, familyName corefoundation.CFStringRef, options corefoundation.CFDictionaryRef) corefoundation.CFArrayRef

CTFontCollectionCreateMatchingFontDescriptorsForFamily retrieves an array of font descriptors that match the specified family, one descriptor for each style in the collection.

See: https://developer.apple.com/documentation/CoreText/CTFontCollectionCreateMatchingFontDescriptorsForFamily(_:_:_:)

func CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback

func CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback(collection CTFontCollectionRef, sortCallback CTFontCollectionSortDescriptorsCallback, refCon uintptr) corefoundation.CFArrayRef

CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback returns the array of matching font descriptors sorted with the callback function.

See: https://developer.apple.com/documentation/CoreText/CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback(_:_:_:)

func CTFontCollectionCreateMatchingFontDescriptorsWithOptions

func CTFontCollectionCreateMatchingFontDescriptorsWithOptions(collection CTFontCollectionRef, options corefoundation.CFDictionaryRef) corefoundation.CFArrayRef

CTFontCollectionCreateMatchingFontDescriptorsWithOptions creates an array of font descriptors that match the specified collection.

See: https://developer.apple.com/documentation/CoreText/CTFontCollectionCreateMatchingFontDescriptorsWithOptions(_:_:)

func CTFontCollectionGetTypeID

func CTFontCollectionGetTypeID() uint

CTFontCollectionGetTypeID returns the type identifier for Core Text font collection references.

See: https://developer.apple.com/documentation/CoreText/CTFontCollectionGetTypeID()

func CTFontCollectionSetExclusionDescriptors

func CTFontCollectionSetExclusionDescriptors(collection CTMutableFontCollectionRef, descriptors corefoundation.CFArrayRef)

CTFontCollectionSetExclusionDescriptors replaces the array of descriptors to exclude from the match.

See: https://developer.apple.com/documentation/CoreText/CTFontCollectionSetExclusionDescriptors(_:_:)

func CTFontCollectionSetQueryDescriptors

func CTFontCollectionSetQueryDescriptors(collection CTMutableFontCollectionRef, descriptors corefoundation.CFArrayRef)

CTFontCollectionSetQueryDescriptors replaces the array of descriptors for font matching.

See: https://developer.apple.com/documentation/CoreText/CTFontCollectionSetQueryDescriptors(_:_:)

func CTFontCopyAttribute

func CTFontCopyAttribute(font CTFontRef, attribute corefoundation.CFStringRef) corefoundation.CFTypeRef

CTFontCopyAttribute returns the value associated with an arbitrary attribute of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyAttribute(_:_:)

func CTFontCopyAvailableTables

func CTFontCopyAvailableTables(font CTFontRef, options CTFontTableOptions) corefoundation.CFArrayRef

CTFontCopyAvailableTables returns an array of font table tags.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyAvailableTables(_:_:)

func CTFontCopyCharacterSet

func CTFontCopyCharacterSet(font CTFontRef) corefoundation.CFCharacterSet

CTFontCopyCharacterSet returns the Unicode character set of the font.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyCharacterSet(_:)

func CTFontCopyDefaultCascadeListForLanguages

func CTFontCopyDefaultCascadeListForLanguages(font CTFontRef, languagePrefList corefoundation.CFArrayRef) corefoundation.CFArrayRef

CTFontCopyDefaultCascadeListForLanguages retrieves an ordered list of font substitution preferences.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyDefaultCascadeListForLanguages(_:_:)

func CTFontCopyDisplayName

func CTFontCopyDisplayName(font CTFontRef) corefoundation.CFStringRef

CTFontCopyDisplayName returns the display name of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyDisplayName(_:)

func CTFontCopyFamilyName

func CTFontCopyFamilyName(font CTFontRef) corefoundation.CFStringRef

CTFontCopyFamilyName returns the family name of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyFamilyName(_:)

func CTFontCopyFeatureSettings

func CTFontCopyFeatureSettings(font CTFontRef) corefoundation.CFArrayRef

CTFontCopyFeatureSettings returns an array of font feature-setting tuples.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyFeatureSettings(_:)

func CTFontCopyFeatures

func CTFontCopyFeatures(font CTFontRef) corefoundation.CFArrayRef

CTFontCopyFeatures returns an array of font features.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyFeatures(_:)

func CTFontCopyFullName

func CTFontCopyFullName(font CTFontRef) corefoundation.CFStringRef

CTFontCopyFullName returns the full name of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyFullName(_:)

func CTFontCopyGraphicsFont

func CTFontCopyGraphicsFont(font CTFontRef, attributes *CTFontDescriptorRef) coregraphics.CGFont

CTFontCopyGraphicsFont returns a Core Graphics font reference and attributes.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyGraphicsFont(_:_:)

func CTFontCopyLocalizedName

func CTFontCopyLocalizedName(font CTFontRef, nameKey corefoundation.CFStringRef, actualLanguage *corefoundation.CFStringRef) corefoundation.CFStringRef

CTFontCopyLocalizedName returns a reference to a localized name for the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyLocalizedName(_:_:_:)

func CTFontCopyName

func CTFontCopyName(font CTFontRef, nameKey corefoundation.CFStringRef) corefoundation.CFStringRef

CTFontCopyName returns a reference to the requested name of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyName(_:_:)

func CTFontCopyNameForGlyph

func CTFontCopyNameForGlyph(font CTFontRef, glyph uint16) corefoundation.CFStringRef

CTFontCopyNameForGlyph retrieves the name for the specified glyph.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyNameForGlyph(_:_:)

func CTFontCopyPostScriptName

func CTFontCopyPostScriptName(font CTFontRef) corefoundation.CFStringRef

CTFontCopyPostScriptName returns the PostScript name of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyPostScriptName(_:)

func CTFontCopySupportedLanguages

func CTFontCopySupportedLanguages(font CTFontRef) corefoundation.CFArrayRef

CTFontCopySupportedLanguages returns an array of languages supported by the font.

See: https://developer.apple.com/documentation/CoreText/CTFontCopySupportedLanguages(_:)

func CTFontCopyTable

func CTFontCopyTable(font CTFontRef, table CTFontTableTag, options CTFontTableOptions) corefoundation.CFDataRef

CTFontCopyTable returns a reference to the font table data.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyTable(_:_:_:)

func CTFontCopyTraits

func CTFontCopyTraits(font CTFontRef) corefoundation.CFDictionaryRef

CTFontCopyTraits returns the traits dictionary of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyTraits(_:)

func CTFontCopyVariation

func CTFontCopyVariation(font CTFontRef) corefoundation.CFDictionaryRef

CTFontCopyVariation returns a variation dictionary from the font reference.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyVariation(_:)

func CTFontCopyVariationAxes

func CTFontCopyVariationAxes(font CTFontRef) corefoundation.CFArrayRef

CTFontCopyVariationAxes returns an array of variation axes.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyVariationAxes(_:)

func CTFontCreatePathForGlyph

func CTFontCreatePathForGlyph(font CTFontRef, glyph uint16, matrix *corefoundation.CGAffineTransform) coregraphics.CGPathRef

CTFontCreatePathForGlyph creates a path for the specified glyph.

See: https://developer.apple.com/documentation/CoreText/CTFontCreatePathForGlyph(_:_:_:)

func CTFontDescriptorCopyAttribute

func CTFontDescriptorCopyAttribute(descriptor CTFontDescriptorRef, attribute corefoundation.CFStringRef) corefoundation.CFTypeRef

CTFontDescriptorCopyAttribute returns the value associated with an arbitrary attribute.

See: https://developer.apple.com/documentation/CoreText/CTFontDescriptorCopyAttribute(_:_:)

func CTFontDescriptorCopyAttributes

func CTFontDescriptorCopyAttributes(descriptor CTFontDescriptorRef) corefoundation.CFDictionaryRef

CTFontDescriptorCopyAttributes returns the attributes dictionary of the font descriptor.

See: https://developer.apple.com/documentation/CoreText/CTFontDescriptorCopyAttributes(_:)

func CTFontDescriptorCopyLocalizedAttribute

func CTFontDescriptorCopyLocalizedAttribute(descriptor CTFontDescriptorRef, attribute corefoundation.CFStringRef, language *corefoundation.CFStringRef) corefoundation.CFTypeRef

CTFontDescriptorCopyLocalizedAttribute returns a localized value for the requested attribute, if available.

See: https://developer.apple.com/documentation/CoreText/CTFontDescriptorCopyLocalizedAttribute(_:_:_:)

func CTFontDescriptorCreateMatchingFontDescriptors

func CTFontDescriptorCreateMatchingFontDescriptors(descriptor CTFontDescriptorRef, mandatoryAttributes corefoundation.CFSetRef) corefoundation.CFArrayRef

CTFontDescriptorCreateMatchingFontDescriptors returns an array of normalized font descriptors matching the provided descriptor.

See: https://developer.apple.com/documentation/CoreText/CTFontDescriptorCreateMatchingFontDescriptors(_:_:)

func CTFontDescriptorGetTypeID

func CTFontDescriptorGetTypeID() uint

CTFontDescriptorGetTypeID returns the type identifier for Core Text font descriptor references.

See: https://developer.apple.com/documentation/CoreText/CTFontDescriptorGetTypeID()

func CTFontDescriptorMatchFontDescriptorsWithProgressHandler

func CTFontDescriptorMatchFontDescriptorsWithProgressHandler(descriptors corefoundation.CFArrayRef, mandatoryAttributes corefoundation.CFSetRef, progressBlock CTFontDescriptorProgressHandler) bool

CTFontDescriptorMatchFontDescriptorsWithProgressHandler matches font descriptors and tracks progress with a progress handler.

See: https://developer.apple.com/documentation/CoreText/CTFontDescriptorMatchFontDescriptorsWithProgressHandler(_:_:_:)

func CTFontDrawGlyphs

func CTFontDrawGlyphs(font CTFontRef, glyphs unsafe.Pointer, positions *corefoundation.CGPoint, count uintptr, context coregraphics.CGContextRef)

CTFontDrawGlyphs renders the given glyphs of a font at the specified positions in the supplied graphics context.

See: https://developer.apple.com/documentation/CoreText/CTFontDrawGlyphs(_:_:_:_:_:)

func CTFontGetAdvancesForGlyphs

func CTFontGetAdvancesForGlyphs(font CTFontRef, orientation CTFontOrientation, glyphs unsafe.Pointer, advances *corefoundation.CGSize, count int) float64

CTFontGetAdvancesForGlyphs calculates the advances for an array of glyphs and returns the summed advance.

See: https://developer.apple.com/documentation/CoreText/CTFontGetAdvancesForGlyphs(_:_:_:_:_:)

func CTFontGetAscent

func CTFontGetAscent(font CTFontRef) float64

CTFontGetAscent returns the scaled font-ascent metric of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontGetAscent(_:)

func CTFontGetBoundingBox

func CTFontGetBoundingBox(font CTFontRef) corefoundation.CGRect

CTFontGetBoundingBox returns the scaled bounding box of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontGetBoundingBox(_:)

func CTFontGetBoundingRectsForGlyphs

func CTFontGetBoundingRectsForGlyphs(font CTFontRef, orientation CTFontOrientation, glyphs unsafe.Pointer, boundingRects *corefoundation.CGRect, count int) corefoundation.CGRect

CTFontGetBoundingRectsForGlyphs calculates the bounding rects for an array of glyphs and returns the overall bounding rectangle for the glyph run.

See: https://developer.apple.com/documentation/CoreText/CTFontGetBoundingRectsForGlyphs(_:_:_:_:_:)

func CTFontGetCapHeight

func CTFontGetCapHeight(font CTFontRef) float64

CTFontGetCapHeight returns the cap-height metric of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontGetCapHeight(_:)

func CTFontGetDescent

func CTFontGetDescent(font CTFontRef) float64

CTFontGetDescent returns the scaled font-descent metric of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontGetDescent(_:)

func CTFontGetGlyphCount

func CTFontGetGlyphCount(font CTFontRef) int

CTFontGetGlyphCount returns the number of glyphs of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontGetGlyphCount(_:)

func CTFontGetGlyphWithName

func CTFontGetGlyphWithName(font CTFontRef, glyphName corefoundation.CFStringRef) uint16

CTFontGetGlyphWithName returns the glyph for the specified name.

See: https://developer.apple.com/documentation/CoreText/CTFontGetGlyphWithName(_:_:)

func CTFontGetGlyphsForCharacters

func CTFontGetGlyphsForCharacters(font CTFontRef, characters *uint16, glyphs unsafe.Pointer, count int) bool

CTFontGetGlyphsForCharacters performs basic character-to-glyph mapping.

See: https://developer.apple.com/documentation/CoreText/CTFontGetGlyphsForCharacters(_:_:_:_:)

func CTFontGetLeading

func CTFontGetLeading(font CTFontRef) float64

CTFontGetLeading returns the scaled font-leading metric of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontGetLeading(_:)

func CTFontGetLigatureCaretPositions

func CTFontGetLigatureCaretPositions(font CTFontRef, glyph uint16, positions *float64, maxPositions int) int

CTFontGetLigatureCaretPositions returns caret positions within a glyph.

See: https://developer.apple.com/documentation/CoreText/CTFontGetLigatureCaretPositions(_:_:_:_:)

func CTFontGetMatrix

func CTFontGetMatrix(font CTFontRef) corefoundation.CGAffineTransform

CTFontGetMatrix returns the transformation matrix of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontGetMatrix(_:)

func CTFontGetOpticalBoundsForGlyphs

func CTFontGetOpticalBoundsForGlyphs(font CTFontRef, glyphs unsafe.Pointer, boundingRects *corefoundation.CGRect, count int, options uint) corefoundation.CGRect

CTFontGetOpticalBoundsForGlyphs calculates the optical bounds for an array of glyphs and returns the overall optical bounds for the run.

See: https://developer.apple.com/documentation/CoreText/CTFontGetOpticalBoundsForGlyphs(_:_:_:_:_:)

func CTFontGetSize

func CTFontGetSize(font CTFontRef) float64

CTFontGetSize returns the point size of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontGetSize(_:)

func CTFontGetSlantAngle

func CTFontGetSlantAngle(font CTFontRef) float64

CTFontGetSlantAngle returns the slant angle of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontGetSlantAngle(_:)

func CTFontGetStringEncoding

func CTFontGetStringEncoding(font CTFontRef) uint32

CTFontGetStringEncoding returns the best string encoding for legacy format support.

See: https://developer.apple.com/documentation/CoreText/CTFontGetStringEncoding(_:)

func CTFontGetTypeID

func CTFontGetTypeID() uint

CTFontGetTypeID returns the type identifier for Core Text font references.

See: https://developer.apple.com/documentation/CoreText/CTFontGetTypeID()

func CTFontGetUnderlinePosition

func CTFontGetUnderlinePosition(font CTFontRef) float64

CTFontGetUnderlinePosition returns the scaled underline position of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontGetUnderlinePosition(_:)

func CTFontGetUnderlineThickness

func CTFontGetUnderlineThickness(font CTFontRef) float64

CTFontGetUnderlineThickness returns the scaled underline-thickness metric of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontGetUnderlineThickness(_:)

func CTFontGetUnitsPerEm

func CTFontGetUnitsPerEm(font CTFontRef) uint32

CTFontGetUnitsPerEm returns the units-per-em metric of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontGetUnitsPerEm(_:)

func CTFontGetVerticalTranslationsForGlyphs

func CTFontGetVerticalTranslationsForGlyphs(font CTFontRef, glyphs unsafe.Pointer, translations *corefoundation.CGSize, count int)

CTFontGetVerticalTranslationsForGlyphs calculates the offset from the default (horizontal) origin to the vertical origin for an array of glyphs.

See: https://developer.apple.com/documentation/CoreText/CTFontGetVerticalTranslationsForGlyphs(_:_:_:_:)

func CTFontGetXHeight

func CTFontGetXHeight(font CTFontRef) float64

CTFontGetXHeight returns the x-height metric of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontGetXHeight(_:)

func CTFontManagerCompareFontFamilyNames

func CTFontManagerCompareFontFamilyNames(family1 unsafe.Pointer, family2 unsafe.Pointer, context unsafe.Pointer) corefoundation.CFComparisonResult

CTFontManagerCompareFontFamilyNames a comparator function to compare font family names and sort them according to Apple guidelines.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerCompareFontFamilyNames(_:_:_:)

func CTFontManagerCopyAvailableFontFamilyNames

func CTFontManagerCopyAvailableFontFamilyNames() corefoundation.CFArrayRef

CTFontManagerCopyAvailableFontFamilyNames returns an array of visible font family names sorted for user interface display.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerCopyAvailableFontFamilyNames()

func CTFontManagerCopyAvailableFontURLs

func CTFontManagerCopyAvailableFontURLs() corefoundation.CFArrayRef

CTFontManagerCopyAvailableFontURLs returns an array of font URLs.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerCopyAvailableFontURLs()

func CTFontManagerCopyAvailablePostScriptNames

func CTFontManagerCopyAvailablePostScriptNames() corefoundation.CFArrayRef

CTFontManagerCopyAvailablePostScriptNames returns an array of unique PostScript font names for the fonts.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerCopyAvailablePostScriptNames()

func CTFontManagerCreateFontDescriptorsFromData

func CTFontManagerCreateFontDescriptorsFromData(data corefoundation.CFDataRef) corefoundation.CFArrayRef

CTFontManagerCreateFontDescriptorsFromData creates an array of font descriptors for the fonts in the supplied data.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerCreateFontDescriptorsFromData(_:)

func CTFontManagerCreateFontDescriptorsFromURL

func CTFontManagerCreateFontDescriptorsFromURL(fileURL corefoundation.CFURLRef) corefoundation.CFArrayRef

CTFontManagerCreateFontDescriptorsFromURL returns an array of font descriptors representing each of the fonts in the specified URL.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerCreateFontDescriptorsFromURL(_:)

func CTFontManagerEnableFontDescriptors

func CTFontManagerEnableFontDescriptors(descriptors corefoundation.CFArrayRef, enable bool)

CTFontManagerEnableFontDescriptors enables or disables the matching font descriptors for font descriptor matching.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerEnableFontDescriptors(_:_:)

func CTFontManagerIsSupportedFont

func CTFontManagerIsSupportedFont(fontURL corefoundation.CFURLRef) bool

CTFontManagerIsSupportedFont determines whether a file is in a supported font format.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerIsSupportedFont(_:)

func CTFontManagerRegisterFontDescriptors

func CTFontManagerRegisterFontDescriptors(fontDescriptors corefoundation.CFArrayRef, scope CTFontManagerScope, enabled bool, registrationHandler bool)

CTFontManagerRegisterFontDescriptors registers font descriptors with the font manager.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerRegisterFontDescriptors(_:_:_:_:)

func CTFontManagerRegisterFontURLs

func CTFontManagerRegisterFontURLs(fontURLs corefoundation.CFArrayRef, scope CTFontManagerScope, enabled bool, registrationHandler bool)

CTFontManagerRegisterFontURLs registers fonts from the specified font URLs with the font manager.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerRegisterFontURLs(_:_:_:_:)

func CTFontManagerRegisterFontsForURL

func CTFontManagerRegisterFontsForURL(fontURL corefoundation.CFURLRef, scope CTFontManagerScope, err *corefoundation.CFErrorRef) bool

CTFontManagerRegisterFontsForURL registers fonts from the specified font URL with the Font Manager.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerRegisterFontsForURL(_:_:_:)

func CTFontManagerRegisterFontsForURLs deprecated

func CTFontManagerRegisterFontsForURLs(fontURLs corefoundation.CFArrayRef, scope CTFontManagerScope, errors *corefoundation.CFArrayRef) bool

CTFontManagerRegisterFontsForURLs registers fonts from the specified array of font URLs with the Font Manager.

Deprecated: Deprecated since macOS 10.15.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerRegisterFontsForURLs(_:_:_:)

func CTFontManagerRegisterGraphicsFont deprecated

func CTFontManagerRegisterGraphicsFont(font coregraphics.CGFont, err *corefoundation.CFErrorRef) bool

CTFontManagerRegisterGraphicsFont registers the specified graphics font with the font manager.

Deprecated: Deprecated since macOS 15.0. Use CTFontManagerCreateFontDescriptorsFromData or CTFontManagerRegisterFontsForURL

See: https://developer.apple.com/documentation/CoreText/CTFontManagerRegisterGraphicsFont(_:_:)

func CTFontManagerSetAutoActivationSetting

func CTFontManagerSetAutoActivationSetting(bundleIdentifier corefoundation.CFStringRef, setting CTFontManagerAutoActivationSetting)

CTFontManagerSetAutoActivationSetting sets the auto-activation setting for the specified bundle identifier.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerSetAutoActivationSetting(_:_:)

func CTFontManagerUnregisterFontDescriptors

func CTFontManagerUnregisterFontDescriptors(fontDescriptors corefoundation.CFArrayRef, scope CTFontManagerScope, registrationHandler bool)

CTFontManagerUnregisterFontDescriptors unregisters font descriptors with the font manager.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerUnregisterFontDescriptors(_:_:_:)

func CTFontManagerUnregisterFontURLs

func CTFontManagerUnregisterFontURLs(fontURLs corefoundation.CFArrayRef, scope CTFontManagerScope, registrationHandler bool)

CTFontManagerUnregisterFontURLs unregisters fonts from the specified font URLs with the font manager.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerUnregisterFontURLs(_:_:_:)

func CTFontManagerUnregisterFontsForURL

func CTFontManagerUnregisterFontsForURL(fontURL corefoundation.CFURLRef, scope CTFontManagerScope, err *corefoundation.CFErrorRef) bool

CTFontManagerUnregisterFontsForURL unregisters fonts from the specified font URL with the Font Manager.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerUnregisterFontsForURL(_:_:_:)

func CTFontManagerUnregisterFontsForURLs deprecated

func CTFontManagerUnregisterFontsForURLs(fontURLs corefoundation.CFArrayRef, scope CTFontManagerScope, errors *corefoundation.CFArrayRef) bool

CTFontManagerUnregisterFontsForURLs unregisters fonts from the specified array of font URLs with the Font Manager.

Deprecated: Deprecated since macOS 10.15.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerUnregisterFontsForURLs(_:_:_:)

func CTFontManagerUnregisterGraphicsFont deprecated

func CTFontManagerUnregisterGraphicsFont(font coregraphics.CGFont, err *corefoundation.CFErrorRef) bool

CTFontManagerUnregisterGraphicsFont unregisters the specified graphics font with the font manager.

Deprecated: Deprecated since macOS 15.0. Use the API corresponding to the one used to register the font

See: https://developer.apple.com/documentation/CoreText/CTFontManagerUnregisterGraphicsFont(_:_:)

func CTFrameDraw

func CTFrameDraw(frame CTFrameRef, context coregraphics.CGContextRef)

CTFrameDraw draws an entire frame into a context.

See: https://developer.apple.com/documentation/CoreText/CTFrameDraw(_:_:)

func CTFrameGetFrameAttributes

func CTFrameGetFrameAttributes(frame CTFrameRef) corefoundation.CFDictionaryRef

CTFrameGetFrameAttributes returns the frame attributes used to create the frame.

See: https://developer.apple.com/documentation/CoreText/CTFrameGetFrameAttributes(_:)

func CTFrameGetLineOrigins

func CTFrameGetLineOrigins(frame CTFrameRef, range_ corefoundation.CFRange, origins *corefoundation.CGPoint)

CTFrameGetLineOrigins copies a range of line origins for a frame.

See: https://developer.apple.com/documentation/CoreText/CTFrameGetLineOrigins(_:_:_:)

func CTFrameGetLines

func CTFrameGetLines(frame CTFrameRef) corefoundation.CFArrayRef

CTFrameGetLines returns an array of lines stored in the frame.

See: https://developer.apple.com/documentation/CoreText/CTFrameGetLines(_:)

func CTFrameGetPath

func CTFrameGetPath(frame CTFrameRef) coregraphics.CGPathRef

CTFrameGetPath returns the path used to create the frame.

See: https://developer.apple.com/documentation/CoreText/CTFrameGetPath(_:)

func CTFrameGetStringRange

func CTFrameGetStringRange(frame CTFrameRef) corefoundation.CFRange

CTFrameGetStringRange returns the range of characters originally requested to fill the frame.

See: https://developer.apple.com/documentation/CoreText/CTFrameGetStringRange(_:)

func CTFrameGetTypeID

func CTFrameGetTypeID() uint

CTFrameGetTypeID returns the type identifier for the CTFrame opaque type.

See: https://developer.apple.com/documentation/CoreText/CTFrameGetTypeID()

func CTFrameGetVisibleStringRange

func CTFrameGetVisibleStringRange(frame CTFrameRef) corefoundation.CFRange

CTFrameGetVisibleStringRange returns the range of characters that actually fit in the frame.

See: https://developer.apple.com/documentation/CoreText/CTFrameGetVisibleStringRange(_:)

func CTFramesetterGetTypeID

func CTFramesetterGetTypeID() uint

CTFramesetterGetTypeID returns the Core Foundation type identifier of the framesetter object.

See: https://developer.apple.com/documentation/CoreText/CTFramesetterGetTypeID()

func CTFramesetterSuggestFrameSizeWithConstraints

func CTFramesetterSuggestFrameSizeWithConstraints(framesetter CTFramesetterRef, stringRange corefoundation.CFRange, frameAttributes corefoundation.CFDictionaryRef, constraints corefoundation.CGSize, fitRange *corefoundation.CFRange) corefoundation.CGSize

CTFramesetterSuggestFrameSizeWithConstraints determines the frame size needed for a string range.

See: https://developer.apple.com/documentation/CoreText/CTFramesetterSuggestFrameSizeWithConstraints(_:_:_:_:_:)

func CTGlyphInfoGetCharacterIdentifier

func CTGlyphInfoGetCharacterIdentifier(glyphInfo CTGlyphInfoRef) uint16

CTGlyphInfoGetCharacterIdentifier gets the character identifier for a glyph info object.

See: https://developer.apple.com/documentation/CoreText/CTGlyphInfoGetCharacterIdentifier(_:)

func CTGlyphInfoGetGlyph

func CTGlyphInfoGetGlyph(glyphInfo CTGlyphInfoRef) uint16

CTGlyphInfoGetGlyph retrieves the glyph for a glyph info, if that object exists.

See: https://developer.apple.com/documentation/CoreText/CTGlyphInfoGetGlyph(_:)

func CTGlyphInfoGetGlyphName

func CTGlyphInfoGetGlyphName(glyphInfo CTGlyphInfoRef) corefoundation.CFStringRef

CTGlyphInfoGetGlyphName retrieves the glyph name for a glyph info object, if that object exists.

See: https://developer.apple.com/documentation/CoreText/CTGlyphInfoGetGlyphName(_:)

func CTGlyphInfoGetTypeID

func CTGlyphInfoGetTypeID() uint

CTGlyphInfoGetTypeID returns the Core Foundation type identifier of the glyph info object

See: https://developer.apple.com/documentation/CoreText/CTGlyphInfoGetTypeID()

func CTLineDraw

func CTLineDraw(line CTLineRef, context coregraphics.CGContextRef)

CTLineDraw draws a complete line.

See: https://developer.apple.com/documentation/CoreText/CTLineDraw(_:_:)

func CTLineEnumerateCaretOffsets

func CTLineEnumerateCaretOffsets(line CTLineRef)

CTLineEnumerateCaretOffsets enumerates caret offsets for characters in a line.

See: https://developer.apple.com/documentation/CoreText/CTLineEnumerateCaretOffsets(_:_:)

func CTLineGetBoundsWithOptions

func CTLineGetBoundsWithOptions(line CTLineRef, options CTLineBoundsOptions) corefoundation.CGRect

CTLineGetBoundsWithOptions calculates the bounds for a line.

See: https://developer.apple.com/documentation/CoreText/CTLineGetBoundsWithOptions(_:_:)

func CTLineGetGlyphCount

func CTLineGetGlyphCount(line CTLineRef) int

CTLineGetGlyphCount returns the total glyph count for the line object.

See: https://developer.apple.com/documentation/CoreText/CTLineGetGlyphCount(_:)

func CTLineGetGlyphRuns

func CTLineGetGlyphRuns(line CTLineRef) corefoundation.CFArrayRef

CTLineGetGlyphRuns returns the array of glyph runs that make up the line object.

See: https://developer.apple.com/documentation/CoreText/CTLineGetGlyphRuns(_:)

func CTLineGetImageBounds

func CTLineGetImageBounds(line CTLineRef, context coregraphics.CGContextRef) corefoundation.CGRect

CTLineGetImageBounds calculates the image bounds for a line.

See: https://developer.apple.com/documentation/CoreText/CTLineGetImageBounds(_:_:)

func CTLineGetOffsetForStringIndex

func CTLineGetOffsetForStringIndex(line CTLineRef, charIndex int, secondaryOffset *float64) float64

CTLineGetOffsetForStringIndex determines the graphical offset or offsets for a string index.

See: https://developer.apple.com/documentation/CoreText/CTLineGetOffsetForStringIndex(_:_:_:)

func CTLineGetPenOffsetForFlush

func CTLineGetPenOffsetForFlush(line CTLineRef, flushFactor float64, flushWidth float64) float64

CTLineGetPenOffsetForFlush gets the pen offset required to draw flush text.

See: https://developer.apple.com/documentation/CoreText/CTLineGetPenOffsetForFlush(_:_:_:)

func CTLineGetStringIndexForPosition

func CTLineGetStringIndexForPosition(line CTLineRef, position corefoundation.CGPoint) int

CTLineGetStringIndexForPosition performs hit testing.

See: https://developer.apple.com/documentation/CoreText/CTLineGetStringIndexForPosition(_:_:)

func CTLineGetStringRange

func CTLineGetStringRange(line CTLineRef) corefoundation.CFRange

CTLineGetStringRange gets the range of characters that originally spawned the glyphs in the line.

See: https://developer.apple.com/documentation/CoreText/CTLineGetStringRange(_:)

func CTLineGetTrailingWhitespaceWidth

func CTLineGetTrailingWhitespaceWidth(line CTLineRef) float64

CTLineGetTrailingWhitespaceWidth returns the trailing whitespace width for a line.

See: https://developer.apple.com/documentation/CoreText/CTLineGetTrailingWhitespaceWidth(_:)

func CTLineGetTypeID

func CTLineGetTypeID() uint

CTLineGetTypeID returns the Core Foundation type identifier of the line object.

See: https://developer.apple.com/documentation/CoreText/CTLineGetTypeID()

func CTLineGetTypographicBounds

func CTLineGetTypographicBounds(line CTLineRef, ascent *float64, descent *float64, leading *float64) float64

CTLineGetTypographicBounds calculates the typographic bounds of a line.

See: https://developer.apple.com/documentation/CoreText/CTLineGetTypographicBounds(_:_:_:_:)

func CTParagraphStyleGetTypeID

func CTParagraphStyleGetTypeID() uint

CTParagraphStyleGetTypeID returns the Core Foundation type identifier of the paragraph style object.

See: https://developer.apple.com/documentation/CoreText/CTParagraphStyleGetTypeID()

func CTParagraphStyleGetValueForSpecifier

func CTParagraphStyleGetValueForSpecifier(paragraphStyle CTParagraphStyleRef, spec CTParagraphStyleSpecifier, valueBufferSize uintptr, valueBuffer unsafe.Pointer) bool

CTParagraphStyleGetValueForSpecifier obtains the current value for a single setting specifier.

See: https://developer.apple.com/documentation/CoreText/CTParagraphStyleGetValueForSpecifier(_:_:_:_:)

func CTRubyAnnotationGetSizeFactor

func CTRubyAnnotationGetSizeFactor(rubyAnnotation CTRubyAnnotationRef) float64

CTRubyAnnotationGetSizeFactor retrieves the size factor of a ruby annotation object.

See: https://developer.apple.com/documentation/CoreText/CTRubyAnnotationGetSizeFactor(_:)

func CTRubyAnnotationGetTextForPosition

func CTRubyAnnotationGetTextForPosition(rubyAnnotation CTRubyAnnotationRef, position CTRubyPosition) corefoundation.CFStringRef

CTRubyAnnotationGetTextForPosition retrieves the ruby text for a particular position in a ruby annotation.

See: https://developer.apple.com/documentation/CoreText/CTRubyAnnotationGetTextForPosition(_:_:)

func CTRubyAnnotationGetTypeID

func CTRubyAnnotationGetTypeID() uint

CTRubyAnnotationGetTypeID retrieves the type of the ruby annotation object.

See: https://developer.apple.com/documentation/CoreText/CTRubyAnnotationGetTypeID()

func CTRunDelegateGetRefCon

func CTRunDelegateGetRefCon(runDelegate CTRunDelegateRef) unsafe.Pointer

CTRunDelegateGetRefCon returns a run delegate’s “refCon” value.

See: https://developer.apple.com/documentation/CoreText/CTRunDelegateGetRefCon(_:)

func CTRunDelegateGetTypeID

func CTRunDelegateGetTypeID() uint

CTRunDelegateGetTypeID returns the type of CTRunDelegate objects.

See: https://developer.apple.com/documentation/CoreText/CTRunDelegateGetTypeID()

func CTRunDraw

func CTRunDraw(run CTRunRef, context coregraphics.CGContextRef, range_ corefoundation.CFRange)

CTRunDraw draws a complete run or part of one.

See: https://developer.apple.com/documentation/CoreText/CTRunDraw(_:_:_:)

func CTRunGetAdvances

func CTRunGetAdvances(run CTRunRef, range_ corefoundation.CFRange, buffer *corefoundation.CGSize)

CTRunGetAdvances copies a range of glyph advances into a user-provided buffer.

See: https://developer.apple.com/documentation/CoreText/CTRunGetAdvances(_:_:_:)

func CTRunGetAdvancesPtr

func CTRunGetAdvancesPtr(run CTRunRef) *corefoundation.CGSize

CTRunGetAdvancesPtr returns a direct pointer for the glyph advance array stored in the run.

See: https://developer.apple.com/documentation/CoreText/CTRunGetAdvancesPtr(_:)

func CTRunGetAttributes

func CTRunGetAttributes(run CTRunRef) corefoundation.CFDictionaryRef

CTRunGetAttributes returns the attribute dictionary that was used to create the glyph run.

See: https://developer.apple.com/documentation/CoreText/CTRunGetAttributes(_:)

func CTRunGetBaseAdvancesAndOrigins

func CTRunGetBaseAdvancesAndOrigins(runRef CTRunRef, range_ corefoundation.CFRange, advancesBuffer *corefoundation.CGSize, originsBuffer *corefoundation.CGPoint)

CTRunGetBaseAdvancesAndOrigins copies a range of base advances and origins into user-provided buffers.

See: https://developer.apple.com/documentation/CoreText/CTRunGetBaseAdvancesAndOrigins(_:_:_:_:)

func CTRunGetGlyphCount

func CTRunGetGlyphCount(run CTRunRef) int

CTRunGetGlyphCount gets the glyph count for the run.

See: https://developer.apple.com/documentation/CoreText/CTRunGetGlyphCount(_:)

func CTRunGetGlyphs

func CTRunGetGlyphs(run CTRunRef, range_ corefoundation.CFRange, buffer unsafe.Pointer)

CTRunGetGlyphs copies a range of glyphs into a user-provided buffer.

See: https://developer.apple.com/documentation/CoreText/CTRunGetGlyphs(_:_:_:)

func CTRunGetGlyphsPtr

func CTRunGetGlyphsPtr(run CTRunRef) unsafe.Pointer

CTRunGetGlyphsPtr returns a direct pointer for the glyph array stored in the run.

See: https://developer.apple.com/documentation/CoreText/CTRunGetGlyphsPtr(_:)

func CTRunGetImageBounds

func CTRunGetImageBounds(run CTRunRef, context coregraphics.CGContextRef, range_ corefoundation.CFRange) corefoundation.CGRect

CTRunGetImageBounds calculates the image bounds for a glyph range.

See: https://developer.apple.com/documentation/CoreText/CTRunGetImageBounds(_:_:_:)

func CTRunGetPositions

func CTRunGetPositions(run CTRunRef, range_ corefoundation.CFRange, buffer *corefoundation.CGPoint)

CTRunGetPositions copies a range of glyph positions into a user-provided buffer.

See: https://developer.apple.com/documentation/CoreText/CTRunGetPositions(_:_:_:)

func CTRunGetPositionsPtr

func CTRunGetPositionsPtr(run CTRunRef) *corefoundation.CGPoint

CTRunGetPositionsPtr returns a direct pointer for the glyph position array stored in the run.

See: https://developer.apple.com/documentation/CoreText/CTRunGetPositionsPtr(_:)

func CTRunGetStringIndices

func CTRunGetStringIndices(run CTRunRef, range_ corefoundation.CFRange, buffer *int)

CTRunGetStringIndices copies a range of string indices into a user-provided buffer.

See: https://developer.apple.com/documentation/CoreText/CTRunGetStringIndices(_:_:_:)

func CTRunGetStringIndicesPtr

func CTRunGetStringIndicesPtr(run CTRunRef) *int

CTRunGetStringIndicesPtr returns a direct pointer for the string indices stored in the run.

See: https://developer.apple.com/documentation/CoreText/CTRunGetStringIndicesPtr(_:)

func CTRunGetStringRange

func CTRunGetStringRange(run CTRunRef) corefoundation.CFRange

CTRunGetStringRange gets the range of characters that originally spawned the glyphs in the run.

See: https://developer.apple.com/documentation/CoreText/CTRunGetStringRange(_:)

func CTRunGetTextMatrix

func CTRunGetTextMatrix(run CTRunRef) corefoundation.CGAffineTransform

CTRunGetTextMatrix returns the text matrix needed to draw this run.

See: https://developer.apple.com/documentation/CoreText/CTRunGetTextMatrix(_:)

func CTRunGetTypeID

func CTRunGetTypeID() uint

CTRunGetTypeID returns the Core Foundation type identifier of the run object.

See: https://developer.apple.com/documentation/CoreText/CTRunGetTypeID()

func CTRunGetTypographicBounds

func CTRunGetTypographicBounds(run CTRunRef, range_ corefoundation.CFRange, ascent *float64, descent *float64, leading *float64) float64

CTRunGetTypographicBounds gets the typographic bounds of the run.

See: https://developer.apple.com/documentation/CoreText/CTRunGetTypographicBounds(_:_:_:_:_:)

func CTTextTabGetLocation

func CTTextTabGetLocation(tab CTTextTabRef) float64

CTTextTabGetLocation returns the tab’s ruler location.

See: https://developer.apple.com/documentation/CoreText/CTTextTabGetLocation(_:)

func CTTextTabGetOptions

func CTTextTabGetOptions(tab CTTextTabRef) corefoundation.CFDictionaryRef

CTTextTabGetOptions returns the dictionary of attributes associated with the tab.

See: https://developer.apple.com/documentation/CoreText/CTTextTabGetOptions(_:)

func CTTextTabGetTypeID

func CTTextTabGetTypeID() uint

CTTextTabGetTypeID returns the Core Foundation type identifier of the text tab object.

See: https://developer.apple.com/documentation/CoreText/CTTextTabGetTypeID()

func CTTypesetterGetTypeID

func CTTypesetterGetTypeID() uint

CTTypesetterGetTypeID returns the Core Foundation type identifier of the typesetter object.

See: https://developer.apple.com/documentation/CoreText/CTTypesetterGetTypeID()

func CTTypesetterSuggestClusterBreak

func CTTypesetterSuggestClusterBreak(typesetter CTTypesetterRef, startIndex int, width float64) int

CTTypesetterSuggestClusterBreak suggests a cluster line breakpoint based on the width provided.

See: https://developer.apple.com/documentation/CoreText/CTTypesetterSuggestClusterBreak(_:_:_:)

func CTTypesetterSuggestClusterBreakWithOffset

func CTTypesetterSuggestClusterBreakWithOffset(typesetter CTTypesetterRef, startIndex int, width float64, offset float64) int

CTTypesetterSuggestClusterBreakWithOffset suggests a cluster line breakpoint based on the specified width and line offset.

See: https://developer.apple.com/documentation/CoreText/CTTypesetterSuggestClusterBreakWithOffset(_:_:_:_:)

func CTTypesetterSuggestLineBreak

func CTTypesetterSuggestLineBreak(typesetter CTTypesetterRef, startIndex int, width float64) int

CTTypesetterSuggestLineBreak suggests a contextual line breakpoint based on the width provided.

See: https://developer.apple.com/documentation/CoreText/CTTypesetterSuggestLineBreak(_:_:_:)

func CTTypesetterSuggestLineBreakWithOffset

func CTTypesetterSuggestLineBreakWithOffset(typesetter CTTypesetterRef, startIndex int, width float64, offset float64) int

CTTypesetterSuggestLineBreakWithOffset suggests a contextual line breakpoint based on the width provided and the specified offset.

See: https://developer.apple.com/documentation/CoreText/CTTypesetterSuggestLineBreakWithOffset(_:_:_:_:)

Types

type ALMXGlyphEntry

type ALMXGlyphEntry struct {
	GlyphIndexOffset  int16
	HorizontalAdvance int16
	XOffsetToHOrigin  int16
	VerticalAdvance   int16
	YOffsetToVOrigin  int16
}

ALMXGlyphEntry

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/ALMXGlyphEntry

type ALMXHeader

type ALMXHeader struct {
	// contains filtered or unexported fields
}

ALMXHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/ALMXHeader

func (*ALMXHeader) FirstGlyph

func (s *ALMXHeader) FirstGlyph() uint16

FirstGlyph returns the FirstGlyph field from the record's packed storage.

func (*ALMXHeader) Flags

func (s *ALMXHeader) Flags() uint16

Flags returns the Flags field from the record's packed storage.

func (*ALMXHeader) LastGlyph

func (s *ALMXHeader) LastGlyph() uint16

LastGlyph returns the LastGlyph field from the record's packed storage.

func (*ALMXHeader) Lookup

func (s *ALMXHeader) Lookup() SFNTLookupTable

Lookup returns the Lookup field from the record's packed storage.

func (*ALMXHeader) NMasters

func (s *ALMXHeader) NMasters() uint16

NMasters returns the NMasters field from the record's packed storage.

func (*ALMXHeader) SetFirstGlyph

func (s *ALMXHeader) SetFirstGlyph(v uint16)

SetFirstGlyph updates the FirstGlyph field in the record's packed storage.

func (*ALMXHeader) SetFlags

func (s *ALMXHeader) SetFlags(v uint16)

SetFlags updates the Flags field in the record's packed storage.

func (*ALMXHeader) SetLastGlyph

func (s *ALMXHeader) SetLastGlyph(v uint16)

SetLastGlyph updates the LastGlyph field in the record's packed storage.

func (*ALMXHeader) SetLookup

func (s *ALMXHeader) SetLookup(v SFNTLookupTable)

SetLookup updates the Lookup field in the record's packed storage.

func (*ALMXHeader) SetNMasters

func (s *ALMXHeader) SetNMasters(v uint16)

SetNMasters updates the NMasters field in the record's packed storage.

func (*ALMXHeader) SetVersion

func (s *ALMXHeader) SetVersion(v int32)

SetVersion updates the Version field in the record's packed storage.

func (*ALMXHeader) Version

func (s *ALMXHeader) Version() int32

Version returns the Version field from the record's packed storage.

type AnchorPoint

type AnchorPoint struct {
	X int16
	Y int16
}

AnchorPoint

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/AnchorPoint

type AnchorPointTable

type AnchorPointTable struct {
	// contains filtered or unexported fields
}

AnchorPointTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/AnchorPointTable

func (*AnchorPointTable) NPoints

func (s *AnchorPointTable) NPoints() uint32

NPoints returns the NPoints field from the record's packed storage.

func (*AnchorPointTable) Points

func (s *AnchorPointTable) Points() [1]AnchorPoint

Points returns the Points field from the record's packed storage.

func (*AnchorPointTable) SetNPoints

func (s *AnchorPointTable) SetNPoints(v uint32)

SetNPoints updates the NPoints field in the record's packed storage.

func (*AnchorPointTable) SetPoints

func (s *AnchorPointTable) SetPoints(v [1]AnchorPoint)

SetPoints updates the Points field in the record's packed storage.

type AnkrTable

type AnkrTable struct {
	// contains filtered or unexported fields
}

AnkrTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/AnkrTable

func (*AnkrTable) AnchorPointTableOffset

func (s *AnkrTable) AnchorPointTableOffset() uint32

AnchorPointTableOffset returns the AnchorPointTableOffset field from the record's packed storage.

func (*AnkrTable) Flags

func (s *AnkrTable) Flags() uint16

Flags returns the Flags field from the record's packed storage.

func (*AnkrTable) LookupTableOffset

func (s *AnkrTable) LookupTableOffset() uint32

LookupTableOffset returns the LookupTableOffset field from the record's packed storage.

func (*AnkrTable) SetAnchorPointTableOffset

func (s *AnkrTable) SetAnchorPointTableOffset(v uint32)

SetAnchorPointTableOffset updates the AnchorPointTableOffset field in the record's packed storage.

func (*AnkrTable) SetFlags

func (s *AnkrTable) SetFlags(v uint16)

SetFlags updates the Flags field in the record's packed storage.

func (*AnkrTable) SetLookupTableOffset

func (s *AnkrTable) SetLookupTableOffset(v uint32)

SetLookupTableOffset updates the LookupTableOffset field in the record's packed storage.

func (*AnkrTable) SetVersion

func (s *AnkrTable) SetVersion(v uint16)

SetVersion updates the Version field in the record's packed storage.

func (*AnkrTable) Version

func (s *AnkrTable) Version() uint16

Version returns the Version field from the record's packed storage.

type BslnFormat0Part

type BslnFormat0Part struct {
	Deltas [32]int16
}

BslnFormat0Part

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/BslnFormat0Part

type BslnFormat1Part

type BslnFormat1Part struct {
	Deltas      [32]int16
	MappingData SFNTLookupTable
}

BslnFormat1Part

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/BslnFormat1Part

type BslnFormat2Part

type BslnFormat2Part struct {
	StdGlyph  uint16
	CtlPoints [32]int16
}

BslnFormat2Part

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/BslnFormat2Part

type BslnFormat3Part

type BslnFormat3Part struct {
	StdGlyph    uint16
	CtlPoints   [32]int16
	MappingData SFNTLookupTable
}

BslnFormat3Part

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/BslnFormat3Part

type BslnFormatUnion

type BslnFormatUnion struct {
	Fmt0Part BslnFormat0Part
	Fmt1Part BslnFormat1Part
	Fmt2Part BslnFormat2Part
	Fmt3Part BslnFormat3Part
}

BslnFormatUnion

type BslnTable

type BslnTable struct {
	// contains filtered or unexported fields
}

BslnTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/BslnTable

func (*BslnTable) DefaultBaseline

func (s *BslnTable) DefaultBaseline() uint16

DefaultBaseline returns the DefaultBaseline field from the record's packed storage.

func (*BslnTable) Format

func (s *BslnTable) Format() BslnTableFormat

Format returns the Format field from the record's packed storage.

func (*BslnTable) Parts

func (s *BslnTable) Parts() BslnFormatUnion

Parts returns the Parts field from the record's packed storage.

func (*BslnTable) SetDefaultBaseline

func (s *BslnTable) SetDefaultBaseline(v uint16)

SetDefaultBaseline updates the DefaultBaseline field in the record's packed storage.

func (*BslnTable) SetFormat

func (s *BslnTable) SetFormat(v BslnTableFormat)

SetFormat updates the Format field in the record's packed storage.

func (*BslnTable) SetParts

func (s *BslnTable) SetParts(v BslnFormatUnion)

SetParts updates the Parts field in the record's packed storage.

func (*BslnTable) SetVersion

func (s *BslnTable) SetVersion(v int32)

SetVersion updates the Version field in the record's packed storage.

func (*BslnTable) Version

func (s *BslnTable) Version() int32

Version returns the Version field from the record's packed storage.

type CTAdaptiveImageProviding

type CTAdaptiveImageProviding interface {
	objectivec.IObject
}

CTAdaptiveImageProviding protocol.

See: https://developer.apple.com/documentation/CoreText/CTAdaptiveImageProviding

type CTAdaptiveImageProvidingObject

type CTAdaptiveImageProvidingObject struct {
	objectivec.Object
}

CTAdaptiveImageProvidingObject wraps an existing Objective-C object that conforms to the CTAdaptiveImageProviding protocol.

func CTAdaptiveImageProvidingObjectFromID

func CTAdaptiveImageProvidingObjectFromID(id objc.ID) CTAdaptiveImageProvidingObject

CTAdaptiveImageProvidingObjectFromID constructs a CTAdaptiveImageProvidingObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (CTAdaptiveImageProvidingObject) BaseObject

type CTCharacterCollection

type CTCharacterCollection uint16

See: https://developer.apple.com/documentation/CoreText/CTCharacterCollection

const (
	// KCTCharacterCollectionAdobeCNS1: The Adobe-CNS1 mapping.
	KCTCharacterCollectionAdobeCNS1 CTCharacterCollection = 1
	// KCTCharacterCollectionAdobeGB1: The Adobe-GB1 mapping.
	KCTCharacterCollectionAdobeGB1 CTCharacterCollection = 2
	// KCTCharacterCollectionAdobeJapan1: The Adobe-Japan1 mapping.
	KCTCharacterCollectionAdobeJapan1 CTCharacterCollection = 3
	// KCTCharacterCollectionAdobeJapan2: The Adobe-Japan2 mapping.
	KCTCharacterCollectionAdobeJapan2 CTCharacterCollection = 4
	// KCTCharacterCollectionAdobeKorea1: The Adobe-Korea1 mapping.
	KCTCharacterCollectionAdobeKorea1 CTCharacterCollection = 5
	// KCTCharacterCollectionIdentityMapping: The character identifier is equal to the glyph index.
	KCTCharacterCollectionIdentityMapping CTCharacterCollection = 0
)

func CTGlyphInfoGetCharacterCollection

func CTGlyphInfoGetCharacterCollection(glyphInfo CTGlyphInfoRef) CTCharacterCollection

CTGlyphInfoGetCharacterCollection gets the character collection for a glyph info object.

See: https://developer.apple.com/documentation/CoreText/CTGlyphInfoGetCharacterCollection(_:)

func (CTCharacterCollection) String

func (e CTCharacterCollection) String() string

type CTFontCollectionCopyOptions

type CTFontCollectionCopyOptions uint32

See: https://developer.apple.com/documentation/CoreText/CTFontCollectionCopyOptions

const (
	// KCTFontCollectionCopyDefaultOptions: Passing this option indicates that defaults are to be used.
	KCTFontCollectionCopyDefaultOptions CTFontCollectionCopyOptions = 0
	// KCTFontCollectionCopyStandardSort: Passing this option indicates that the return values should be sorted in standard UI order, suitable for display to the user.
	KCTFontCollectionCopyStandardSort CTFontCollectionCopyOptions = 2
	// KCTFontCollectionCopyUnique: Passing this option indicates that duplicate values should be removed from the results.
	KCTFontCollectionCopyUnique CTFontCollectionCopyOptions = 1
)

func (CTFontCollectionCopyOptions) String

type CTFontCollectionRef

type CTFontCollectionRef uintptr

CTFontCollectionRef is a font collection.

See: https://developer.apple.com/documentation/CoreText/CTFontCollection

func CTFontCollectionCreateCopyWithFontDescriptors

func CTFontCollectionCreateCopyWithFontDescriptors(original CTFontCollectionRef, queryDescriptors corefoundation.CFArrayRef, options corefoundation.CFDictionaryRef) CTFontCollectionRef

CTFontCollectionCreateCopyWithFontDescriptors returns a copy of the original collection augmented with the given new font descriptors.

See: https://developer.apple.com/documentation/CoreText/CTFontCollectionCreateCopyWithFontDescriptors(_:_:_:)

func CTFontCollectionCreateFromAvailableFonts

func CTFontCollectionCreateFromAvailableFonts(options corefoundation.CFDictionaryRef) CTFontCollectionRef

CTFontCollectionCreateFromAvailableFonts returns a new font collection containing all available fonts.

See: https://developer.apple.com/documentation/CoreText/CTFontCollectionCreateFromAvailableFonts(_:)

func CTFontCollectionCreateWithFontDescriptors

func CTFontCollectionCreateWithFontDescriptors(queryDescriptors corefoundation.CFArrayRef, options corefoundation.CFDictionaryRef) CTFontCollectionRef

CTFontCollectionCreateWithFontDescriptors returns a new font collection based on the given array of font descriptors.

See: https://developer.apple.com/documentation/CoreText/CTFontCollectionCreateWithFontDescriptors(_:_:)

type CTFontCollectionSortDescriptorsCallback

type CTFontCollectionSortDescriptorsCallback = func(first CTFontDescriptorRef, second CTFontDescriptorRef, refCon unsafe.Pointer) corefoundation.CFComparisonResult

CTFontCollectionSortDescriptorsCallback is the collection sorting callback type.

See: https://developer.apple.com/documentation/CoreText/CTFontCollectionSortDescriptorsCallback

type CTFontDescriptorMatchingState

type CTFontDescriptorMatchingState uint32

See: https://developer.apple.com/documentation/CoreText/CTFontDescriptorMatchingState

const (
	// KCTFontDescriptorMatchingDidBegin: A state that indicates matching is about to begin.
	KCTFontDescriptorMatchingDidBegin CTFontDescriptorMatchingState = 0
	// KCTFontDescriptorMatchingDidFailWithError: A state that indicates an error.
	KCTFontDescriptorMatchingDidFailWithError CTFontDescriptorMatchingState = 8
	// KCTFontDescriptorMatchingDidFinish: A state that indicates matching is done.
	KCTFontDescriptorMatchingDidFinish CTFontDescriptorMatchingState = 1
	// KCTFontDescriptorMatchingDidFinishDownloading: A state that indicates downloading is done.
	KCTFontDescriptorMatchingDidFinishDownloading CTFontDescriptorMatchingState = 6
	// KCTFontDescriptorMatchingDidMatch: A state that indicates the font descriptor match is successful.
	KCTFontDescriptorMatchingDidMatch CTFontDescriptorMatchingState = 7
	// KCTFontDescriptorMatchingDownloading: A state that indicates downloading is in progress.
	KCTFontDescriptorMatchingDownloading CTFontDescriptorMatchingState = 5
	// KCTFontDescriptorMatchingStalled: A state that indicates that matching is stalled, such as while waiting for a server response.
	KCTFontDescriptorMatchingStalled CTFontDescriptorMatchingState = 3
	// KCTFontDescriptorMatchingWillBeginDownloading: A state that indicates downloading is about to begin.
	KCTFontDescriptorMatchingWillBeginDownloading CTFontDescriptorMatchingState = 4
	// KCTFontDescriptorMatchingWillBeginQuerying: A state that indicates communication with the server is about to begin.
	KCTFontDescriptorMatchingWillBeginQuerying CTFontDescriptorMatchingState = 2
)

func (CTFontDescriptorMatchingState) String

type CTFontDescriptorProgressHandler

type CTFontDescriptorProgressHandler = func(CTFontDescriptorMatchingState, corefoundation.CFDictionaryRef) bool

CTFontDescriptorProgressHandler is the progress callback type.

See: https://developer.apple.com/documentation/CoreText/CTFontDescriptorProgressHandler

type CTFontDescriptorRef

type CTFontDescriptorRef uintptr

CTFontDescriptorRef is a font descriptor.

See: https://developer.apple.com/documentation/CoreText/CTFontDescriptor

func CTFontCopyFontDescriptor

func CTFontCopyFontDescriptor(font CTFontRef) CTFontDescriptorRef

CTFontCopyFontDescriptor returns the normalized font descriptor for the given font reference.

See: https://developer.apple.com/documentation/CoreText/CTFontCopyFontDescriptor(_:)

func CTFontDescriptorCreateCopyWithAttributes

func CTFontDescriptorCreateCopyWithAttributes(original CTFontDescriptorRef, attributes corefoundation.CFDictionaryRef) CTFontDescriptorRef

CTFontDescriptorCreateCopyWithAttributes creates a copy of the original font descriptor with new attributes.

See: https://developer.apple.com/documentation/CoreText/CTFontDescriptorCreateCopyWithAttributes(_:_:)

func CTFontDescriptorCreateCopyWithFamily

func CTFontDescriptorCreateCopyWithFamily(original CTFontDescriptorRef, family corefoundation.CFStringRef) CTFontDescriptorRef

CTFontDescriptorCreateCopyWithFamily creates a copy of the font descriptor in the specified family based on the traits of the original.

See: https://developer.apple.com/documentation/CoreText/CTFontDescriptorCreateCopyWithFamily(_:_:)

func CTFontDescriptorCreateCopyWithFeature

func CTFontDescriptorCreateCopyWithFeature(original CTFontDescriptorRef, featureTypeIdentifier corefoundation.CFNumberRef, featureSelectorIdentifier corefoundation.CFNumberRef) CTFontDescriptorRef

CTFontDescriptorCreateCopyWithFeature copies a font descriptor with new feature settings.

See: https://developer.apple.com/documentation/CoreText/CTFontDescriptorCreateCopyWithFeature(_:_:_:)

func CTFontDescriptorCreateCopyWithSymbolicTraits

func CTFontDescriptorCreateCopyWithSymbolicTraits(original CTFontDescriptorRef, symTraitValue CTFontSymbolicTraits, symTraitMask CTFontSymbolicTraits) CTFontDescriptorRef

CTFontDescriptorCreateCopyWithSymbolicTraits creates a copy of the font descriptor with the specified symbolic traits as the original.

See: https://developer.apple.com/documentation/CoreText/CTFontDescriptorCreateCopyWithSymbolicTraits(_:_:_:)

func CTFontDescriptorCreateCopyWithVariation

func CTFontDescriptorCreateCopyWithVariation(original CTFontDescriptorRef, variationIdentifier corefoundation.CFNumberRef, variationValue float64) CTFontDescriptorRef

CTFontDescriptorCreateCopyWithVariation creates a copy of the original font descriptor with a new variation instance.

See: https://developer.apple.com/documentation/CoreText/CTFontDescriptorCreateCopyWithVariation(_:_:_:)

func CTFontDescriptorCreateMatchingFontDescriptor

func CTFontDescriptorCreateMatchingFontDescriptor(descriptor CTFontDescriptorRef, mandatoryAttributes corefoundation.CFSetRef) CTFontDescriptorRef

CTFontDescriptorCreateMatchingFontDescriptor returns the single preferred matching font descriptor based on the original descriptor and system precedence.

See: https://developer.apple.com/documentation/CoreText/CTFontDescriptorCreateMatchingFontDescriptor(_:_:)

func CTFontDescriptorCreateWithAttributes

func CTFontDescriptorCreateWithAttributes(attributes corefoundation.CFDictionaryRef) CTFontDescriptorRef

CTFontDescriptorCreateWithAttributes creates a new font descriptor reference from a dictionary of attributes.

See: https://developer.apple.com/documentation/CoreText/CTFontDescriptorCreateWithAttributes(_:)

func CTFontDescriptorCreateWithNameAndSize

func CTFontDescriptorCreateWithNameAndSize(name corefoundation.CFStringRef, size float64) CTFontDescriptorRef

CTFontDescriptorCreateWithNameAndSize creates a new font descriptor with the provided PostScript name and size.

See: https://developer.apple.com/documentation/CoreText/CTFontDescriptorCreateWithNameAndSize(_:_:)

func CTFontManagerCreateFontDescriptorFromData

func CTFontManagerCreateFontDescriptorFromData(data corefoundation.CFDataRef) CTFontDescriptorRef

CTFontManagerCreateFontDescriptorFromData creates a font descriptor representing the font in the supplied data.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerCreateFontDescriptorFromData(_:)

type CTFontFormat

type CTFontFormat uint32

See: https://developer.apple.com/documentation/CoreText/CTFontFormat

const (
	// KCTFontFormatBitmap: The font is a bitmap-only format.
	KCTFontFormatBitmap CTFontFormat = 5
	// KCTFontFormatOpenTypePostScript: The font is an OpenType format containing PostScript data.
	KCTFontFormatOpenTypePostScript CTFontFormat = 1
	// KCTFontFormatOpenTypeTrueType: The font is an OpenType format containing TrueType data.
	KCTFontFormatOpenTypeTrueType CTFontFormat = 2
	// KCTFontFormatPostScript: The font is a recognized PostScript format.
	KCTFontFormatPostScript CTFontFormat = 4
	// KCTFontFormatTrueType: The font is a recognized TrueType format.
	KCTFontFormatTrueType CTFontFormat = 3
	// KCTFontFormatUnrecognized: The font is not a recognized format.
	KCTFontFormatUnrecognized CTFontFormat = 0
)

func (CTFontFormat) String

func (e CTFontFormat) String() string

type CTFontManagerAutoActivationSetting

type CTFontManagerAutoActivationSetting uint32

See: https://developer.apple.com/documentation/CoreText/CTFontManagerAutoActivationSetting

func CTFontManagerGetAutoActivationSetting

func CTFontManagerGetAutoActivationSetting(bundleIdentifier corefoundation.CFStringRef) CTFontManagerAutoActivationSetting

CTFontManagerGetAutoActivationSetting gets the auto-activation setting for the specified bundle identifier.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerGetAutoActivationSetting(_:)

type CTFontManagerError

type CTFontManagerError int

See: https://developer.apple.com/documentation/CoreText/CTFontManagerError

const (
	// KCTFontManagerErrorAlreadyRegistered: An error that indicates the file is already registered in the specified scope.
	KCTFontManagerErrorAlreadyRegistered CTFontManagerError = 105
	// KCTFontManagerErrorAssetNotFound: An error that indicates the asset isn’t found.
	KCTFontManagerErrorAssetNotFound CTFontManagerError = 107
	// KCTFontManagerErrorCancelledByUser: An error that indicates the user cancelled the operation.
	KCTFontManagerErrorCancelledByUser CTFontManagerError = 304
	// KCTFontManagerErrorDuplicatedName: An error that indicates the file can’t register because of a duplicate font name.
	KCTFontManagerErrorDuplicatedName CTFontManagerError = 305
	// KCTFontManagerErrorExceededResourceLimit: An error that indicates an operation failure due to a system limitation.
	KCTFontManagerErrorExceededResourceLimit CTFontManagerError = 106
	// KCTFontManagerErrorFileNotFound: An error that indicates the file doesn’t exist at the specified URL.
	KCTFontManagerErrorFileNotFound CTFontManagerError = 101
	// KCTFontManagerErrorInUse: An error that indicates the font file is actively in use and can’t be unregistered.
	KCTFontManagerErrorInUse CTFontManagerError = 202
	// KCTFontManagerErrorInsufficientInfo: An error that indicates the font descriptor doesn’t have the necessary information to specify a font file.
	KCTFontManagerErrorInsufficientInfo CTFontManagerError = 303
	// KCTFontManagerErrorInsufficientPermissions: An error that indicates insufficient permissions to access the file.
	KCTFontManagerErrorInsufficientPermissions CTFontManagerError = 102
	// KCTFontManagerErrorInvalidFilePath: An error that indicates the file isn’t in an allowed location, which must be either in the app’s bundle or an on-demand resource.
	KCTFontManagerErrorInvalidFilePath CTFontManagerError = 306
	// KCTFontManagerErrorInvalidFontData: An error that indicates the file contains invalid font data that could cause system problems.
	KCTFontManagerErrorInvalidFontData CTFontManagerError = 104
	// KCTFontManagerErrorMissingEntitlement: An error that indicates the file can’t be processed because the provider doesn’t have a necessary entitlement.
	KCTFontManagerErrorMissingEntitlement CTFontManagerError = 302
	// KCTFontManagerErrorNotRegistered: An error that indicates the file isn’t registered in the specified scope.
	KCTFontManagerErrorNotRegistered CTFontManagerError = 201
	// KCTFontManagerErrorRegistrationFailed: An error that indicates the file can’t be processed due to an unexpected FontProvider error.
	KCTFontManagerErrorRegistrationFailed CTFontManagerError = 301
	// KCTFontManagerErrorSystemRequired: An error that indicates the file is required by the system and can’t be unregistered.
	KCTFontManagerErrorSystemRequired CTFontManagerError = 203
	// KCTFontManagerErrorUnrecognizedFormat: An error that indicates the file’s format is unrecognized or unsupported.
	KCTFontManagerErrorUnrecognizedFormat CTFontManagerError = 103
	// KCTFontManagerErrorUnsupportedScope: An error that indicates the specified scope isn’t supported.
	KCTFontManagerErrorUnsupportedScope CTFontManagerError = 307
)

func (CTFontManagerError) String

func (e CTFontManagerError) String() string

type CTFontManagerScope

type CTFontManagerScope uint32

See: https://developer.apple.com/documentation/CoreText/CTFontManagerScope

const (
	// KCTFontManagerScopeNone: No scope is defined.
	KCTFontManagerScopeNone CTFontManagerScope = 0
	// KCTFontManagerScopePersistent: The font is available to all processes for the current user session and will be available in subsequent sessions unless unregistered.
	KCTFontManagerScopePersistent CTFontManagerScope = 2
	// KCTFontManagerScopeProcess: The font is available to the current process for the duration of the process unless directly unregistered.
	KCTFontManagerScopeProcess CTFontManagerScope = 1
	// KCTFontManagerScopeSession: The font is available to the current user session but won’t be available in subsequent sessions.
	KCTFontManagerScopeSession CTFontManagerScope = 3
)

func CTFontManagerGetScopeForURL

func CTFontManagerGetScopeForURL(fontURL corefoundation.CFURLRef) CTFontManagerScope

CTFontManagerGetScopeForURL returns the registration scope of the specified URL.

See: https://developer.apple.com/documentation/CoreText/CTFontManagerGetScopeForURL(_:)

func (CTFontManagerScope) String

func (e CTFontManagerScope) String() string

type CTFontOptions

type CTFontOptions uint

See: https://developer.apple.com/documentation/CoreText/CTFontOptions

const (
	// KCTFontOptionsDefault: Default options are used.
	KCTFontOptionsDefault CTFontOptions = 0
	// KCTFontOptionsPreferSystemFont: Font matching prefers to match Apple system fonts.
	KCTFontOptionsPreferSystemFont CTFontOptions = 4
	// KCTFontOptionsPreventAutoActivation: Prevents automatic font activation.
	KCTFontOptionsPreventAutoActivation CTFontOptions = 1
	KCTFontOptionsPreventAutoDownload   CTFontOptions = 2
)

func (CTFontOptions) String

func (e CTFontOptions) String() string

type CTFontOrientation

type CTFontOrientation uint32

See: https://developer.apple.com/documentation/CoreText/CTFontOrientation

const (
	// KCTFontOrientationDefault: The native orientation of the font.
	KCTFontOrientationDefault CTFontOrientation = 0
	// KCTFontOrientationHorizontal: The horizontal orientation.
	KCTFontOrientationHorizontal CTFontOrientation = 1
	// KCTFontOrientationVertical: The vertical orientation.
	KCTFontOrientationVertical CTFontOrientation = 2
)

func (CTFontOrientation) String

func (e CTFontOrientation) String() string

type CTFontPriority

type CTFontPriority = uint32

CTFontPriority is the priority of font descriptors when resolving duplicates and sorting match results.

See: https://developer.apple.com/documentation/CoreText/CTFontPriority

type CTFontRef

type CTFontRef uintptr

CTFontRef is a font object.

See: https://developer.apple.com/documentation/CoreText/CTFont

func CTFontCreateCopyWithAttributes

func CTFontCreateCopyWithAttributes(font CTFontRef, size float64, matrix *corefoundation.CGAffineTransform, attributes CTFontDescriptorRef) CTFontRef

CTFontCreateCopyWithAttributes returns a new font with additional attributes based on the original font.

See: https://developer.apple.com/documentation/CoreText/CTFontCreateCopyWithAttributes(_:_:_:_:)

func CTFontCreateCopyWithFamily

func CTFontCreateCopyWithFamily(font CTFontRef, size float64, matrix *corefoundation.CGAffineTransform, family corefoundation.CFStringRef) CTFontRef

CTFontCreateCopyWithFamily returns a new font in the specified family based on the traits of the original font.

See: https://developer.apple.com/documentation/CoreText/CTFontCreateCopyWithFamily(_:_:_:_:)

func CTFontCreateCopyWithSymbolicTraits

func CTFontCreateCopyWithSymbolicTraits(font CTFontRef, size float64, matrix *corefoundation.CGAffineTransform, symTraitValue CTFontSymbolicTraits, symTraitMask CTFontSymbolicTraits) CTFontRef

CTFontCreateCopyWithSymbolicTraits returns a new font in the same font family as the original with the specified symbolic traits.

See: https://developer.apple.com/documentation/CoreText/CTFontCreateCopyWithSymbolicTraits(_:_:_:_:_:)

func CTFontCreateForString

func CTFontCreateForString(currentFont CTFontRef, string_ corefoundation.CFStringRef, range_ corefoundation.CFRange) CTFontRef

CTFontCreateForString returns a font reference that most accurately maps the string range based on the current font.

See: https://developer.apple.com/documentation/CoreText/CTFontCreateForString(_:_:_:)

func CTFontCreateForStringWithLanguage

func CTFontCreateForStringWithLanguage(currentFont CTFontRef, string_ corefoundation.CFStringRef, range_ corefoundation.CFRange, language corefoundation.CFStringRef) CTFontRef

CTFontCreateForStringWithLanguage returns a font reference that most accurately maps the string range based on the current font and language.

See: https://developer.apple.com/documentation/CoreText/CTFontCreateForStringWithLanguage(_:_:_:_:)

func CTFontCreateUIFontForLanguage

func CTFontCreateUIFontForLanguage(uiType CTFontUIFontType, size float64, language corefoundation.CFStringRef) CTFontRef

CTFontCreateUIFontForLanguage returns the special user-interface font for the given language and user-interface type.

See: https://developer.apple.com/documentation/CoreText/CTFontCreateUIFontForLanguage(_:_:_:)

func CTFontCreateWithFontDescriptor

func CTFontCreateWithFontDescriptor(descriptor CTFontDescriptorRef, size float64, matrix *corefoundation.CGAffineTransform) CTFontRef

CTFontCreateWithFontDescriptor returns a new font reference that best matches the given font descriptor.

See: https://developer.apple.com/documentation/CoreText/CTFontCreateWithFontDescriptor(_:_:_:)

func CTFontCreateWithFontDescriptorAndOptions

func CTFontCreateWithFontDescriptorAndOptions(descriptor CTFontDescriptorRef, size float64, matrix *corefoundation.CGAffineTransform, options CTFontOptions) CTFontRef

CTFontCreateWithFontDescriptorAndOptions returns a new font reference that best matches the given font descriptor.

See: https://developer.apple.com/documentation/CoreText/CTFontCreateWithFontDescriptorAndOptions(_:_:_:_:)

func CTFontCreateWithGraphicsFont

func CTFontCreateWithGraphicsFont(graphicsFont coregraphics.CGFont, size float64, matrix *corefoundation.CGAffineTransform, attributes CTFontDescriptorRef) CTFontRef

CTFontCreateWithGraphicsFont creates a new font reference from an existing Core Graphics font reference.

See: https://developer.apple.com/documentation/CoreText/CTFontCreateWithGraphicsFont(_:_:_:_:)

func CTFontCreateWithName

func CTFontCreateWithName(name corefoundation.CFStringRef, size float64, matrix *corefoundation.CGAffineTransform) CTFontRef

CTFontCreateWithName returns a new font reference for the given name.

See: https://developer.apple.com/documentation/CoreText/CTFontCreateWithName(_:_:_:)

func CTFontCreateWithNameAndOptions

func CTFontCreateWithNameAndOptions(name corefoundation.CFStringRef, size float64, matrix *corefoundation.CGAffineTransform, options CTFontOptions) CTFontRef

CTFontCreateWithNameAndOptions returns a new font reference for the given name.

See: https://developer.apple.com/documentation/CoreText/CTFontCreateWithNameAndOptions(_:_:_:_:)

type CTFontStylisticClass

type CTFontStylisticClass uint32

See: https://developer.apple.com/documentation/CoreText/CTFontStylisticClass

const (
	// KCTFontClarendonSerifsClass: The font’s style is a variation of the Oldstyle Serifs and the Transitional Serifs.
	KCTFontClarendonSerifsClass CTFontStylisticClass = 1073741824
	// KCTFontClassClarendonSerifs: A font style variation of the Oldstyle Serifs and the Transitional Serifs.
	KCTFontClassClarendonSerifs CTFontStylisticClass = 1073741824
	// KCTFontClassFreeformSerifs: A font style that includes serifs but expresses a design freedom that doesn’t generally fit within the other serif design classifications.
	KCTFontClassFreeformSerifs CTFontStylisticClass = 1879048192
	// KCTFontClassModernSerifs: A font style based on the Latin printing style of the 20th century.
	KCTFontClassModernSerifs CTFontStylisticClass = 805306368
	// KCTFontClassOldStyleSerifs: A font style based on the Latin printing style of the 15th to 17th century.
	KCTFontClassOldStyleSerifs CTFontStylisticClass = 268435456
	// KCTFontClassOrnamentals: A font style that includes highly decorated or stylized character shapes such as those typically used in headlines.
	KCTFontClassOrnamentals CTFontStylisticClass = 2415919104
	// KCTFontClassSansSerif: A font style that includes most basic letter forms (excluding Scripts and Ornamentals) that do not have serifs on the strokes.
	KCTFontClassSansSerif CTFontStylisticClass = 2147483648
	// KCTFontClassScripts: A font style among those typefaces designed to simulate handwriting.
	KCTFontClassScripts CTFontStylisticClass = 2684354560
	// KCTFontClassSlabSerifs: A font style characterized by serifs with a square transition between the strokes and the serifs (no brackets).
	KCTFontClassSlabSerifs CTFontStylisticClass = 1342177280
	// KCTFontClassSymbolic: A generally design-independent font style.
	KCTFontClassSymbolic CTFontStylisticClass = 3221225472
	// KCTFontClassTransitionalSerifs: A font style based on the Latin printing style of the 18th to 19th century.
	KCTFontClassTransitionalSerifs CTFontStylisticClass = 536870912
	// KCTFontClassUnknown: The font has no design classification.
	KCTFontClassUnknown CTFontStylisticClass = 0
	// KCTFontFreeformSerifsClass: The font’s style includes serifs but expresses a design freedom that doesn’t generally fit within the other serif design classifications.
	KCTFontFreeformSerifsClass CTFontStylisticClass = 1879048192
	// KCTFontModernSerifsClass: The font’s style is based on the Latin printing style of the 20th century.
	KCTFontModernSerifsClass CTFontStylisticClass = 805306368
	// KCTFontOldStyleSerifsClass: The font’s style is based on the Latin printing style of the 15th to 17th century.
	KCTFontOldStyleSerifsClass CTFontStylisticClass = 268435456
	// KCTFontOrnamentalsClass: The font’s style includes highly decorated or stylized character shapes such as those typically used in headlines.
	KCTFontOrnamentalsClass CTFontStylisticClass = 2415919104
	// KCTFontSansSerifClass: The font’s style includes most basic letter forms (excluding Scripts and Ornamentals) that do not have serifs on the strokes.
	KCTFontSansSerifClass CTFontStylisticClass = 2147483648
	// KCTFontScriptsClass: The font’s style is among those typefaces designed to simulate handwriting.
	KCTFontScriptsClass CTFontStylisticClass = 2684354560
	// KCTFontSlabSerifsClass: The font’s style is characterized by serifs with a square transition between the strokes and the serifs (no brackets).
	KCTFontSlabSerifsClass CTFontStylisticClass = 1342177280
	// KCTFontSymbolicClass: The font’s style is generally design independent.
	KCTFontSymbolicClass CTFontStylisticClass = 3221225472
	// KCTFontTransitionalSerifsClass: The font’s style is based on the Latin printing style of the 18th to 19th century.
	KCTFontTransitionalSerifsClass CTFontStylisticClass = 536870912
	// KCTFontUnknownClass: The font has no design classification.
	KCTFontUnknownClass CTFontStylisticClass = 0
)

func (CTFontStylisticClass) String

func (e CTFontStylisticClass) String() string

type CTFontSymbolicTraits

type CTFontSymbolicTraits uint32

See: https://developer.apple.com/documentation/CoreText/CTFontSymbolicTraits

const (
	// KCTFontBoldTrait: The font typestyle is boldface.
	KCTFontBoldTrait CTFontSymbolicTraits = 2
	// KCTFontClassMaskTrait: Mask for the font class.
	KCTFontClassMaskTrait CTFontSymbolicTraits = 4026531840
	// KCTFontColorGlyphsTrait: The font contains color glyphs.
	KCTFontColorGlyphsTrait CTFontSymbolicTraits = 8192
	// KCTFontCompositeTrait: The font is in Composite Font Reference format.
	KCTFontCompositeTrait CTFontSymbolicTraits = 16384
	// KCTFontCondensedTrait: The font typestyle is condensed.
	KCTFontCondensedTrait CTFontSymbolicTraits = 64
	// KCTFontExpandedTrait: The font typestyle is expanded.
	KCTFontExpandedTrait CTFontSymbolicTraits = 32
	// KCTFontItalicTrait: The font typestyle is italic.
	KCTFontItalicTrait CTFontSymbolicTraits = 1
	// KCTFontMonoSpaceTrait: The font uses fixed-pitch glyphs if available.
	KCTFontMonoSpaceTrait CTFontSymbolicTraits = 1024
	// KCTFontTraitBold: The font typestyle is boldface.
	KCTFontTraitBold CTFontSymbolicTraits = 2
	// KCTFontTraitClassMask: Mask for the font class.
	KCTFontTraitClassMask CTFontSymbolicTraits = 4026531840
	// KCTFontTraitColorGlyphs: The font contains color glyphs.
	KCTFontTraitColorGlyphs CTFontSymbolicTraits = 8192
	// KCTFontTraitComposite: The font is in Composite Font Reference format.
	KCTFontTraitComposite CTFontSymbolicTraits = 16384
	// KCTFontTraitCondensed: The font typestyle is condensed.
	KCTFontTraitCondensed CTFontSymbolicTraits = 64
	// KCTFontTraitExpanded: The font typestyle is expanded.
	KCTFontTraitExpanded CTFontSymbolicTraits = 32
	// KCTFontTraitItalic: The font typestyle is italic.
	KCTFontTraitItalic CTFontSymbolicTraits = 1
	// KCTFontTraitMonoSpace: The font uses fixed-pitch glyphs if available.
	KCTFontTraitMonoSpace CTFontSymbolicTraits = 1024
	// KCTFontTraitUIOptimized: The font synthesizes appropriate attributes for user interface rendering, such as control titles, if necessary.
	KCTFontTraitUIOptimized CTFontSymbolicTraits = 4096
	// KCTFontTraitVertical: The font uses vertical glyph variants and metrics.
	KCTFontTraitVertical CTFontSymbolicTraits = 2048
	// KCTFontUIOptimizedTrait: The font synthesizes appropriate attributes for user interface rendering, such as control titles, if necessary.
	KCTFontUIOptimizedTrait CTFontSymbolicTraits = 4096
	// KCTFontVerticalTrait: The font uses vertical glyph variants and metrics.
	KCTFontVerticalTrait CTFontSymbolicTraits = 2048
)

func CTFontGetSymbolicTraits

func CTFontGetSymbolicTraits(font CTFontRef) CTFontSymbolicTraits

CTFontGetSymbolicTraits returns the symbolic traits of the given font.

See: https://developer.apple.com/documentation/CoreText/CTFontGetSymbolicTraits(_:)

func (CTFontSymbolicTraits) String

func (e CTFontSymbolicTraits) String() string

type CTFontTableOptions

type CTFontTableOptions uint32

See: https://developer.apple.com/documentation/CoreText/CTFontTableOptions

const (
	// KCTFontTableOptionNoOptions: No font table options are specified.
	KCTFontTableOptionNoOptions CTFontTableOptions = 0
	// Deprecated.
	KCTFontTableOptionExcludeSynthetic CTFontTableOptions = 1
)

func (CTFontTableOptions) String

func (e CTFontTableOptions) String() string

type CTFontTableTag

type CTFontTableTag = uint32

CTFontTableTag is font table tags provide access to font table data.

See: https://developer.apple.com/documentation/CoreText/CTFontTableTag

type CTFontUIFontType

type CTFontUIFontType uint32

See: https://developer.apple.com/documentation/CoreText/CTFontUIFontType

const (
	// KCTFontUIFontAlertHeader: The font for alert headers.
	KCTFontUIFontAlertHeader CTFontUIFontType = 18
	// KCTFontUIFontApplication: The default font for text documents.
	KCTFontUIFontApplication CTFontUIFontType = 9
	// KCTFontUIFontControlContent: The font for contents of user-interface controls.
	KCTFontUIFontControlContent CTFontUIFontType = 26
	// KCTFontUIFontEmphasizedSystem: The system font for emphasis in alerts.
	KCTFontUIFontEmphasizedSystem CTFontUIFontType = 3
	// KCTFontUIFontEmphasizedSystemDetail: The system font for emphasis in details.
	KCTFontUIFontEmphasizedSystemDetail CTFontUIFontType = 20
	// KCTFontUIFontLabel: The font for labels and tick marks on full-size sliders.
	KCTFontUIFontLabel CTFontUIFontType = 10
	// KCTFontUIFontMenuItem: The font for menu items.
	KCTFontUIFontMenuItem CTFontUIFontType = 12
	// KCTFontUIFontMenuItemCmdKey: The font for menu-item command-key equivalents.
	KCTFontUIFontMenuItemCmdKey CTFontUIFontType = 14
	// KCTFontUIFontMenuItemMark: The font to draw menu-item marks.
	KCTFontUIFontMenuItemMark CTFontUIFontType = 13
	// KCTFontUIFontMenuTitle: The font for menu titles.
	KCTFontUIFontMenuTitle CTFontUIFontType = 11
	// KCTFontUIFontMessage: The font for standard interface items, such as button labels and menu items.
	KCTFontUIFontMessage CTFontUIFontType = 23
	// KCTFontUIFontMiniEmphasizedSystem: The miniature system font for emphasis.
	KCTFontUIFontMiniEmphasizedSystem CTFontUIFontType = 7
	// KCTFontUIFontMiniSystem: The standard miniature system font for mini controls and utility window labels and text.
	KCTFontUIFontMiniSystem CTFontUIFontType = 6
	// KCTFontUIFontNone: The user-interface font type isn’t specified.
	KCTFontUIFontNone CTFontUIFontType = 4294967295
	// KCTFontUIFontPalette: The font in tool palettes.
	KCTFontUIFontPalette CTFontUIFontType = 24
	// KCTFontUIFontPushButton: The font for a push button, a rounded rectangular button with a text label on it.
	KCTFontUIFontPushButton CTFontUIFontType = 16
	// KCTFontUIFontSmallEmphasizedSystem: The small system font for emphasis.
	KCTFontUIFontSmallEmphasizedSystem CTFontUIFontType = 5
	// KCTFontUIFontSmallSystem: The standard small system font for informative text in alerts, column headings in lists, help tags, and small controls.
	KCTFontUIFontSmallSystem CTFontUIFontType = 4
	// KCTFontUIFontSmallToolbar: The small font for labels of toolbar items.
	KCTFontUIFontSmallToolbar CTFontUIFontType = 22
	// KCTFontUIFontSystem: The system font for standard user-interface items, such as button labels and menu items.
	KCTFontUIFontSystem CTFontUIFontType = 2
	// KCTFontUIFontSystemDetail: The standard system font for details.
	KCTFontUIFontSystemDetail CTFontUIFontType = 19
	// KCTFontUIFontToolTip: The font for tool tips.
	KCTFontUIFontToolTip CTFontUIFontType = 25
	// KCTFontUIFontToolbar: The font used for labels of toolbar items.
	KCTFontUIFontToolbar CTFontUIFontType = 21
	// KCTFontUIFontUser: The default font for documents and other text whose font the user can typically change.
	KCTFontUIFontUser CTFontUIFontType = 0
	// KCTFontUIFontUserFixedPitch: The default font for documents and other text under the user’s control when that font is fixed-pitch.
	KCTFontUIFontUserFixedPitch CTFontUIFontType = 1
	// KCTFontUIFontUtilityWindowTitle: The font for utility window titles.
	KCTFontUIFontUtilityWindowTitle CTFontUIFontType = 17
	// KCTFontUIFontViews: The default view font for text in lists and tables.
	KCTFontUIFontViews CTFontUIFontType = 8
	// KCTFontUIFontWindowTitle: The font for window titles.
	KCTFontUIFontWindowTitle CTFontUIFontType = 15
)

func (CTFontUIFontType) String

func (e CTFontUIFontType) String() string

type CTFramePathFillRule

type CTFramePathFillRule uint32

See: https://developer.apple.com/documentation/CoreText/CTFramePathFillRule

const (
	// KCTFramePathFillEvenOdd: Paints the area using the even-odd fill rule.
	KCTFramePathFillEvenOdd CTFramePathFillRule = 0
	// KCTFramePathFillWindingNumber: Paints the area using the nonzero winding number rule.
	KCTFramePathFillWindingNumber CTFramePathFillRule = 1
)

func (CTFramePathFillRule) String

func (e CTFramePathFillRule) String() string

type CTFrameProgression

type CTFrameProgression uint32

See: https://developer.apple.com/documentation/CoreText/CTFrameProgression

const (
	// KCTFrameProgressionLeftToRight: Lines stack left to right for vertical text.
	KCTFrameProgressionLeftToRight CTFrameProgression = 2
	// KCTFrameProgressionRightToLeft: Lines stack right to left for vertical text.
	KCTFrameProgressionRightToLeft CTFrameProgression = 1
	// KCTFrameProgressionTopToBottom: Lines stack top to bottom for horizontal text.
	KCTFrameProgressionTopToBottom CTFrameProgression = 0
)

func (CTFrameProgression) String

func (e CTFrameProgression) String() string

type CTFrameRef

type CTFrameRef uintptr

CTFrameRef is a frame.

See: https://developer.apple.com/documentation/CoreText/CTFrame

func CTFramesetterCreateFrame

func CTFramesetterCreateFrame(framesetter CTFramesetterRef, stringRange corefoundation.CFRange, path coregraphics.CGPathRef, frameAttributes corefoundation.CFDictionaryRef) CTFrameRef

CTFramesetterCreateFrame creates an immutable frame using a framesetter.

See: https://developer.apple.com/documentation/CoreText/CTFramesetterCreateFrame(_:_:_:_:)

type CTFramesetterRef

type CTFramesetterRef uintptr

CTFramesetterRef is generate text frames.

See: https://developer.apple.com/documentation/CoreText/CTFramesetter

func CTFramesetterCreateWithAttributedString

func CTFramesetterCreateWithAttributedString(attrString corefoundation.CFAttributedStringRef) CTFramesetterRef

CTFramesetterCreateWithAttributedString creates an immutable framesetter object from an attributed string.

See: https://developer.apple.com/documentation/CoreText/CTFramesetterCreateWithAttributedString(_:)

func CTFramesetterCreateWithTypesetter

func CTFramesetterCreateWithTypesetter(typesetter CTTypesetterRef) CTFramesetterRef

CTFramesetterCreateWithTypesetter creates a framesetter directly from a typesetter.

See: https://developer.apple.com/documentation/CoreText/CTFramesetterCreateWithTypesetter(_:)

type CTGlyphInfoRef

type CTGlyphInfoRef uintptr

CTGlyphInfoRef is override a font’s specified mapping from Unicode to the glyph ID.

See: https://developer.apple.com/documentation/CoreText/CTGlyphInfo

func CTGlyphInfoCreateWithCharacterIdentifier

func CTGlyphInfoCreateWithCharacterIdentifier(cid uint16, collection CTCharacterCollection, baseString corefoundation.CFStringRef) CTGlyphInfoRef

CTGlyphInfoCreateWithCharacterIdentifier creates an immutable glyph info object with a character identifier.

See: https://developer.apple.com/documentation/CoreText/CTGlyphInfoCreateWithCharacterIdentifier(_:_:_:)

func CTGlyphInfoCreateWithGlyph

func CTGlyphInfoCreateWithGlyph(glyph uint16, font CTFontRef, baseString corefoundation.CFStringRef) CTGlyphInfoRef

CTGlyphInfoCreateWithGlyph creates an immutable glyph info object with a glyph index.

See: https://developer.apple.com/documentation/CoreText/CTGlyphInfoCreateWithGlyph(_:_:_:)

func CTGlyphInfoCreateWithGlyphName

func CTGlyphInfoCreateWithGlyphName(glyphName corefoundation.CFStringRef, font CTFontRef, baseString corefoundation.CFStringRef) CTGlyphInfoRef

CTGlyphInfoCreateWithGlyphName creates an immutable glyph info object with a glyph name.

See: https://developer.apple.com/documentation/CoreText/CTGlyphInfoCreateWithGlyphName(_:_:_:)

type CTLineBoundsOptions

type CTLineBoundsOptions uint

See: https://developer.apple.com/documentation/CoreText/CTLineBoundsOptions

const (
	// KCTLineBoundsExcludeTypographicLeading: An option to exclude typographic leading.
	KCTLineBoundsExcludeTypographicLeading CTLineBoundsOptions = 1
	// KCTLineBoundsExcludeTypographicShifts: An option to ignore cross-stream shifts due to positioning, such as kerning or baseline alignment.
	KCTLineBoundsExcludeTypographicShifts CTLineBoundsOptions = 2
	// KCTLineBoundsIncludeLanguageExtents: An option to include additional space based on common glyph sequences for various languages.
	KCTLineBoundsIncludeLanguageExtents CTLineBoundsOptions = 32
	// KCTLineBoundsUseGlyphPathBounds: An option to use glyph path bounds rather than the default typographic bounds.
	KCTLineBoundsUseGlyphPathBounds CTLineBoundsOptions = 8
	// KCTLineBoundsUseHangingPunctuation: An option to enable hanging punctuation.
	KCTLineBoundsUseHangingPunctuation CTLineBoundsOptions = 4
	// KCTLineBoundsUseOpticalBounds: An option to use optical bounds.
	KCTLineBoundsUseOpticalBounds CTLineBoundsOptions = 16
)

func (CTLineBoundsOptions) String

func (e CTLineBoundsOptions) String() string

type CTLineRef

type CTLineRef uintptr

CTLineRef is a line of text.

See: https://developer.apple.com/documentation/CoreText/CTLine

func CTLineCreateJustifiedLine

func CTLineCreateJustifiedLine(line CTLineRef, justificationFactor float64, justificationWidth float64) CTLineRef

CTLineCreateJustifiedLine creates a justified line from an existing line.

See: https://developer.apple.com/documentation/CoreText/CTLineCreateJustifiedLine(_:_:_:)

func CTLineCreateTruncatedLine

func CTLineCreateTruncatedLine(line CTLineRef, width float64, truncationType CTLineTruncationType, truncationToken CTLineRef) CTLineRef

CTLineCreateTruncatedLine creates a truncated line from an existing line.

See: https://developer.apple.com/documentation/CoreText/CTLineCreateTruncatedLine(_:_:_:_:)

func CTLineCreateWithAttributedString

func CTLineCreateWithAttributedString(attrString corefoundation.CFAttributedStringRef) CTLineRef

CTLineCreateWithAttributedString creates a single immutable line object from an attributed string.

See: https://developer.apple.com/documentation/CoreText/CTLineCreateWithAttributedString(_:)

func CTTypesetterCreateLine

func CTTypesetterCreateLine(typesetter CTTypesetterRef, stringRange corefoundation.CFRange) CTLineRef

CTTypesetterCreateLine creates an immutable line from the typesetter.

See: https://developer.apple.com/documentation/CoreText/CTTypesetterCreateLine(_:_:)

func CTTypesetterCreateLineWithOffset

func CTTypesetterCreateLineWithOffset(typesetter CTTypesetterRef, stringRange corefoundation.CFRange, offset float64) CTLineRef

CTTypesetterCreateLineWithOffset creates an immutable line from the typesetter at a specified line offset.

See: https://developer.apple.com/documentation/CoreText/CTTypesetterCreateLineWithOffset(_:_:_:)

type CTMutableFontCollectionRef

type CTMutableFontCollectionRef uintptr

CTMutableFontCollectionRef is a reference to a mutable font collection.

See: https://developer.apple.com/documentation/CoreText/CTMutableFontCollection

func CTFontCollectionCreateMutableCopy

func CTFontCollectionCreateMutableCopy(original CTFontCollectionRef) CTMutableFontCollectionRef

CTFontCollectionCreateMutableCopy creates a mutable copy of the original collection.

See: https://developer.apple.com/documentation/CoreText/CTFontCollectionCreateMutableCopy(_:)

type CTParagraphStyleRef

type CTParagraphStyleRef uintptr

CTParagraphStyleRef is paragraph or ruler attributes in an attributed string.

See: https://developer.apple.com/documentation/CoreText/CTParagraphStyle

func CTParagraphStyleCreate

func CTParagraphStyleCreate(settings *CTParagraphStyleSetting, settingCount uintptr) CTParagraphStyleRef

CTParagraphStyleCreate creates an immutable paragraph style.

See: https://developer.apple.com/documentation/CoreText/CTParagraphStyleCreate(_:_:)

func CTParagraphStyleCreateCopy

func CTParagraphStyleCreateCopy(paragraphStyle CTParagraphStyleRef) CTParagraphStyleRef

CTParagraphStyleCreateCopy creates an immutable copy of a paragraph style.

See: https://developer.apple.com/documentation/CoreText/CTParagraphStyleCreateCopy(_:)

type CTParagraphStyleSetting

type CTParagraphStyleSetting struct {
	Spec      CTParagraphStyleSpecifier // The specifier of the setting. See [CTParagraphStyleSpecifier](<https://developer.apple.com/documentation/CoreText/CTParagraphStyleSpecifier>) for possible values.
	ValueSize uintptr                   // The size of the value pointed to by the `value` field. This value must match the size of the value required by the [CTParagraphStyleSpecifier] set in the `spec` field.
	Value     unsafe.Pointer            // A reference to the value of the setting specified by the `spec` field. The value must be in the proper range for the `spec` value and at least as large as the size specified in `valueSize`.

}

CTParagraphStyleSetting - This structure is used to alter the paragraph style.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/CTParagraphStyleSetting

type CTParagraphStyleSpecifier

type CTParagraphStyleSpecifier uint32

See: https://developer.apple.com/documentation/CoreText/CTParagraphStyleSpecifier

const (
	// KCTParagraphStyleSpecifierAlignment: The text alignment.
	KCTParagraphStyleSpecifierAlignment CTParagraphStyleSpecifier = 0
	// KCTParagraphStyleSpecifierBaseWritingDirection: The base writing direction of the lines.
	KCTParagraphStyleSpecifierBaseWritingDirection CTParagraphStyleSpecifier = 13
	// KCTParagraphStyleSpecifierCount: The number of style specifiers.
	KCTParagraphStyleSpecifierCount CTParagraphStyleSpecifier = 18
	// KCTParagraphStyleSpecifierDefaultTabInterval: The document-wide default tab interval.
	KCTParagraphStyleSpecifierDefaultTabInterval CTParagraphStyleSpecifier = 5
	// KCTParagraphStyleSpecifierFirstLineHeadIndent: The distance, in points, from the leading margin of a frame to the beginning of the paragraph’s first line.
	KCTParagraphStyleSpecifierFirstLineHeadIndent CTParagraphStyleSpecifier = 1
	// KCTParagraphStyleSpecifierHeadIndent: The distance, in points, from the leading margin of a text container to the beginning of lines other than the first.
	KCTParagraphStyleSpecifierHeadIndent CTParagraphStyleSpecifier = 2
	// KCTParagraphStyleSpecifierLineBoundsOptions: Options that control the alignment of the line edges with the leading and trailing margins.
	KCTParagraphStyleSpecifierLineBoundsOptions CTParagraphStyleSpecifier = 17
	// KCTParagraphStyleSpecifierLineBreakMode: The mode that should be used to break lines when laying out the paragraph’s text.
	KCTParagraphStyleSpecifierLineBreakMode CTParagraphStyleSpecifier = 6
	// KCTParagraphStyleSpecifierLineHeightMultiple: The line height multiple.
	KCTParagraphStyleSpecifierLineHeightMultiple CTParagraphStyleSpecifier = 7
	// KCTParagraphStyleSpecifierLineSpacing: The space in points added between lines within the paragraph (commonly known as leading).
	KCTParagraphStyleSpecifierLineSpacing CTParagraphStyleSpecifier = 10
	// KCTParagraphStyleSpecifierLineSpacingAdjustment: The space in points added between lines within the paragraph (commonly known as leading).
	KCTParagraphStyleSpecifierLineSpacingAdjustment CTParagraphStyleSpecifier = 16
	// KCTParagraphStyleSpecifierMaximumLineHeight: The maximum height that any line in the frame will occupy, regardless of the font size or size of any attached graphic.
	KCTParagraphStyleSpecifierMaximumLineHeight CTParagraphStyleSpecifier = 8
	// KCTParagraphStyleSpecifierMaximumLineSpacing: The maximum space in points between lines within the paragraph (commonly known as leading).
	KCTParagraphStyleSpecifierMaximumLineSpacing CTParagraphStyleSpecifier = 14
	// KCTParagraphStyleSpecifierMinimumLineHeight: The minimum height that any line in the frame will occupy, regardless of the font size or size of any attached graphic.
	KCTParagraphStyleSpecifierMinimumLineHeight CTParagraphStyleSpecifier = 9
	// KCTParagraphStyleSpecifierMinimumLineSpacing: The minimum space in points between lines within the paragraph (commonly known as leading).
	KCTParagraphStyleSpecifierMinimumLineSpacing CTParagraphStyleSpecifier = 15
	// KCTParagraphStyleSpecifierParagraphSpacing: The space added at the end of the paragraph to separate it from the following paragraph.
	KCTParagraphStyleSpecifierParagraphSpacing CTParagraphStyleSpecifier = 11
	// KCTParagraphStyleSpecifierParagraphSpacingBefore: The distance between the paragraph’s top and the beginning of its text content.
	KCTParagraphStyleSpecifierParagraphSpacingBefore CTParagraphStyleSpecifier = 12
	// KCTParagraphStyleSpecifierTabStops: The text tab objects, sorted by location, that define the tab stops for the paragraph style.
	KCTParagraphStyleSpecifierTabStops CTParagraphStyleSpecifier = 4
	// KCTParagraphStyleSpecifierTailIndent: The distance, in points, from the margin of a frame to the end of lines.
	KCTParagraphStyleSpecifierTailIndent CTParagraphStyleSpecifier = 3
)

func (CTParagraphStyleSpecifier) String

func (e CTParagraphStyleSpecifier) String() string

type CTRubyAlignment

type CTRubyAlignment uint8

See: https://developer.apple.com/documentation/CoreText/CTRubyAlignment

const (
	// KCTRubyAlignmentAuto: Core Text automatically determines the alignment.
	KCTRubyAlignmentAuto CTRubyAlignment = 0
	// KCTRubyAlignmentCenter: Centers the ruby text within the width of the base text.
	KCTRubyAlignmentCenter CTRubyAlignment = 2
	// KCTRubyAlignmentDistributeLetter: Distributes the ruby text evenly over the width of the base text, aligning the first and last characters of the ruby text with the first and last characters of the base text.
	KCTRubyAlignmentDistributeLetter CTRubyAlignment = 4
	// KCTRubyAlignmentDistributeSpace: Distributes the ruby text evenly over the width of the base text, adding space before the first and after the last character.
	KCTRubyAlignmentDistributeSpace CTRubyAlignment = 5
	// KCTRubyAlignmentEnd: Aligns the ruby text with the ending edge of the base text.
	KCTRubyAlignmentEnd CTRubyAlignment = 3
	// KCTRubyAlignmentInvalid: The alignment is invalid.
	KCTRubyAlignmentInvalid CTRubyAlignment = 255
	// KCTRubyAlignmentLineEdge: Aligns the ruby text to an adjacent line edge.
	KCTRubyAlignmentLineEdge CTRubyAlignment = 6
	// KCTRubyAlignmentStart: Aligns the ruby text with the starting edge of the base text.
	KCTRubyAlignmentStart CTRubyAlignment = 1
)

func CTRubyAnnotationGetAlignment

func CTRubyAnnotationGetAlignment(rubyAnnotation CTRubyAnnotationRef) CTRubyAlignment

CTRubyAnnotationGetAlignment retrieves the alignment value of a ruby annotation object.

See: https://developer.apple.com/documentation/CoreText/CTRubyAnnotationGetAlignment(_:)

func (CTRubyAlignment) String

func (e CTRubyAlignment) String() string

type CTRubyAnnotationRef

type CTRubyAnnotationRef uintptr

See: https://developer.apple.com/documentation/CoreText/CTRubyAnnotation

func CTRubyAnnotationCreate

func CTRubyAnnotationCreate(alignment CTRubyAlignment, overhang CTRubyOverhang, sizeFactor float64, text corefoundation.CFStringRef) CTRubyAnnotationRef

CTRubyAnnotationCreate creates an immutable ruby annotation object.

See: https://developer.apple.com/documentation/CoreText/CTRubyAnnotationCreate(_:_:_:_:)

func CTRubyAnnotationCreateCopy

func CTRubyAnnotationCreateCopy(rubyAnnotation CTRubyAnnotationRef) CTRubyAnnotationRef

CTRubyAnnotationCreateCopy creates an immutable copy of a ruby annotation object.

See: https://developer.apple.com/documentation/CoreText/CTRubyAnnotationCreateCopy(_:)

func CTRubyAnnotationCreateWithAttributes

func CTRubyAnnotationCreateWithAttributes(alignment CTRubyAlignment, overhang CTRubyOverhang, position CTRubyPosition, string_ corefoundation.CFStringRef, attributes corefoundation.CFDictionaryRef) CTRubyAnnotationRef

CTRubyAnnotationCreateWithAttributes creates an immutable ruby annotation object with the specified attributes.

See: https://developer.apple.com/documentation/CoreText/CTRubyAnnotationCreateWithAttributes(_:_:_:_:_:)

type CTRubyOverhang

type CTRubyOverhang uint8

See: https://developer.apple.com/documentation/CoreText/CTRubyOverhang

const (
	// KCTRubyOverhangAuto: The ruby text can overhang adjacent text on both sides.
	KCTRubyOverhangAuto CTRubyOverhang = 0
	// KCTRubyOverhangEnd: The ruby text can overhang the text that follows it.
	KCTRubyOverhangEnd CTRubyOverhang = 2
	// KCTRubyOverhangInvalid: The overhang specification is invalid.
	KCTRubyOverhangInvalid CTRubyOverhang = 255
	// KCTRubyOverhangNone: The ruby text can’t overhang the preceding or following text.
	KCTRubyOverhangNone CTRubyOverhang = 3
	// KCTRubyOverhangStart: The ruby text can overhang the text that precedes it.
	KCTRubyOverhangStart CTRubyOverhang = 1
)

func CTRubyAnnotationGetOverhang

func CTRubyAnnotationGetOverhang(rubyAnnotation CTRubyAnnotationRef) CTRubyOverhang

CTRubyAnnotationGetOverhang retrieves the overhang value of a ruby annotation object.

See: https://developer.apple.com/documentation/CoreText/CTRubyAnnotationGetOverhang(_:)

func (CTRubyOverhang) String

func (e CTRubyOverhang) String() string

type CTRubyPosition

type CTRubyPosition uint8

See: https://developer.apple.com/documentation/CoreText/CTRubyPosition

const (
	// KCTRubyPositionAfter: The ruby text is positioned after the base text, appearing below horizontal text and to the left of vertical text.
	KCTRubyPositionAfter CTRubyPosition = 1
	// KCTRubyPositionBefore: The ruby text is positioned before the base text, appearing above horizontal text and to the right of vertical text.
	KCTRubyPositionBefore CTRubyPosition = 0
	// KCTRubyPositionCount: A constant that accounts for all ruby positions during ruby annotation creation.
	KCTRubyPositionCount CTRubyPosition = 4
	// KCTRubyPositionInline: The ruby text follows the base text with no special styling.
	KCTRubyPositionInline CTRubyPosition = 3
	// KCTRubyPositionInterCharacter: The ruby text is positioned to the right of the base text, regardless of whether it’s horizontal or vertical.
	KCTRubyPositionInterCharacter CTRubyPosition = 2
)

func (CTRubyPosition) String

func (e CTRubyPosition) String() string

type CTRunDelegateCallbacks

type CTRunDelegateCallbacks struct {
	Version    int                             // The version number of the callbacks being passed in as a parameter to [CTRunDelegateCreate(_:_:)](<https://developer.apple.com/documentation/CoreText/CTRunDelegateCreate(_:_:)>). The initial version is [kCTRunDelegateVersion1](<https://developer.apple.com/documentation/CoreText/kCTRunDelegateVersion1>).
	Dealloc    CTRunDelegateDeallocateCallback // The callback invoked when the retain count of a CTRunDelegate reaches 0 and the CTRunDelegate is deallocated. This callback may be [NULL].
	GetAscent  CTRunDelegateGetAscentCallback  // The callback invoked to request the run delegate to determine and return the typographic ascent of glyphs in the run. This callback may be [NULL], which is equivalent to a `getAscent` callback that always returns 0.
	GetDescent CTRunDelegateGetDescentCallback // The callback invoked to request the run delegate to determine and return the typographic descent of glyphs in the run. This callback may be [NULL], which is equivalent to a `getDescent` callback that always returns 0.
	GetWidth   CTRunDelegateGetWidthCallback   // The callback invoked to request the run delegate to determine and return the typographic width of glyphs in the run. This callback may be [NULL], which is equivalent to a `getWidth` callback that always returns 0.

}

CTRunDelegateCallbacks - A structure holding pointers to callbacks implemented by the run delegate.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/CTRunDelegateCallbacks

type CTRunDelegateDeallocateCallback

type CTRunDelegateDeallocateCallback = func(refCon unsafe.Pointer)

CTRunDelegateDeallocateCallback is defines a pointer to a function that is invoked when a CTRunDelegate object is deallocated.

See: https://developer.apple.com/documentation/CoreText/CTRunDelegateDeallocateCallback

type CTRunDelegateGetAscentCallback

type CTRunDelegateGetAscentCallback = func(refCon unsafe.Pointer) float64

CTRunDelegateGetAscentCallback is defines a pointer to a function that determines typographic ascent of glyphs in the run.

See: https://developer.apple.com/documentation/CoreText/CTRunDelegateGetAscentCallback

type CTRunDelegateGetDescentCallback

type CTRunDelegateGetDescentCallback = func(refCon unsafe.Pointer) float64

CTRunDelegateGetDescentCallback is defines a pointer to a function that determines typographic descent of glyphs in the run.

See: https://developer.apple.com/documentation/CoreText/CTRunDelegateGetDescentCallback

type CTRunDelegateGetWidthCallback

type CTRunDelegateGetWidthCallback = func(refCon unsafe.Pointer) float64

CTRunDelegateGetWidthCallback is defines a pointer to a function that determines the typographic width of glyphs in the run.

See: https://developer.apple.com/documentation/CoreText/CTRunDelegateGetWidthCallback

type CTRunDelegateRef

type CTRunDelegateRef uintptr

CTRunDelegateRef is a run delegate.

See: https://developer.apple.com/documentation/CoreText/CTRunDelegate

func CTRunDelegateCreate

func CTRunDelegateCreate(callbacks *CTRunDelegateCallbacks, refCon uintptr) CTRunDelegateRef

CTRunDelegateCreate creates an immutable instance of a run delegate.

See: https://developer.apple.com/documentation/CoreText/CTRunDelegateCreate(_:_:)

type CTRunRef

type CTRunRef uintptr

CTRunRef is a glyph run.

See: https://developer.apple.com/documentation/CoreText/CTRun

type CTRunStatus

type CTRunStatus uint32

See: https://developer.apple.com/documentation/CoreText/CTRunStatus

const (
	// KCTRunStatusHasNonIdentityMatrix: The run requires a specific text matrix to be set in the current Core Graphics context for proper drawing.
	KCTRunStatusHasNonIdentityMatrix CTRunStatus = 4
	// KCTRunStatusNoStatus: The run has no special attributes.
	KCTRunStatusNoStatus CTRunStatus = 0
	// KCTRunStatusNonMonotonic: The run isn’t in strictly increasing or decreasing order.
	KCTRunStatusNonMonotonic CTRunStatus = 2
	// KCTRunStatusRightToLeft: The run proceeds from right to left.
	KCTRunStatusRightToLeft CTRunStatus = 1
)

func CTRunGetStatus

func CTRunGetStatus(run CTRunRef) CTRunStatus

CTRunGetStatus returns the run’s status.

See: https://developer.apple.com/documentation/CoreText/CTRunGetStatus(_:)

func (CTRunStatus) String

func (e CTRunStatus) String() string

type CTTextAlignment

type CTTextAlignment uint8

See: https://developer.apple.com/documentation/CoreText/CTTextAlignment

const (
	// KCTTextAlignmentCenter: Text is visually center-aligned.
	KCTTextAlignmentCenter CTTextAlignment = 2
	// KCTTextAlignmentJustified: Text is fully justified.
	KCTTextAlignmentJustified CTTextAlignment = 3
	// KCTTextAlignmentLeft: Text is visually left-aligned.
	KCTTextAlignmentLeft CTTextAlignment = 0
	// KCTTextAlignmentNatural: Text uses the natural alignment of the text’s script.
	KCTTextAlignmentNatural CTTextAlignment = 4
	// KCTTextAlignmentRight: Text is visually right-aligned.
	KCTTextAlignmentRight CTTextAlignment = 1
)

func CTTextTabGetAlignment

func CTTextTabGetAlignment(tab CTTextTabRef) CTTextAlignment

CTTextTabGetAlignment returns the text alignment of the tab.

See: https://developer.apple.com/documentation/CoreText/CTTextTabGetAlignment(_:)

func (CTTextAlignment) String

func (e CTTextAlignment) String() string

type CTTextTabRef

type CTTextTabRef uintptr

CTTextTabRef is a tab in a paragraph style, storing an alignment type and location.

See: https://developer.apple.com/documentation/CoreText/CTTextTab

func CTTextTabCreate

func CTTextTabCreate(alignment CTTextAlignment, location float64, options corefoundation.CFDictionaryRef) CTTextTabRef

CTTextTabCreate creates and initializes a new text tab object.

See: https://developer.apple.com/documentation/CoreText/CTTextTabCreate(_:_:_:)

type CTTypesetterRef

type CTTypesetterRef uintptr

CTTypesetterRef is a typesetter which performs line layout.

See: https://developer.apple.com/documentation/CoreText/CTTypesetter

func CTFramesetterGetTypesetter

func CTFramesetterGetTypesetter(framesetter CTFramesetterRef) CTTypesetterRef

CTFramesetterGetTypesetter returns the typesetter object being used by the framesetter.

See: https://developer.apple.com/documentation/CoreText/CTFramesetterGetTypesetter(_:)

func CTTypesetterCreateWithAttributedString

func CTTypesetterCreateWithAttributedString(string_ corefoundation.CFAttributedStringRef) CTTypesetterRef

CTTypesetterCreateWithAttributedString creates an immutable typesetter object using an attributed string.

See: https://developer.apple.com/documentation/CoreText/CTTypesetterCreateWithAttributedString(_:)

func CTTypesetterCreateWithAttributedStringAndOptions

func CTTypesetterCreateWithAttributedStringAndOptions(string_ corefoundation.CFAttributedStringRef, options corefoundation.CFDictionaryRef) CTTypesetterRef

CTTypesetterCreateWithAttributedStringAndOptions creates an immutable typesetter object using an attributed string and a dictionary of options.

See: https://developer.apple.com/documentation/CoreText/CTTypesetterCreateWithAttributedStringAndOptions(_:_:)

type CTUnderlineStyle

type CTUnderlineStyle int32

See: https://developer.apple.com/documentation/CoreText/CTUnderlineStyle

const (
	// KCTUnderlineStyleDouble: A specifier that indicates to draw an underline consisting of a double line.
	KCTUnderlineStyleDouble CTUnderlineStyle = 0x9
	// KCTUnderlineStyleNone: A specifier that indicates not to draw an underline.
	KCTUnderlineStyleNone CTUnderlineStyle = 0
	// KCTUnderlineStyleSingle: A specifier that indicates to draw an underline consisting of a single line.
	KCTUnderlineStyleSingle CTUnderlineStyle = 0x1
	// KCTUnderlineStyleThick: A specifier that indicates to draw an underline consisting of a thick line.
	KCTUnderlineStyleThick CTUnderlineStyle = 0x2
)

func (CTUnderlineStyle) String

func (e CTUnderlineStyle) String() string

type CTUnderlineStyleModifiers

type CTUnderlineStyleModifiers int32

See: https://developer.apple.com/documentation/CoreText/CTUnderlineStyleModifiers

const (
	// KCTUnderlinePatternDash: A modifier that indicates to draw an underline using a pattern of dashes.
	KCTUnderlinePatternDash CTUnderlineStyleModifiers = 0x200
	// KCTUnderlinePatternDashDot: A modifier that indicates to draw an underline using a pattern of alternating dashes and dots.
	KCTUnderlinePatternDashDot CTUnderlineStyleModifiers = 0x300
	// KCTUnderlinePatternDashDotDot: A modifier that indicates to draw an underline using a pattern of a dash followed by two dots.
	KCTUnderlinePatternDashDotDot CTUnderlineStyleModifiers = 0x400
	// KCTUnderlinePatternDot: A modifier that indicates to draw an underline using a pattern of dots.
	KCTUnderlinePatternDot CTUnderlineStyleModifiers = 0x100
	// KCTUnderlinePatternSolid: A modifier that indicates to draw a solid underline.
	KCTUnderlinePatternSolid CTUnderlineStyleModifiers = 0
)

func (CTUnderlineStyleModifiers) String

func (e CTUnderlineStyleModifiers) String() string

type FontVariation

type FontVariation struct {
	// contains filtered or unexported fields
}

FontVariation

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/FontVariation

func (*FontVariation) Name

func (s *FontVariation) Name() uint32

Name returns the Name field from the record's packed storage.

func (*FontVariation) SetName

func (s *FontVariation) SetName(v uint32)

SetName updates the Name field in the record's packed storage.

func (*FontVariation) SetValue

func (s *FontVariation) SetValue(v int32)

SetValue updates the Value field in the record's packed storage.

func (*FontVariation) Value

func (s *FontVariation) Value() int32

Value returns the Value field from the record's packed storage.

type JustDirectionTable

type JustDirectionTable struct {
	JustClass          uint16
	WidthDeltaClusters uint16
	Postcomp           uint16
	Lookup             SFNTLookupTable
}

JustDirectionTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/JustDirectionTable

type JustPCAction

type JustPCAction struct {
	// contains filtered or unexported fields
}

JustPCAction

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/JustPCAction

func (*JustPCAction) ActionCount

func (s *JustPCAction) ActionCount() uint32

ActionCount returns the ActionCount field from the record's packed storage.

func (*JustPCAction) Actions

func (s *JustPCAction) Actions() [1]JustPCActionSubrecord

Actions returns the Actions field from the record's packed storage.

func (*JustPCAction) SetActionCount

func (s *JustPCAction) SetActionCount(v uint32)

SetActionCount updates the ActionCount field in the record's packed storage.

func (*JustPCAction) SetActions

func (s *JustPCAction) SetActions(v [1]JustPCActionSubrecord)

SetActions updates the Actions field in the record's packed storage.

type JustPCActionSubrecord

type JustPCActionSubrecord struct {
	// contains filtered or unexported fields
}

JustPCActionSubrecord

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/JustPCActionSubrecord

func (*JustPCActionSubrecord) Data

func (s *JustPCActionSubrecord) Data() uint32

Data returns the Data field from the record's packed storage.

func (*JustPCActionSubrecord) Length

func (s *JustPCActionSubrecord) Length() uint32

Length returns the Length field from the record's packed storage.

func (*JustPCActionSubrecord) SetData

func (s *JustPCActionSubrecord) SetData(v uint32)

SetData updates the Data field in the record's packed storage.

func (*JustPCActionSubrecord) SetLength

func (s *JustPCActionSubrecord) SetLength(v uint32)

SetLength updates the Length field in the record's packed storage.

func (*JustPCActionSubrecord) SetTheClass

func (s *JustPCActionSubrecord) SetTheClass(v uint16)

SetTheClass updates the TheClass field in the record's packed storage.

func (*JustPCActionSubrecord) SetTheType

func (s *JustPCActionSubrecord) SetTheType(v JustPCActionType)

SetTheType updates the TheType field in the record's packed storage.

func (*JustPCActionSubrecord) TheClass

func (s *JustPCActionSubrecord) TheClass() uint16

TheClass returns the TheClass field from the record's packed storage.

func (*JustPCActionSubrecord) TheType

TheType returns the TheType field from the record's packed storage.

type JustPCConditionalAddAction

type JustPCConditionalAddAction struct {
	// contains filtered or unexported fields
}

JustPCConditionalAddAction

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/JustPCConditionalAddAction

func (*JustPCConditionalAddAction) AddGlyph

func (s *JustPCConditionalAddAction) AddGlyph() uint16

AddGlyph returns the AddGlyph field from the record's packed storage.

func (*JustPCConditionalAddAction) SetAddGlyph

func (s *JustPCConditionalAddAction) SetAddGlyph(v uint16)

SetAddGlyph updates the AddGlyph field in the record's packed storage.

func (*JustPCConditionalAddAction) SetSubstGlyph

func (s *JustPCConditionalAddAction) SetSubstGlyph(v uint16)

SetSubstGlyph updates the SubstGlyph field in the record's packed storage.

func (*JustPCConditionalAddAction) SetSubstThreshold

func (s *JustPCConditionalAddAction) SetSubstThreshold(v int32)

SetSubstThreshold updates the SubstThreshold field in the record's packed storage.

func (*JustPCConditionalAddAction) SubstGlyph

func (s *JustPCConditionalAddAction) SubstGlyph() uint16

SubstGlyph returns the SubstGlyph field from the record's packed storage.

func (*JustPCConditionalAddAction) SubstThreshold

func (s *JustPCConditionalAddAction) SubstThreshold() int32

SubstThreshold returns the SubstThreshold field from the record's packed storage.

type JustPCDecompositionAction

type JustPCDecompositionAction struct {
	// contains filtered or unexported fields
}

JustPCDecompositionAction

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/JustPCDecompositionAction

func (*JustPCDecompositionAction) Count

func (s *JustPCDecompositionAction) Count() uint16

Count returns the Count field from the record's packed storage.

func (*JustPCDecompositionAction) Glyphs

func (s *JustPCDecompositionAction) Glyphs() [1]uint16

Glyphs returns the Glyphs field from the record's packed storage.

func (*JustPCDecompositionAction) LowerLimit

func (s *JustPCDecompositionAction) LowerLimit() int32

LowerLimit returns the LowerLimit field from the record's packed storage.

func (*JustPCDecompositionAction) Order

func (s *JustPCDecompositionAction) Order() uint16

Order returns the Order field from the record's packed storage.

func (*JustPCDecompositionAction) SetCount

func (s *JustPCDecompositionAction) SetCount(v uint16)

SetCount updates the Count field in the record's packed storage.

func (*JustPCDecompositionAction) SetGlyphs

func (s *JustPCDecompositionAction) SetGlyphs(v [1]uint16)

SetGlyphs updates the Glyphs field in the record's packed storage.

func (*JustPCDecompositionAction) SetLowerLimit

func (s *JustPCDecompositionAction) SetLowerLimit(v int32)

SetLowerLimit updates the LowerLimit field in the record's packed storage.

func (*JustPCDecompositionAction) SetOrder

func (s *JustPCDecompositionAction) SetOrder(v uint16)

SetOrder updates the Order field in the record's packed storage.

func (*JustPCDecompositionAction) SetUpperLimit

func (s *JustPCDecompositionAction) SetUpperLimit(v int32)

SetUpperLimit updates the UpperLimit field in the record's packed storage.

func (*JustPCDecompositionAction) UpperLimit

func (s *JustPCDecompositionAction) UpperLimit() int32

UpperLimit returns the UpperLimit field from the record's packed storage.

type JustPCDuctilityAction

type JustPCDuctilityAction struct {
	// contains filtered or unexported fields
}

JustPCDuctilityAction

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/JustPCDuctilityAction

func (*JustPCDuctilityAction) DuctilityAxis

func (s *JustPCDuctilityAction) DuctilityAxis() uint32

DuctilityAxis returns the DuctilityAxis field from the record's packed storage.

func (*JustPCDuctilityAction) MaximumLimit

func (s *JustPCDuctilityAction) MaximumLimit() int32

MaximumLimit returns the MaximumLimit field from the record's packed storage.

func (*JustPCDuctilityAction) MinimumLimit

func (s *JustPCDuctilityAction) MinimumLimit() int32

MinimumLimit returns the MinimumLimit field from the record's packed storage.

func (*JustPCDuctilityAction) NoStretchValue

func (s *JustPCDuctilityAction) NoStretchValue() int32

NoStretchValue returns the NoStretchValue field from the record's packed storage.

func (*JustPCDuctilityAction) SetDuctilityAxis

func (s *JustPCDuctilityAction) SetDuctilityAxis(v uint32)

SetDuctilityAxis updates the DuctilityAxis field in the record's packed storage.

func (*JustPCDuctilityAction) SetMaximumLimit

func (s *JustPCDuctilityAction) SetMaximumLimit(v int32)

SetMaximumLimit updates the MaximumLimit field in the record's packed storage.

func (*JustPCDuctilityAction) SetMinimumLimit

func (s *JustPCDuctilityAction) SetMinimumLimit(v int32)

SetMinimumLimit updates the MinimumLimit field in the record's packed storage.

func (*JustPCDuctilityAction) SetNoStretchValue

func (s *JustPCDuctilityAction) SetNoStretchValue(v int32)

SetNoStretchValue updates the NoStretchValue field in the record's packed storage.

type JustPCGlyphRepeatAddAction

type JustPCGlyphRepeatAddAction struct {
	Flags uint16
	Glyph uint16
}

JustPCGlyphRepeatAddAction

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/JustPCGlyphRepeatAddAction

type JustPostcompTable

type JustPostcompTable struct {
	LookupTable SFNTLookupTable
}

JustPostcompTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/JustPostcompTable

type JustTable

type JustTable struct {
	// contains filtered or unexported fields
}

JustTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/JustTable

func (*JustTable) Format

func (s *JustTable) Format() uint16

Format returns the Format field from the record's packed storage.

func (*JustTable) HorizHeaderOffset

func (s *JustTable) HorizHeaderOffset() uint16

HorizHeaderOffset returns the HorizHeaderOffset field from the record's packed storage.

func (*JustTable) SetFormat

func (s *JustTable) SetFormat(v uint16)

SetFormat updates the Format field in the record's packed storage.

func (*JustTable) SetHorizHeaderOffset

func (s *JustTable) SetHorizHeaderOffset(v uint16)

SetHorizHeaderOffset updates the HorizHeaderOffset field in the record's packed storage.

func (*JustTable) SetVersion

func (s *JustTable) SetVersion(v int32)

SetVersion updates the Version field in the record's packed storage.

func (*JustTable) SetVertHeaderOffset

func (s *JustTable) SetVertHeaderOffset(v uint16)

SetVertHeaderOffset updates the VertHeaderOffset field in the record's packed storage.

func (*JustTable) Version

func (s *JustTable) Version() int32

Version returns the Version field from the record's packed storage.

func (*JustTable) VertHeaderOffset

func (s *JustTable) VertHeaderOffset() uint16

VertHeaderOffset returns the VertHeaderOffset field from the record's packed storage.

type JustWidthDeltaEntry

type JustWidthDeltaEntry struct {
	// contains filtered or unexported fields
}

JustWidthDeltaEntry

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/JustWidthDeltaEntry

func (*JustWidthDeltaEntry) AfterGrowLimit

func (s *JustWidthDeltaEntry) AfterGrowLimit() int32

AfterGrowLimit returns the AfterGrowLimit field from the record's packed storage.

func (*JustWidthDeltaEntry) AfterShrinkLimit

func (s *JustWidthDeltaEntry) AfterShrinkLimit() int32

AfterShrinkLimit returns the AfterShrinkLimit field from the record's packed storage.

func (*JustWidthDeltaEntry) BeforeGrowLimit

func (s *JustWidthDeltaEntry) BeforeGrowLimit() int32

BeforeGrowLimit returns the BeforeGrowLimit field from the record's packed storage.

func (*JustWidthDeltaEntry) BeforeShrinkLimit

func (s *JustWidthDeltaEntry) BeforeShrinkLimit() int32

BeforeShrinkLimit returns the BeforeShrinkLimit field from the record's packed storage.

func (*JustWidthDeltaEntry) GrowFlags

func (s *JustWidthDeltaEntry) GrowFlags() JustificationFlags

GrowFlags returns the GrowFlags field from the record's packed storage.

func (*JustWidthDeltaEntry) JustClass

func (s *JustWidthDeltaEntry) JustClass() uint32

JustClass returns the JustClass field from the record's packed storage.

func (*JustWidthDeltaEntry) SetAfterGrowLimit

func (s *JustWidthDeltaEntry) SetAfterGrowLimit(v int32)

SetAfterGrowLimit updates the AfterGrowLimit field in the record's packed storage.

func (*JustWidthDeltaEntry) SetAfterShrinkLimit

func (s *JustWidthDeltaEntry) SetAfterShrinkLimit(v int32)

SetAfterShrinkLimit updates the AfterShrinkLimit field in the record's packed storage.

func (*JustWidthDeltaEntry) SetBeforeGrowLimit

func (s *JustWidthDeltaEntry) SetBeforeGrowLimit(v int32)

SetBeforeGrowLimit updates the BeforeGrowLimit field in the record's packed storage.

func (*JustWidthDeltaEntry) SetBeforeShrinkLimit

func (s *JustWidthDeltaEntry) SetBeforeShrinkLimit(v int32)

SetBeforeShrinkLimit updates the BeforeShrinkLimit field in the record's packed storage.

func (*JustWidthDeltaEntry) SetGrowFlags

func (s *JustWidthDeltaEntry) SetGrowFlags(v JustificationFlags)

SetGrowFlags updates the GrowFlags field in the record's packed storage.

func (*JustWidthDeltaEntry) SetJustClass

func (s *JustWidthDeltaEntry) SetJustClass(v uint32)

SetJustClass updates the JustClass field in the record's packed storage.

func (*JustWidthDeltaEntry) SetShrinkFlags

func (s *JustWidthDeltaEntry) SetShrinkFlags(v JustificationFlags)

SetShrinkFlags updates the ShrinkFlags field in the record's packed storage.

func (*JustWidthDeltaEntry) ShrinkFlags

func (s *JustWidthDeltaEntry) ShrinkFlags() JustificationFlags

ShrinkFlags returns the ShrinkFlags field from the record's packed storage.

type JustWidthDeltaGroup

type JustWidthDeltaGroup struct {
	// contains filtered or unexported fields
}

JustWidthDeltaGroup

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/JustWidthDeltaGroup

func (*JustWidthDeltaGroup) Count

func (s *JustWidthDeltaGroup) Count() uint32

Count returns the Count field from the record's packed storage.

func (*JustWidthDeltaGroup) Entries

func (s *JustWidthDeltaGroup) Entries() [1]JustWidthDeltaEntry

Entries returns the Entries field from the record's packed storage.

func (*JustWidthDeltaGroup) SetCount

func (s *JustWidthDeltaGroup) SetCount(v uint32)

SetCount updates the Count field in the record's packed storage.

func (*JustWidthDeltaGroup) SetEntries

func (s *JustWidthDeltaGroup) SetEntries(v [1]JustWidthDeltaEntry)

SetEntries updates the Entries field in the record's packed storage.

type KAllTypeFeatures

type KAllTypeFeatures uint32
const (
	KAllTypeFeaturesOffSelector KAllTypeFeatures = 1
	KAllTypeFeaturesOnSelector  KAllTypeFeatures = 0
)

func (KAllTypeFeatures) String

func (e KAllTypeFeatures) String() string

type KAllTypographicFeaturesType

type KAllTypographicFeaturesType int32
const (
	KAllTypographicFeaturesTypeValue KAllTypographicFeaturesType = 0
	KAlternateKanaType               KAllTypographicFeaturesType = 34
	KAnnotationType                  KAllTypographicFeaturesType = 24
	KCJKRomanSpacingType             KAllTypographicFeaturesType = 103
	KCJKSymbolAlternativesType       KAllTypographicFeaturesType = 29
	KCJKVerticalRomanPlacementType   KAllTypographicFeaturesType = 31
	KCaseSensitiveLayoutType         KAllTypographicFeaturesType = 33
	KCharacterAlternativesType       KAllTypographicFeaturesType = 17
	KCharacterShapeType              KAllTypographicFeaturesType = 20
	KContextualAlternatesType        KAllTypographicFeaturesType = 36
	KCursiveConnectionType           KAllTypographicFeaturesType = 2
	KDesignComplexityType            KAllTypographicFeaturesType = 18
	KDiacriticsType                  KAllTypographicFeaturesType = 9
	KFractionsType                   KAllTypographicFeaturesType = 11
	KIdeographicAlternativesType     KAllTypographicFeaturesType = 30
	KIdeographicSpacingType          KAllTypographicFeaturesType = 26
	KItalicCJKRomanType              KAllTypographicFeaturesType = 32
	KKanaSpacingType                 KAllTypographicFeaturesType = 25
	KLanguageTagType                 KAllTypographicFeaturesType = 39
	KLastFeatureType                 KAllTypographicFeaturesType = -1
	KLetterCaseType                  KAllTypographicFeaturesType = 3
	KLigaturesType                   KAllTypographicFeaturesType = 1
	KLinguisticRearrangementType     KAllTypographicFeaturesType = 5
	KLowerCaseType                   KAllTypographicFeaturesType = 37
	KMathematicalExtrasType          KAllTypographicFeaturesType = 15
	KNumberCaseType                  KAllTypographicFeaturesType = 21
	KNumberSpacingType               KAllTypographicFeaturesType = 6
	KOrnamentSetsType                KAllTypographicFeaturesType = 16
	KOverlappingCharactersType       KAllTypographicFeaturesType = 13
	KRubyKanaType                    KAllTypographicFeaturesType = 28
	KSmartSwashType                  KAllTypographicFeaturesType = 8
	KStyleOptionsType                KAllTypographicFeaturesType = 19
	KStylisticAlternativesType       KAllTypographicFeaturesType = 35
	KTextSpacingType                 KAllTypographicFeaturesType = 22
	KTransliterationType             KAllTypographicFeaturesType = 23
	KTypographicExtrasType           KAllTypographicFeaturesType = 14
	KUnicodeDecompositionType        KAllTypographicFeaturesType = 27
	KUpperCaseType                   KAllTypographicFeaturesType = 38
	KVerticalPositionType            KAllTypographicFeaturesType = 10
	KVerticalSubstitutionType        KAllTypographicFeaturesType = 4
)

func (KAllTypographicFeaturesType) String

type KAlternate

type KAlternate uint32
const (
	KAlternateHorizKanaOffSelector KAlternate = 1
	KAlternateHorizKanaOnSelector  KAlternate = 0
	KAlternateVertKanaOffSelector  KAlternate = 3
	KAlternateVertKanaOnSelector   KAlternate = 2
)

func (KAlternate) String

func (e KAlternate) String() string

type KBSLNRomanBaseline

type KBSLNRomanBaseline uint32
const (
	KBSLNHangingBaseline           KBSLNRomanBaseline = 3
	KBSLNIdeographicCenterBaseline KBSLNRomanBaseline = 1
	KBSLNIdeographicHighBaseline   KBSLNRomanBaseline = 5
	KBSLNIdeographicLowBaseline    KBSLNRomanBaseline = 2
	KBSLNLastBaseline              KBSLNRomanBaseline = 31
	KBSLNMathBaseline              KBSLNRomanBaseline = 4
	KBSLNNoBaseline                KBSLNRomanBaseline = 255
	KBSLNNoBaselineOverride        KBSLNRomanBaseline = 255
	KBSLNNumBaselineClasses        KBSLNRomanBaseline = 32
	KBSLNRomanBaselineValue        KBSLNRomanBaseline = 0
)

func (KBSLNRomanBaseline) String

func (e KBSLNRomanBaseline) String() string

type KBSLNTag

type KBSLNTag uint32
const (
	KBSLNControlPointFormatNoMap   KBSLNTag = 2
	KBSLNControlPointFormatWithMap KBSLNTag = 3
	KBSLNCurrentVersion            KBSLNTag = 0x10000
	KBSLNDistanceFormatNoMap       KBSLNTag = 0
	KBSLNDistanceFormatWithMap     KBSLNTag = 1
	KBSLNTagValue                  KBSLNTag = 0x62736c6e
)

func (KBSLNTag) String

func (e KBSLNTag) String() string

type KCJKVerticalRoman

type KCJKVerticalRoman uint32
const (
	KCJKVerticalRomanCenteredSelector  KCJKVerticalRoman = 0
	KCJKVerticalRomanHBaselineSelector KCJKVerticalRoman = 1
)

func (KCJKVerticalRoman) String

func (e KCJKVerticalRoman) String() string

type KCTFontPriority

type KCTFontPriority uint32
const (
	// KCTFontPriorityComputer: Priority of computer local fonts.
	KCTFontPriorityComputer KCTFontPriority = 30000
	// KCTFontPriorityDynamic: Priority of fonts registered dynamically, not located in a standard location.
	KCTFontPriorityDynamic KCTFontPriority = 50000
	// KCTFontPriorityNetwork: Priority of network fonts.
	KCTFontPriorityNetwork KCTFontPriority = 20000
	// KCTFontPriorityProcess: Priority of fonts registered for the process.
	KCTFontPriorityProcess KCTFontPriority = 60000
	// KCTFontPrioritySystem: Priority of system fonts.
	KCTFontPrioritySystem KCTFontPriority = 10000
	// KCTFontPriorityUser: Priority of local fonts.
	KCTFontPriorityUser KCTFontPriority = 40000
)

func (KCTFontPriority) String

func (e KCTFontPriority) String() string

type KCTFontTable

type KCTFontTable uint32
const (
	// KCTFontTableAcnt: # Discussion
	KCTFontTableAcnt KCTFontTable = 'a'<<24 | 'c'<<16 | 'n'<<8 | 't' // 'acnt'
	KCTFontTableAnkr KCTFontTable = 'a'<<24 | 'n'<<16 | 'k'<<8 | 'r' // 'ankr'
	// KCTFontTableAvar: # Discussion
	KCTFontTableAvar KCTFontTable = 'a'<<24 | 'v'<<16 | 'a'<<8 | 'r' // 'avar'
	// KCTFontTableBASE: # Discussion
	KCTFontTableBASE KCTFontTable = 'B'<<24 | 'A'<<16 | 'S'<<8 | 'E' // 'BASE'
	// KCTFontTableBdat: # Discussion
	KCTFontTableBdat KCTFontTable = 'b'<<24 | 'd'<<16 | 'a'<<8 | 't' // 'bdat'
	// KCTFontTableBhed: # Discussion
	KCTFontTableBhed KCTFontTable = 'b'<<24 | 'h'<<16 | 'e'<<8 | 'd' // 'bhed'
	// KCTFontTableBloc: # Discussion
	KCTFontTableBloc KCTFontTable = 'b'<<24 | 'l'<<16 | 'o'<<8 | 'c' // 'bloc'
	// KCTFontTableBsln: # Discussion
	KCTFontTableBsln KCTFontTable = 'b'<<24 | 's'<<16 | 'l'<<8 | 'n' // 'bsln'
	KCTFontTableCBDT KCTFontTable = 'C'<<24 | 'B'<<16 | 'D'<<8 | 'T' // 'CBDT'
	KCTFontTableCBLC KCTFontTable = 'C'<<24 | 'B'<<16 | 'L'<<8 | 'C' // 'CBLC'
	// KCTFontTableCFF: # Discussion
	KCTFontTableCFF  KCTFontTable = 'C'<<24 | 'F'<<16 | 'F'<<8 | ' ' // 'CFF '
	KCTFontTableCFF2 KCTFontTable = 'C'<<24 | 'F'<<16 | 'F'<<8 | '2' // 'CFF2'
	KCTFontTableCOLR KCTFontTable = 'C'<<24 | 'O'<<16 | 'L'<<8 | 'R' // 'COLR'
	KCTFontTableCPAL KCTFontTable = 'C'<<24 | 'P'<<16 | 'A'<<8 | 'L' // 'CPAL'
	KCTFontTableCidg KCTFontTable = 'c'<<24 | 'i'<<16 | 'd'<<8 | 'g' // 'cidg'
	// KCTFontTableCmap: # Discussion
	KCTFontTableCmap KCTFontTable = 'c'<<24 | 'm'<<16 | 'a'<<8 | 'p' // 'cmap'
	// KCTFontTableCvar: # Discussion
	KCTFontTableCvar KCTFontTable = 'c'<<24 | 'v'<<16 | 'a'<<8 | 'r' // 'cvar'
	// KCTFontTableCvt: # Discussion
	KCTFontTableCvt KCTFontTable = 'c'<<24 | 'v'<<16 | 't'<<8 | ' ' // 'cvt '
	// KCTFontTableDSIG: # Discussion
	KCTFontTableDSIG KCTFontTable = 'D'<<24 | 'S'<<16 | 'I'<<8 | 'G' // 'DSIG'
	// KCTFontTableEBDT: # Discussion
	KCTFontTableEBDT KCTFontTable = 'E'<<24 | 'B'<<16 | 'D'<<8 | 'T' // 'EBDT'
	// KCTFontTableEBLC: # Discussion
	KCTFontTableEBLC KCTFontTable = 'E'<<24 | 'B'<<16 | 'L'<<8 | 'C' // 'EBLC'
	// KCTFontTableEBSC: # Discussion
	KCTFontTableEBSC KCTFontTable = 'E'<<24 | 'B'<<16 | 'S'<<8 | 'C' // 'EBSC'
	// KCTFontTableFdsc: # Discussion
	KCTFontTableFdsc KCTFontTable = 'f'<<24 | 'd'<<16 | 's'<<8 | 'c' // 'fdsc'
	// KCTFontTableFeat: # Discussion
	KCTFontTableFeat KCTFontTable = 'f'<<24 | 'e'<<16 | 'a'<<8 | 't' // 'feat'
	// KCTFontTableFmtx: # Discussion
	KCTFontTableFmtx KCTFontTable = 'f'<<24 | 'm'<<16 | 't'<<8 | 'x' // 'fmtx'
	KCTFontTableFond KCTFontTable = 'f'<<24 | 'o'<<16 | 'n'<<8 | 'd' // 'fond'
	// KCTFontTableFpgm: # Discussion
	KCTFontTableFpgm KCTFontTable = 'f'<<24 | 'p'<<16 | 'g'<<8 | 'm' // 'fpgm'
	// KCTFontTableFvar: # Discussion
	KCTFontTableFvar KCTFontTable = 'f'<<24 | 'v'<<16 | 'a'<<8 | 'r' // 'fvar'
	// KCTFontTableGDEF: # Discussion
	KCTFontTableGDEF KCTFontTable = 'G'<<24 | 'D'<<16 | 'E'<<8 | 'F' // 'GDEF'
	// KCTFontTableGPOS: # Discussion
	KCTFontTableGPOS KCTFontTable = 'G'<<24 | 'P'<<16 | 'O'<<8 | 'S' // 'GPOS'
	// KCTFontTableGSUB: # Discussion
	KCTFontTableGSUB KCTFontTable = 'G'<<24 | 'S'<<16 | 'U'<<8 | 'B' // 'GSUB'
	// KCTFontTableGasp: # Discussion
	KCTFontTableGasp KCTFontTable = 'g'<<24 | 'a'<<16 | 's'<<8 | 'p' // 'gasp'
	// KCTFontTableGlyf: # Discussion
	KCTFontTableGlyf KCTFontTable = 'g'<<24 | 'l'<<16 | 'y'<<8 | 'f' // 'glyf'
	// KCTFontTableGvar: # Discussion
	KCTFontTableGvar KCTFontTable = 'g'<<24 | 'v'<<16 | 'a'<<8 | 'r' // 'gvar'
	KCTFontTableHVAR KCTFontTable = 'H'<<24 | 'V'<<16 | 'A'<<8 | 'R' // 'HVAR'
	// KCTFontTableHdmx: # Discussion
	KCTFontTableHdmx KCTFontTable = 'h'<<24 | 'd'<<16 | 'm'<<8 | 'x' // 'hdmx'
	// KCTFontTableHead: # Discussion
	KCTFontTableHead KCTFontTable = 'h'<<24 | 'e'<<16 | 'a'<<8 | 'd' // 'head'
	// KCTFontTableHhea: # Discussion
	KCTFontTableHhea KCTFontTable = 'h'<<24 | 'h'<<16 | 'e'<<8 | 'a' // 'hhea'
	// KCTFontTableHmtx: # Discussion
	KCTFontTableHmtx KCTFontTable = 'h'<<24 | 'm'<<16 | 't'<<8 | 'x' // 'hmtx'
	// KCTFontTableHsty: # Discussion
	KCTFontTableHsty KCTFontTable = 'h'<<24 | 's'<<16 | 't'<<8 | 'y' // 'hsty'
	// KCTFontTableJSTF: # Discussion
	KCTFontTableJSTF KCTFontTable = 'J'<<24 | 'S'<<16 | 'T'<<8 | 'F' // 'JSTF'
	// KCTFontTableJust: # Discussion
	KCTFontTableJust KCTFontTable = 'j'<<24 | 'u'<<16 | 's'<<8 | 't' // 'just'
	// KCTFontTableKern: # Discussion
	KCTFontTableKern KCTFontTable = 'k'<<24 | 'e'<<16 | 'r'<<8 | 'n' // 'kern'
	// KCTFontTableKerx: # Discussion
	KCTFontTableKerx KCTFontTable = 'k'<<24 | 'e'<<16 | 'r'<<8 | 'x' // 'kerx'
	// KCTFontTableLTSH: # Discussion
	KCTFontTableLTSH KCTFontTable = 'L'<<24 | 'T'<<16 | 'S'<<8 | 'H' // 'LTSH'
	// KCTFontTableLcar: # Discussion
	KCTFontTableLcar KCTFontTable = 'l'<<24 | 'c'<<16 | 'a'<<8 | 'r' // 'lcar'
	// KCTFontTableLoca: # Discussion
	KCTFontTableLoca KCTFontTable = 'l'<<24 | 'o'<<16 | 'c'<<8 | 'a' // 'loca'
	KCTFontTableLtag KCTFontTable = 'l'<<24 | 't'<<16 | 'a'<<8 | 'g' // 'ltag'
	KCTFontTableMATH KCTFontTable = 'M'<<24 | 'A'<<16 | 'T'<<8 | 'H' // 'MATH'
	KCTFontTableMERG KCTFontTable = 'M'<<24 | 'E'<<16 | 'R'<<8 | 'G' // 'MERG'
	KCTFontTableMVAR KCTFontTable = 'M'<<24 | 'V'<<16 | 'A'<<8 | 'R' // 'MVAR'
	// KCTFontTableMaxp: # Discussion
	KCTFontTableMaxp KCTFontTable = 'm'<<24 | 'a'<<16 | 'x'<<8 | 'p' // 'maxp'
	KCTFontTableMeta KCTFontTable = 'm'<<24 | 'e'<<16 | 't'<<8 | 'a' // 'meta'
	// KCTFontTableMort: # Discussion
	KCTFontTableMort KCTFontTable = 'm'<<24 | 'o'<<16 | 'r'<<8 | 't' // 'mort'
	// KCTFontTableMorx: # Discussion
	KCTFontTableMorx KCTFontTable = 'm'<<24 | 'o'<<16 | 'r'<<8 | 'x' // 'morx'
	// KCTFontTableName: # Discussion
	KCTFontTableName KCTFontTable = 'n'<<24 | 'a'<<16 | 'm'<<8 | 'e' // 'name'
	// KCTFontTableOS2: # Discussion
	KCTFontTableOS2 KCTFontTable = 'O'<<24 | 'S'<<16 | '/'<<8 | '2' // 'OS/2'
	// KCTFontTableOpbd: # Discussion
	KCTFontTableOpbd KCTFontTable = 'o'<<24 | 'p'<<16 | 'b'<<8 | 'd' // 'opbd'
	// KCTFontTablePCLT: # Discussion
	KCTFontTablePCLT KCTFontTable = 'P'<<24 | 'C'<<16 | 'L'<<8 | 'T' // 'PCLT'
	// KCTFontTablePost: # Discussion
	KCTFontTablePost KCTFontTable = 'p'<<24 | 'o'<<16 | 's'<<8 | 't' // 'post'
	// KCTFontTablePrep: # Discussion
	KCTFontTablePrep KCTFontTable = 'p'<<24 | 'r'<<16 | 'e'<<8 | 'p' // 'prep'
	// KCTFontTableProp: # Discussion
	KCTFontTableProp KCTFontTable = 'p'<<24 | 'r'<<16 | 'o'<<8 | 'p' // 'prop'
	KCTFontTableSTAT KCTFontTable = 'S'<<24 | 'T'<<16 | 'A'<<8 | 'T' // 'STAT'
	KCTFontTableSVG  KCTFontTable = 'S'<<24 | 'V'<<16 | 'G'<<8 | ' ' // 'SVG '
	// KCTFontTableSbit: Font table tag for bitmap data.
	KCTFontTableSbit KCTFontTable = 's'<<24 | 'b'<<16 | 'i'<<8 | 't' // 'sbit'
	// KCTFontTableSbix: Font table tag for extended bitmap data.
	KCTFontTableSbix KCTFontTable = 's'<<24 | 'b'<<16 | 'i'<<8 | 'x' // 'sbix'
	// KCTFontTableTrak: # Discussion
	KCTFontTableTrak KCTFontTable = 't'<<24 | 'r'<<16 | 'a'<<8 | 'k' // 'trak'
	// KCTFontTableVDMX: # Discussion
	KCTFontTableVDMX KCTFontTable = 'V'<<24 | 'D'<<16 | 'M'<<8 | 'X' // 'VDMX'
	// KCTFontTableVORG: # Discussion
	KCTFontTableVORG KCTFontTable = 'V'<<24 | 'O'<<16 | 'R'<<8 | 'G' // 'VORG'
	KCTFontTableVVAR KCTFontTable = 'V'<<24 | 'V'<<16 | 'A'<<8 | 'R' // 'VVAR'
	// KCTFontTableVhea: # Discussion
	KCTFontTableVhea KCTFontTable = 'v'<<24 | 'h'<<16 | 'e'<<8 | 'a' // 'vhea'
	// KCTFontTableVmtx: # Discussion
	KCTFontTableVmtx KCTFontTable = 'v'<<24 | 'm'<<16 | 't'<<8 | 'x' // 'vmtx'
	KCTFontTableXref KCTFontTable = 'x'<<24 | 'r'<<16 | 'e'<<8 | 'f' // 'xref'
	// KCTFontTableZapf: # Discussion
	KCTFontTableZapf KCTFontTable = 'Z'<<24 | 'a'<<16 | 'p'<<8 | 'f' // 'Zapf'
)

func (KCTFontTable) String

func (e KCTFontTable) String() string

type KCTRunDelegate

type KCTRunDelegate uint32
const (
	// KCTRunDelegateCurrentVersion: The current version of the run delegate.
	KCTRunDelegateCurrentVersion KCTRunDelegate = 1
	// KCTRunDelegateVersion1: Version 1 of the run delegate.
	KCTRunDelegateVersion1 KCTRunDelegate = 1
)

func (KCTRunDelegate) String

func (e KCTRunDelegate) String() string

type KCTWritingDirection

type KCTWritingDirection uint32
const (
	KCTWritingDirectionEmbedding KCTWritingDirection = 0
	KCTWritingDirectionOverride  KCTWritingDirection = 2
)

func (KCTWritingDirection) String

func (e KCTWritingDirection) String() string

type KCanonicalCompositionOnSelector

type KCanonicalCompositionOnSelector uint32
const (
	KCanonicalCompositionOffSelector     KCanonicalCompositionOnSelector = 1
	KCanonicalCompositionOnSelectorValue KCanonicalCompositionOnSelector = 0
	KCompatibilityCompositionOffSelector KCanonicalCompositionOnSelector = 3
	KCompatibilityCompositionOnSelector  KCanonicalCompositionOnSelector = 2
	KTranscodingCompositionOffSelector   KCanonicalCompositionOnSelector = 5
	KTranscodingCompositionOnSelector    KCanonicalCompositionOnSelector = 4
)

func (KCanonicalCompositionOnSelector) String

type KCaseSensitive

type KCaseSensitive uint32
const (
	KCaseSensitiveLayoutOffSelector  KCaseSensitive = 1
	KCaseSensitiveLayoutOnSelector   KCaseSensitive = 0
	KCaseSensitiveSpacingOffSelector KCaseSensitive = 3
	KCaseSensitiveSpacingOnSelector  KCaseSensitive = 2
)

func (KCaseSensitive) String

func (e KCaseSensitive) String() string

type KContextualAlternatesOnSelector

type KContextualAlternatesOnSelector uint32
const (
	KContextualAlternatesOffSelector      KContextualAlternatesOnSelector = 1
	KContextualAlternatesOnSelectorValue  KContextualAlternatesOnSelector = 0
	KContextualSwashAlternatesOffSelector KContextualAlternatesOnSelector = 5
	KContextualSwashAlternatesOnSelector  KContextualAlternatesOnSelector = 4
	KSwashAlternatesOffSelector           KContextualAlternatesOnSelector = 3
	KSwashAlternatesOnSelector            KContextualAlternatesOnSelector = 2
)

func (KContextualAlternatesOnSelector) String

type KDefaultLowerCaseSelector

type KDefaultLowerCaseSelector uint32
const (
	KDefaultLowerCaseSelectorValue KDefaultLowerCaseSelector = 0
	KLowerCasePetiteCapsSelector   KDefaultLowerCaseSelector = 2
	KLowerCaseSmallCapsSelector    KDefaultLowerCaseSelector = 1
)

func (KDefaultLowerCaseSelector) String

func (e KDefaultLowerCaseSelector) String() string

type KDefaultUpperCaseSelector

type KDefaultUpperCaseSelector uint32
const (
	KDefaultUpperCaseSelectorValue KDefaultUpperCaseSelector = 0
	KUpperCasePetiteCapsSelector   KDefaultUpperCaseSelector = 2
	KUpperCaseSmallCapsSelector    KDefaultUpperCaseSelector = 1
)

func (KDefaultUpperCaseSelector) String

func (e KDefaultUpperCaseSelector) String() string

type KDesign

type KDesign uint32
const (
	KDesignLevel1Selector KDesign = 0
	KDesignLevel2Selector KDesign = 1
	KDesignLevel3Selector KDesign = 2
	KDesignLevel4Selector KDesign = 3
	KDesignLevel5Selector KDesign = 4
)

func (KDesign) String

func (e KDesign) String() string

type KFontCopyrightName

type KFontCopyrightName uint32
const (
	KFontCopyrightNameValue     KFontCopyrightName = 0
	KFontDescriptionName        KFontCopyrightName = 10
	KFontDesignerName           KFontCopyrightName = 9
	KFontDesignerURLName        KFontCopyrightName = 12
	KFontFamilyName             KFontCopyrightName = 1
	KFontFullName               KFontCopyrightName = 4
	KFontLastReservedName       KFontCopyrightName = 255
	KFontLicenseDescriptionName KFontCopyrightName = 13
	KFontLicenseInfoURLName     KFontCopyrightName = 14
	KFontMacCompatibleFullName  KFontCopyrightName = 18
	KFontManufacturerName       KFontCopyrightName = 8
	KFontPostScriptCIDName      KFontCopyrightName = 20
	KFontPostscriptName         KFontCopyrightName = 6
	KFontPreferredFamilyName    KFontCopyrightName = 16
	KFontPreferredSubfamilyName KFontCopyrightName = 17
	KFontSampleTextName         KFontCopyrightName = 19
	KFontStyleName              KFontCopyrightName = 2
	KFontTrademarkName          KFontCopyrightName = 7
	KFontUniqueName             KFontCopyrightName = 3
	KFontVendorURLName          KFontCopyrightName = 11
	KFontVersionName            KFontCopyrightName = 5
)

func (KFontCopyrightName) String

func (e KFontCopyrightName) String() string

type KFontCustom8BitScript

type KFontCustom8BitScript uint32
const (
	KFontCustom16BitScript     KFontCustom8BitScript = 2
	KFontCustom816BitScript    KFontCustom8BitScript = 1
	KFontCustom8BitScriptValue KFontCustom8BitScript = 0
)

func (KFontCustom8BitScript) String

func (e KFontCustom8BitScript) String() string

type KFontEnglishLanguage

type KFontEnglishLanguage uint32
const (
	KFontAlbanianLanguage     KFontEnglishLanguage = 36
	KFontAmharicLanguage      KFontEnglishLanguage = 85
	KFontArabicLanguage       KFontEnglishLanguage = 12
	KFontArmenianLanguage     KFontEnglishLanguage = 51
	KFontAssameseLanguage     KFontEnglishLanguage = 68
	KFontAymaraLanguage       KFontEnglishLanguage = 134
	KFontAzerbaijanArLanguage KFontEnglishLanguage = 50
	KFontAzerbaijaniLanguage  KFontEnglishLanguage = 49
	KFontBasqueLanguage       KFontEnglishLanguage = 129
	KFontBengaliLanguage      KFontEnglishLanguage = 67
	KFontBulgarianLanguage    KFontEnglishLanguage = 44
	KFontBurmeseLanguage      KFontEnglishLanguage = 77
	KFontByelorussianLanguage KFontEnglishLanguage = 46
	KFontCatalanLanguage      KFontEnglishLanguage = 130
	KFontChewaLanguage        KFontEnglishLanguage = 92
	KFontCroatianLanguage     KFontEnglishLanguage = 18
	KFontCzechLanguage        KFontEnglishLanguage = 38
	KFontDanishLanguage       KFontEnglishLanguage = 7
	KFontDutchLanguage        KFontEnglishLanguage = 4
	KFontDzongkhaLanguage     KFontEnglishLanguage = 137
	KFontEnglishLanguageValue KFontEnglishLanguage = 0
	KFontEsperantoLanguage    KFontEnglishLanguage = 94
	KFontEstonianLanguage     KFontEnglishLanguage = 27
	KFontFaeroeseLanguage     KFontEnglishLanguage = 30
	KFontFarsiLanguage        KFontEnglishLanguage = 31
	KFontFinnishLanguage      KFontEnglishLanguage = 13
	KFontFlemishLanguage      KFontEnglishLanguage = 34
	KFontFrenchLanguage       KFontEnglishLanguage = 1
	KFontGallaLanguage        KFontEnglishLanguage = 87
	KFontGeorgianLanguage     KFontEnglishLanguage = 52
	KFontGermanLanguage       KFontEnglishLanguage = 2
	KFontGreekLanguage        KFontEnglishLanguage = 14
	KFontGuaraniLanguage      KFontEnglishLanguage = 133
	KFontGujaratiLanguage     KFontEnglishLanguage = 69
	KFontHebrewLanguage       KFontEnglishLanguage = 10
	KFontHindiLanguage        KFontEnglishLanguage = 21
	KFontHungarianLanguage    KFontEnglishLanguage = 26
	KFontIcelandicLanguage    KFontEnglishLanguage = 15
	KFontIndonesianLanguage   KFontEnglishLanguage = 81
	KFontIrishLanguage        KFontEnglishLanguage = 35
	KFontItalianLanguage      KFontEnglishLanguage = 3
	KFontJapaneseLanguage     KFontEnglishLanguage = 11
	KFontJavaneseRomLanguage  KFontEnglishLanguage = 138
	KFontKannadaLanguage      KFontEnglishLanguage = 73
	KFontKashmiriLanguage     KFontEnglishLanguage = 61
	KFontKazakhLanguage       KFontEnglishLanguage = 48
	KFontKhmerLanguage        KFontEnglishLanguage = 78
	KFontKirghizLanguage      KFontEnglishLanguage = 54
	KFontKoreanLanguage       KFontEnglishLanguage = 23
	KFontKurdishLanguage      KFontEnglishLanguage = 60
	KFontLaoLanguage          KFontEnglishLanguage = 79
	KFontLappishLanguage      KFontEnglishLanguage = 29
	KFontLatinLanguage        KFontEnglishLanguage = 131
	KFontLatvianLanguage      KFontEnglishLanguage = 28
	KFontLettishLanguage      KFontEnglishLanguage = 28
	KFontLithuanianLanguage   KFontEnglishLanguage = 24
	KFontMacedonianLanguage   KFontEnglishLanguage = 43
	KFontMalagasyLanguage     KFontEnglishLanguage = 93
	KFontMalayArabicLanguage  KFontEnglishLanguage = 84
	KFontMalayRomanLanguage   KFontEnglishLanguage = 83
	KFontMalayalamLanguage    KFontEnglishLanguage = 72
	KFontMalteseLanguage      KFontEnglishLanguage = 16
	KFontMarathiLanguage      KFontEnglishLanguage = 66
	KFontMoldavianLanguage    KFontEnglishLanguage = 53
	KFontMongolianCyrLanguage KFontEnglishLanguage = 58
	KFontMongolianLanguage    KFontEnglishLanguage = 57
	KFontNepaliLanguage       KFontEnglishLanguage = 64
	KFontNorwegianLanguage    KFontEnglishLanguage = 9
	KFontOriyaLanguage        KFontEnglishLanguage = 71
	KFontOromoLanguage        KFontEnglishLanguage = 87
	KFontPashtoLanguage       KFontEnglishLanguage = 59
	KFontPersianLanguage      KFontEnglishLanguage = 31
	KFontPolishLanguage       KFontEnglishLanguage = 25
	KFontPortugueseLanguage   KFontEnglishLanguage = 8
	KFontPunjabiLanguage      KFontEnglishLanguage = 70
	KFontQuechuaLanguage      KFontEnglishLanguage = 132
	KFontRomanianLanguage     KFontEnglishLanguage = 37
	KFontRuandaLanguage       KFontEnglishLanguage = 90
	KFontRundiLanguage        KFontEnglishLanguage = 91
	KFontRussianLanguage      KFontEnglishLanguage = 32
	KFontSaamiskLanguage      KFontEnglishLanguage = 29
	KFontSanskritLanguage     KFontEnglishLanguage = 65
	KFontSerbianLanguage      KFontEnglishLanguage = 42
	KFontSimpChineseLanguage  KFontEnglishLanguage = 33
	KFontSindhiLanguage       KFontEnglishLanguage = 62
	KFontSinhaleseLanguage    KFontEnglishLanguage = 76
	KFontSlovakLanguage       KFontEnglishLanguage = 39
	KFontSlovenianLanguage    KFontEnglishLanguage = 40
	KFontSomaliLanguage       KFontEnglishLanguage = 88
	KFontSpanishLanguage      KFontEnglishLanguage = 6
	KFontSundaneseRomLanguage KFontEnglishLanguage = 139
	KFontSwahiliLanguage      KFontEnglishLanguage = 89
	KFontSwedishLanguage      KFontEnglishLanguage = 5
	KFontTagalogLanguage      KFontEnglishLanguage = 82
	KFontTajikiLanguage       KFontEnglishLanguage = 55
	KFontTamilLanguage        KFontEnglishLanguage = 74
	KFontTatarLanguage        KFontEnglishLanguage = 135
	KFontTeluguLanguage       KFontEnglishLanguage = 75
	KFontThaiLanguage         KFontEnglishLanguage = 22
	KFontTibetanLanguage      KFontEnglishLanguage = 63
	KFontTigrinyaLanguage     KFontEnglishLanguage = 86
	KFontTradChineseLanguage  KFontEnglishLanguage = 19
	KFontTurkishLanguage      KFontEnglishLanguage = 17
	KFontTurkmenLanguage      KFontEnglishLanguage = 56
	KFontUighurLanguage       KFontEnglishLanguage = 136
	KFontUkrainianLanguage    KFontEnglishLanguage = 45
	KFontUrduLanguage         KFontEnglishLanguage = 20
	KFontUzbekLanguage        KFontEnglishLanguage = 47
	KFontVietnameseLanguage   KFontEnglishLanguage = 80
	KFontWelshLanguage        KFontEnglishLanguage = 128
	KFontYiddishLanguage      KFontEnglishLanguage = 41
)

func (KFontEnglishLanguage) String

func (e KFontEnglishLanguage) String() string

type KFontMicrosoft

type KFontMicrosoft uint32
const (
	KFontMicrosoftStandardScript KFontMicrosoft = 1
	KFontMicrosoftSymbolScript   KFontMicrosoft = 0
	KFontMicrosoftUCS4Script     KFontMicrosoft = 10
)

func (KFontMicrosoft) String

func (e KFontMicrosoft) String() string

type KFontNo

type KFontNo uint32
const (
	KFontNoLanguageCode KFontNo = 4294967295
	KFontNoPlatformCode KFontNo = 4294967295
	KFontNoScriptCode   KFontNo = 4294967295
)

func (KFontNo) String

func (e KFontNo) String() string

type KFontRomanScript

type KFontRomanScript uint32
const (
	KFontAmharicScript            KFontRomanScript = 28
	KFontArabicScript             KFontRomanScript = 4
	KFontArmenianScript           KFontRomanScript = 24
	KFontBengaliScript            KFontRomanScript = 13
	KFontBurmeseScript            KFontRomanScript = 19
	KFontChineseScript            KFontRomanScript = 2
	KFontCyrillicScript           KFontRomanScript = 7
	KFontDevanagariScript         KFontRomanScript = 9
	KFontEastEuropeanRomanScript  KFontRomanScript = 29
	KFontEthiopicScript           KFontRomanScript = 28
	KFontExtendedArabicScript     KFontRomanScript = 31
	KFontGeezScript               KFontRomanScript = 28
	KFontGeorgianScript           KFontRomanScript = 23
	KFontGreekScript              KFontRomanScript = 6
	KFontGujaratiScript           KFontRomanScript = 11
	KFontGurmukhiScript           KFontRomanScript = 10
	KFontHebrewScript             KFontRomanScript = 5
	KFontJapaneseScript           KFontRomanScript = 1
	KFontKannadaScript            KFontRomanScript = 16
	KFontKhmerScript              KFontRomanScript = 20
	KFontKoreanScript             KFontRomanScript = 3
	KFontLaotianScript            KFontRomanScript = 22
	KFontMalayalamScript          KFontRomanScript = 17
	KFontMongolianScript          KFontRomanScript = 27
	KFontOriyaScript              KFontRomanScript = 12
	KFontRSymbolScript            KFontRomanScript = 8
	KFontRomanScriptValue         KFontRomanScript = 0
	KFontRussian                  KFontRomanScript = 7
	KFontSimpleChineseScript      KFontRomanScript = 25
	KFontSindhiScript             KFontRomanScript = 31
	KFontSinhaleseScript          KFontRomanScript = 18
	KFontSlavicScript             KFontRomanScript = 29
	KFontTamilScript              KFontRomanScript = 14
	KFontTeluguScript             KFontRomanScript = 15
	KFontThaiScript               KFontRomanScript = 21
	KFontTibetanScript            KFontRomanScript = 26
	KFontTraditionalChineseScript KFontRomanScript = 2
	KFontUninterpretedScript      KFontRomanScript = 32
	KFontVietnameseScript         KFontRomanScript = 30
)

func (KFontRomanScript) String

func (e KFontRomanScript) String() string

type KFontUnicodeDefaultSemantics

type KFontUnicodeDefaultSemantics uint32
const (
	KFontISO10646_1993Semantics                KFontUnicodeDefaultSemantics = 2
	KFontUnicodeDefaultSemanticsValue          KFontUnicodeDefaultSemantics = 0
	KFontUnicodeV1_1Semantics                  KFontUnicodeDefaultSemantics = 1
	KFontUnicodeV2_0BMPOnlySemantics           KFontUnicodeDefaultSemantics = 3
	KFontUnicodeV2_0FullCoverageSemantics      KFontUnicodeDefaultSemantics = 4
	KFontUnicodeV4_0VariationSequenceSemantics KFontUnicodeDefaultSemantics = 5
	KFontUnicode_FullRepertoire                KFontUnicodeDefaultSemantics = 6
)

func (KFontUnicodeDefaultSemantics) String

type KFontUnicodePlatform

type KFontUnicodePlatform uint32
const (
	KFontCustomPlatform       KFontUnicodePlatform = 4
	KFontMacintoshPlatform    KFontUnicodePlatform = 1
	KFontMicrosoftPlatform    KFontUnicodePlatform = 3
	KFontReservedPlatform     KFontUnicodePlatform = 2
	KFontUnicodePlatformValue KFontUnicodePlatform = 0
)

func (KFontUnicodePlatform) String

func (e KFontUnicodePlatform) String() string

type KFullWidthIdeographsSelector

type KFullWidthIdeographsSelector uint32
const (
	KFullWidthIdeographsSelectorValue KFullWidthIdeographsSelector = 0
	KHalfWidthIdeographsSelector      KFullWidthIdeographsSelector = 2
	KProportionalIdeographsSelector   KFullWidthIdeographsSelector = 1
)

func (KFullWidthIdeographsSelector) String

type KFullWidthKanaSelector

type KFullWidthKanaSelector uint32
const (
	KFullWidthKanaSelectorValue KFullWidthKanaSelector = 0
	KProportionalKanaSelector   KFullWidthKanaSelector = 1
)

func (KFullWidthKanaSelector) String

func (e KFullWidthKanaSelector) String() string

type KHalfWidthCJKRomanSelector

type KHalfWidthCJKRomanSelector uint32
const (
	KDefaultCJKRomanSelector        KHalfWidthCJKRomanSelector = 2
	KFullWidthCJKRomanSelector      KHalfWidthCJKRomanSelector = 3
	KHalfWidthCJKRomanSelectorValue KHalfWidthCJKRomanSelector = 0
	KProportionalCJKRomanSelector   KHalfWidthCJKRomanSelector = 1
)

func (KHalfWidthCJKRomanSelector) String

type KHyphenToMinusOnSelector

type KHyphenToMinusOnSelector uint32
const (
	KAsteriskToMultiplyOffSelector  KHyphenToMinusOnSelector = 3
	KAsteriskToMultiplyOnSelector   KHyphenToMinusOnSelector = 2
	KExponentsOffSelector           KHyphenToMinusOnSelector = 9
	KExponentsOnSelector            KHyphenToMinusOnSelector = 8
	KHyphenToMinusOffSelector       KHyphenToMinusOnSelector = 1
	KHyphenToMinusOnSelectorValue   KHyphenToMinusOnSelector = 0
	KInequalityLigaturesOffSelector KHyphenToMinusOnSelector = 7
	KInequalityLigaturesOnSelector  KHyphenToMinusOnSelector = 6
	KMathematicalGreekOffSelector   KHyphenToMinusOnSelector = 11
	KMathematicalGreekOnSelector    KHyphenToMinusOnSelector = 10
	KSlashToDivideOffSelector       KHyphenToMinusOnSelector = 5
	KSlashToDivideOnSelector        KHyphenToMinusOnSelector = 4
)

func (KHyphenToMinusOnSelector) String

func (e KHyphenToMinusOnSelector) String() string

type KHyphensToEmDashOnSelector

type KHyphensToEmDashOnSelector uint32
const (
	KFormInterrobangOffSelector     KHyphensToEmDashOnSelector = 7
	KFormInterrobangOnSelector      KHyphensToEmDashOnSelector = 6
	KHyphenToEnDashOffSelector      KHyphensToEmDashOnSelector = 3
	KHyphenToEnDashOnSelector       KHyphensToEmDashOnSelector = 2
	KHyphensToEmDashOffSelector     KHyphensToEmDashOnSelector = 1
	KHyphensToEmDashOnSelectorValue KHyphensToEmDashOnSelector = 0
	KPeriodsToEllipsisOffSelector   KHyphensToEmDashOnSelector = 11
	KPeriodsToEllipsisOnSelector    KHyphensToEmDashOnSelector = 10
	KSlashedZeroOffSelector         KHyphensToEmDashOnSelector = 5
	KSlashedZeroOnSelector          KHyphensToEmDashOnSelector = 4
	KSmartQuotesOffSelector         KHyphensToEmDashOnSelector = 9
	KSmartQuotesOnSelector          KHyphensToEmDashOnSelector = 8
)

func (KHyphensToEmDashOnSelector) String

type KJUS

type KJUS uint32
const (
	KJUSTCurrentVersion           KJUS = 0x10000
	KJUSTStandardFormat           KJUS = 0
	KJUSTTag                      KJUS = 0x6a757374
	KJUSTnoGlyphcode              KJUS = 0xffff
	KJUSTpcConditionalAddAction   KJUS = 2
	KJUSTpcDecompositionAction    KJUS = 0
	KJUSTpcDuctilityAction        KJUS = 4
	KJUSTpcGlyphRepeatAddAction   KJUS = 5
	KJUSTpcGlyphStretchAction     KJUS = 3
	KJUSTpcUnconditionalAddAction KJUS = 1
)

func (KJUS) String

func (e KJUS) String() string

type KJUSTKashidaPriority

type KJUSTKashidaPriority uint32
const (
	KJUSTKashidaPriorityValue KJUSTKashidaPriority = 0
	KJUSTLetterPriority       KJUSTKashidaPriority = 2
	KJUSTNullPriority         KJUSTKashidaPriority = 3
	KJUSTPriorityCount        KJUSTKashidaPriority = 4
	KJUSTSpacePriority        KJUSTKashidaPriority = 1
)

func (KJUSTKashidaPriority) String

func (e KJUSTKashidaPriority) String() string

type KJUSTOverridePriority

type KJUSTOverridePriority uint32
const (
	KJUSTOverrideLimits        KJUSTOverridePriority = 0x4000
	KJUSTOverridePriorityValue KJUSTOverridePriority = 0x8000
	KJUSTOverrideUnlimited     KJUSTOverridePriority = 0x2000
	KJUSTPriorityMask          KJUSTOverridePriority = 0x3
	KJUSTUnlimited             KJUSTOverridePriority = 0x1000
)

func (KJUSTOverridePriority) String

func (e KJUSTOverridePriority) String() string

type KKERNLineStart

type KKERNLineStart uint32
const (
	KKERNCrossStreamResetNote KKERNLineStart = 2
	KKERNLineEndKerning       KKERNLineStart = 0x2
	KKERNLineStartValue       KKERNLineStart = 0x1
	KKERNNoCrossKerning       KKERNLineStart = 0x4
	KKERNNoStakeNote          KKERNLineStart = 1
	KKERNNotApplied           KKERNLineStart = 0x1
	KKERNNotesRequested       KKERNLineStart = 0x8
)

func (KKERNLineStart) String

func (e KKERNLineStart) String() string

type KKERNOrderedList

type KKERNOrderedList uint32
const (
	KKERNIndexArray       KKERNOrderedList = 3
	KKERNOrderedListValue KKERNOrderedList = 0
	KKERNSimpleArray      KKERNOrderedList = 2
	KKERNStateTable       KKERNOrderedList = 1
)

func (KKERNOrderedList) String

func (e KKERNOrderedList) String() string

type KKERNTag

type KKERNTag uint32
const (
	KKERNCrossStream      KKERNTag = 0x4000
	KKERNCurrentVersion   KKERNTag = 0x10000
	KKERNFormatMask       KKERNTag = 0xff
	KKERNResetCrossStream KKERNTag = 0x8000
	KKERNTagValue         KKERNTag = 0x6b65726e
	KKERNUnusedBits       KKERNTag = 0x1f00
	KKERNVariation        KKERNTag = 0x2000
	KKERNVertical         KKERNTag = 0x8000
)

func (KKERNTag) String

func (e KKERNTag) String() string

type KKERXActionTypeMask

type KKERXActionTypeMask uint32
const (
	KKERXActionOffsetMask        KKERXActionTypeMask = 0xffffff
	KKERXActionTypeAnchorPoints  KKERXActionTypeMask = 1073741824
	KKERXActionTypeControlPoints KKERXActionTypeMask = 0
	KKERXActionTypeCoordinates   KKERXActionTypeMask = 2147483648
	KKERXActionTypeMaskValue     KKERXActionTypeMask = 3221225472
	KKERXUnusedFlags             KKERXActionTypeMask = 0x3f000000
)

func (KKERXActionTypeMask) String

func (e KKERXActionTypeMask) String() string

type KKERXLineStart

type KKERXLineStart uint32
const (
	KKERXCrossStreamResetNote KKERXLineStart = 2
	KKERXLineEndKerning       KKERXLineStart = 0x2
	KKERXLineStartValue       KKERXLineStart = 0x1
	KKERXNoCrossKerning       KKERXLineStart = 0x4
	KKERXNoStakeNote          KKERXLineStart = 1
	KKERXNotApplied           KKERXLineStart = 0x1
	KKERXNotesRequested       KKERXLineStart = 0x8
)

func (KKERXLineStart) String

func (e KKERXLineStart) String() string

type KKERXOrderedList

type KKERXOrderedList uint32
const (
	KKERXControlPoint     KKERXOrderedList = 4
	KKERXIndexArray       KKERXOrderedList = 6
	KKERXOrderedListValue KKERXOrderedList = 0
	KKERXSimpleArray      KKERXOrderedList = 2
	KKERXStateTable       KKERXOrderedList = 1
)

func (KKERXOrderedList) String

func (e KKERXOrderedList) String() string

type KKERXTag

type KKERXTag int32
const (
	KKERXCrossStream      KKERXTag = 0x40000000
	KKERXCurrentVersion   KKERXTag = 0x20000
	KKERXDescending       KKERXTag = 0x10000000
	KKERXFormatMask       KKERXTag = 0xff
	KKERXResetCrossStream KKERXTag = 0x8000
	KKERXTagValue         KKERXTag = 0x6b657278
	KKERXUnusedBits       KKERXTag = 0xfffff00
	KKERXVariation        KKERXTag = 0x20000000
	KKERXVertical         KKERXTag = -2147483648
)

func (KKERXTag) String

func (e KKERXTag) String() string

type KLCAR

type KLCAR uint32
const (
	KLCARCtlPointFormat KLCAR = 1
	KLCARCurrentVersion KLCAR = 0x10000
	KLCARLinearFormat   KLCAR = 0
	KLCARTag            KLCAR = 0x6c636172
)

func (KLCAR) String

func (e KLCAR) String() string

type KLinguisticRearrangement

type KLinguisticRearrangement uint32
const (
	KLinguisticRearrangementOffSelector KLinguisticRearrangement = 1
	KLinguisticRearrangementOnSelector  KLinguisticRearrangement = 0
)

func (KLinguisticRearrangement) String

func (e KLinguisticRearrangement) String() string

type KLowerCaseNumbersSelector

type KLowerCaseNumbersSelector uint32
const (
	KLowerCaseNumbersSelectorValue KLowerCaseNumbersSelector = 0
	KUpperCaseNumbersSelector      KLowerCaseNumbersSelector = 1
)

func (KLowerCaseNumbersSelector) String

func (e KLowerCaseNumbersSelector) String() string

type KMOR

type KMOR int32
const (
	KMORTContextualType          KMOR = 1
	KMORTCoverDescending         KMOR = 0x4000
	KMORTCoverIgnoreVertical     KMOR = 0x2000
	KMORTCoverTypeMask           KMOR = 0xf
	KMORTCoverVertical           KMOR = 0x8000
	KMORTCurrInsertBefore        KMOR = 0x800
	KMORTCurrInsertCountMask     KMOR = 0x3e0
	KMORTCurrInsertCountShift    KMOR = 5
	KMORTCurrInsertKashidaLike   KMOR = 0x2000
	KMORTCurrJustTableCountMask  KMOR = 0x7f
	KMORTCurrJustTableCountShift KMOR = 0
	KMORTCurrentVersion          KMOR = 0x10000
	KMORTDoInsertionsBefore      KMOR = 0x80
	KMORTInsertionType           KMOR = 5
	KMORTInsertionsCountMask     KMOR = 0x3f
	KMORTIsSplitVowelPiece       KMOR = 0x40
	KMORTLigFormOffsetMask       KMOR = 0x3fffffff
	KMORTLigFormOffsetShift      KMOR = 2
	KMORTLigLastAction           KMOR = -2147483648
	KMORTLigStoreLigature        KMOR = 0x40000000
	KMORTLigatureType            KMOR = 2
	KMORTMarkInsertBefore        KMOR = 0x400
	KMORTMarkInsertCountMask     KMOR = 0x1f
	KMORTMarkInsertCountShift    KMOR = 0
	KMORTMarkInsertKashidaLike   KMOR = 0x1000
	KMORTMarkJustTableCountMask  KMOR = 0x3f80
	KMORTMarkJustTableCountShift KMOR = 7
	KMORTRearrangementType       KMOR = 0
	KMORTSwashType               KMOR = 4
	KMORTTag                     KMOR = 0x6d6f7274
	KMORTraCDx                   KMOR = 6
	KMORTraCDxA                  KMOR = 8
	KMORTraCDxAB                 KMOR = 12
	KMORTraCDxBA                 KMOR = 13
	KMORTraDCx                   KMOR = 7
	KMORTraDCxA                  KMOR = 9
	KMORTraDCxAB                 KMOR = 14
	KMORTraDCxBA                 KMOR = 15
	KMORTraDx                    KMOR = 2
	KMORTraDxA                   KMOR = 3
	KMORTraDxAB                  KMOR = 10
	KMORTraDxBA                  KMOR = 11
	KMORTraNoAction              KMOR = 0
	KMORTraxA                    KMOR = 1
	KMORTraxAB                   KMOR = 4
	KMORTraxBA                   KMOR = 5
)

func (KMOR) String

func (e KMOR) String() string

type KMORX

type KMORX int32
const (
	KMORXCoverDescending     KMORX = 0x40000000
	KMORXCoverIgnoreVertical KMORX = 0x20000000
	KMORXCoverLogicalOrder   KMORX = 0x10000000
	KMORXCoverTypeMask       KMORX = 0xff
	KMORXCoverVertical       KMORX = -2147483648
	KMORXCurrentVersion      KMORX = 0x20000
	KMORXTag                 KMORX = 0x6d6f7278
)

func (KMORX) String

func (e KMORX) String() string

type KMonospacedNumbersSelector

type KMonospacedNumbersSelector uint32
const (
	KMonospacedNumbersSelectorValue KMonospacedNumbersSelector = 0
	KProportionalNumbersSelector    KMonospacedNumbersSelector = 1
	KQuarterWidthNumbersSelector    KMonospacedNumbersSelector = 3
	KThirdWidthNumbersSelector      KMonospacedNumbersSelector = 2
)

func (KMonospacedNumbersSelector) String

type KNoAnnotationSelector

type KNoAnnotationSelector uint32
const (
	KBoxAnnotationSelector                KNoAnnotationSelector = 1
	KCircleAnnotationSelector             KNoAnnotationSelector = 3
	KDiamondAnnotationSelector            KNoAnnotationSelector = 8
	KInvertedBoxAnnotationSelector        KNoAnnotationSelector = 9
	KInvertedCircleAnnotationSelector     KNoAnnotationSelector = 4
	KInvertedRoundedBoxAnnotationSelector KNoAnnotationSelector = 10
	KNoAnnotationSelectorValue            KNoAnnotationSelector = 0
	KParenthesisAnnotationSelector        KNoAnnotationSelector = 5
	KPeriodAnnotationSelector             KNoAnnotationSelector = 6
	KRomanNumeralAnnotationSelector       KNoAnnotationSelector = 7
	KRoundedBoxAnnotationSelector         KNoAnnotationSelector = 2
)

func (KNoAnnotationSelector) String

func (e KNoAnnotationSelector) String() string

type KNoCJKItalicRomanSelector

type KNoCJKItalicRomanSelector uint32
const (
	KCJKItalicRomanOffSelector     KNoCJKItalicRomanSelector = 3
	KCJKItalicRomanOnSelector      KNoCJKItalicRomanSelector = 2
	KCJKItalicRomanSelector        KNoCJKItalicRomanSelector = 1
	KNoCJKItalicRomanSelectorValue KNoCJKItalicRomanSelector = 0
)

func (KNoCJKItalicRomanSelector) String

func (e KNoCJKItalicRomanSelector) String() string

type KNoCJKSymbolAlternativesSelector

type KNoCJKSymbolAlternativesSelector uint32
const (
	KCJKSymbolAltFiveSelector             KNoCJKSymbolAlternativesSelector = 5
	KCJKSymbolAltFourSelector             KNoCJKSymbolAlternativesSelector = 4
	KCJKSymbolAltOneSelector              KNoCJKSymbolAlternativesSelector = 1
	KCJKSymbolAltThreeSelector            KNoCJKSymbolAlternativesSelector = 3
	KCJKSymbolAltTwoSelector              KNoCJKSymbolAlternativesSelector = 2
	KNoCJKSymbolAlternativesSelectorValue KNoCJKSymbolAlternativesSelector = 0
)

func (KNoCJKSymbolAlternativesSelector) String

type KNoFractionsSelector

type KNoFractionsSelector uint32
const (
	KDiagonalFractionsSelector KNoFractionsSelector = 2
	KNoFractionsSelectorValue  KNoFractionsSelector = 0
	KVerticalFractionsSelector KNoFractionsSelector = 1
)

func (KNoFractionsSelector) String

func (e KNoFractionsSelector) String() string

type KNoIdeographicAlternativesSelector

type KNoIdeographicAlternativesSelector uint32
const (
	KIdeographicAltFiveSelector             KNoIdeographicAlternativesSelector = 5
	KIdeographicAltFourSelector             KNoIdeographicAlternativesSelector = 4
	KIdeographicAltOneSelector              KNoIdeographicAlternativesSelector = 1
	KIdeographicAltThreeSelector            KNoIdeographicAlternativesSelector = 3
	KIdeographicAltTwoSelector              KNoIdeographicAlternativesSelector = 2
	KNoIdeographicAlternativesSelectorValue KNoIdeographicAlternativesSelector = 0
)

func (KNoIdeographicAlternativesSelector) String

type KNoOrnamentsSelector

type KNoOrnamentsSelector uint32
const (
	KDecorativeBordersSelector    KNoOrnamentsSelector = 4
	KDingbatsSelector             KNoOrnamentsSelector = 1
	KFleuronsSelector             KNoOrnamentsSelector = 3
	KInternationalSymbolsSelector KNoOrnamentsSelector = 5
	KMathSymbolsSelector          KNoOrnamentsSelector = 6
	KNoOrnamentsSelectorValue     KNoOrnamentsSelector = 0
	KPiCharactersSelector         KNoOrnamentsSelector = 2
)

func (KNoOrnamentsSelector) String

func (e KNoOrnamentsSelector) String() string

type KNoRubyKanaSelector

type KNoRubyKanaSelector uint32
const (
	KNoRubyKanaSelectorValue KNoRubyKanaSelector = 0
	KRubyKanaOffSelector     KNoRubyKanaSelector = 3
	KRubyKanaOnSelector      KNoRubyKanaSelector = 2
	KRubyKanaSelector        KNoRubyKanaSelector = 1
)

func (KNoRubyKanaSelector) String

func (e KNoRubyKanaSelector) String() string

type KNoStyleOptionsSelector

type KNoStyleOptionsSelector uint32
const (
	KDisplayTextSelector         KNoStyleOptionsSelector = 1
	KEngravedTextSelector        KNoStyleOptionsSelector = 2
	KIlluminatedCapsSelector     KNoStyleOptionsSelector = 3
	KNoStyleOptionsSelectorValue KNoStyleOptionsSelector = 0
	KTallCapsSelector            KNoStyleOptionsSelector = 5
	KTitlingCapsSelector         KNoStyleOptionsSelector = 4
)

func (KNoStyleOptionsSelector) String

func (e KNoStyleOptionsSelector) String() string

type KNoStylisticAlternatesSelector

type KNoStylisticAlternatesSelector uint32
const (
	KNoStylisticAlternatesSelectorValue KNoStylisticAlternatesSelector = 0
	KStylisticAltEightOffSelector       KNoStylisticAlternatesSelector = 17
	KStylisticAltEightOnSelector        KNoStylisticAlternatesSelector = 16
	KStylisticAltEighteenOffSelector    KNoStylisticAlternatesSelector = 37
	KStylisticAltEighteenOnSelector     KNoStylisticAlternatesSelector = 36
	KStylisticAltElevenOffSelector      KNoStylisticAlternatesSelector = 23
	KStylisticAltElevenOnSelector       KNoStylisticAlternatesSelector = 22
	KStylisticAltFifteenOffSelector     KNoStylisticAlternatesSelector = 31
	KStylisticAltFifteenOnSelector      KNoStylisticAlternatesSelector = 30
	KStylisticAltFiveOffSelector        KNoStylisticAlternatesSelector = 11
	KStylisticAltFiveOnSelector         KNoStylisticAlternatesSelector = 10
	KStylisticAltFourOffSelector        KNoStylisticAlternatesSelector = 9
	KStylisticAltFourOnSelector         KNoStylisticAlternatesSelector = 8
	KStylisticAltFourteenOffSelector    KNoStylisticAlternatesSelector = 29
	KStylisticAltFourteenOnSelector     KNoStylisticAlternatesSelector = 28
	KStylisticAltNineOffSelector        KNoStylisticAlternatesSelector = 19
	KStylisticAltNineOnSelector         KNoStylisticAlternatesSelector = 18
	KStylisticAltNineteenOffSelector    KNoStylisticAlternatesSelector = 39
	KStylisticAltNineteenOnSelector     KNoStylisticAlternatesSelector = 38
	KStylisticAltOneOffSelector         KNoStylisticAlternatesSelector = 3
	KStylisticAltOneOnSelector          KNoStylisticAlternatesSelector = 2
	KStylisticAltSevenOffSelector       KNoStylisticAlternatesSelector = 15
	KStylisticAltSevenOnSelector        KNoStylisticAlternatesSelector = 14
	KStylisticAltSeventeenOffSelector   KNoStylisticAlternatesSelector = 35
	KStylisticAltSeventeenOnSelector    KNoStylisticAlternatesSelector = 34
	KStylisticAltSixOffSelector         KNoStylisticAlternatesSelector = 13
	KStylisticAltSixOnSelector          KNoStylisticAlternatesSelector = 12
	KStylisticAltSixteenOffSelector     KNoStylisticAlternatesSelector = 33
	KStylisticAltSixteenOnSelector      KNoStylisticAlternatesSelector = 32
	KStylisticAltTenOffSelector         KNoStylisticAlternatesSelector = 21
	KStylisticAltTenOnSelector          KNoStylisticAlternatesSelector = 20
	KStylisticAltThirteenOffSelector    KNoStylisticAlternatesSelector = 27
	KStylisticAltThirteenOnSelector     KNoStylisticAlternatesSelector = 26
	KStylisticAltThreeOffSelector       KNoStylisticAlternatesSelector = 7
	KStylisticAltThreeOnSelector        KNoStylisticAlternatesSelector = 6
	KStylisticAltTwelveOffSelector      KNoStylisticAlternatesSelector = 25
	KStylisticAltTwelveOnSelector       KNoStylisticAlternatesSelector = 24
	KStylisticAltTwentyOffSelector      KNoStylisticAlternatesSelector = 41
	KStylisticAltTwentyOnSelector       KNoStylisticAlternatesSelector = 40
	KStylisticAltTwoOffSelector         KNoStylisticAlternatesSelector = 5
	KStylisticAltTwoOnSelector          KNoStylisticAlternatesSelector = 4
)

func (KNoStylisticAlternatesSelector) String

type KNoTransliterationSelector

type KNoTransliterationSelector uint32
const (
	KHanjaToHangulAltOneSelector    KNoTransliterationSelector = 7
	KHanjaToHangulAltThreeSelector  KNoTransliterationSelector = 9
	KHanjaToHangulAltTwoSelector    KNoTransliterationSelector = 8
	KHanjaToHangulSelector          KNoTransliterationSelector = 1
	KHiraganaToKatakanaSelector     KNoTransliterationSelector = 2
	KKanaToRomanizationSelector     KNoTransliterationSelector = 4
	KKatakanaToHiraganaSelector     KNoTransliterationSelector = 3
	KNoTransliterationSelectorValue KNoTransliterationSelector = 0
	KRomanizationToHiraganaSelector KNoTransliterationSelector = 5
	KRomanizationToKatakanaSelector KNoTransliterationSelector = 6
)

func (KNoTransliterationSelector) String

type KNormalPositionSelector

type KNormalPositionSelector uint32
const (
	KInferiorsSelector           KNormalPositionSelector = 2
	KNormalPositionSelectorValue KNormalPositionSelector = 0
	KOrdinalsSelector            KNormalPositionSelector = 3
	KScientificInferiorsSelector KNormalPositionSelector = 4
	KSuperiorsSelector           KNormalPositionSelector = 1
)

func (KNormalPositionSelector) String

func (e KNormalPositionSelector) String() string

type KOPBD

type KOPBD uint32
const (
	KOPBDControlPointFormat KOPBD = 1
	KOPBDCurrentVersion     KOPBD = 0x10000
	KOPBDDistanceFormat     KOPBD = 0
	KOPBDTag                KOPBD = 0x6f706264
)

func (KOPBD) String

func (e KOPBD) String() string

type KPROPLDirectionClass

type KPROPLDirectionClass uint32
const (
	KPROPALDirectionClass     KPROPLDirectionClass = 2
	KPROPANDirectionClass     KPROPLDirectionClass = 6
	KPROPBNDirectionClass     KPROPLDirectionClass = 19
	KPROPCSDirectionClass     KPROPLDirectionClass = 7
	KPROPENDirectionClass     KPROPLDirectionClass = 3
	KPROPESDirectionClass     KPROPLDirectionClass = 4
	KPROPETDirectionClass     KPROPLDirectionClass = 5
	KPROPLDirectionClassValue KPROPLDirectionClass = 0
	KPROPLREDirectionClass    KPROPLDirectionClass = 13
	KPROPLRODirectionClass    KPROPLDirectionClass = 14
	KPROPNSMDirectionClass    KPROPLDirectionClass = 18
	KPROPNumDirectionClasses  KPROPLDirectionClass = 20
	KPROPONDirectionClass     KPROPLDirectionClass = 11
	KPROPPDFDirectionClass    KPROPLDirectionClass = 17
	KPROPPSDirectionClass     KPROPLDirectionClass = 8
	KPROPRDirectionClass      KPROPLDirectionClass = 1
	KPROPRLEDirectionClass    KPROPLDirectionClass = 15
	KPROPRLODirectionClass    KPROPLDirectionClass = 16
	KPROPSDirectionClass      KPROPLDirectionClass = 9
	KPROPSENDirectionClass    KPROPLDirectionClass = 12
	KPROPWSDirectionClass     KPROPLDirectionClass = 10
)

func (KPROPLDirectionClass) String

func (e KPROPLDirectionClass) String() string

type KPROPTag

type KPROPTag uint32
const (
	KPROPCanHangLTMask    KPROPTag = 0x4000
	KPROPCanHangRBMask    KPROPTag = 0x2000
	KPROPCurrentVersion   KPROPTag = 0x30000
	KPROPDirectionMask    KPROPTag = 0x1f
	KPROPIsFloaterMask    KPROPTag = 0x8000
	KPROPPairOffsetMask   KPROPTag = 0xf00
	KPROPPairOffsetShift  KPROPTag = 8
	KPROPPairOffsetSign   KPROPTag = 7
	KPROPRightConnectMask KPROPTag = 0x80
	KPROPTagValue         KPROPTag = 0x70726f70
	KPROPUseRLPairMask    KPROPTag = 0x1000
	KPROPZeroReserved     KPROPTag = 0x60
)

func (KPROPTag) String

func (e KPROPTag) String() string

type KPreventOverlap

type KPreventOverlap uint32
const (
	KPreventOverlapOffSelector KPreventOverlap = 1
	KPreventOverlapOnSelector  KPreventOverlap = 0
)

func (KPreventOverlap) String

func (e KPreventOverlap) String() string

type KProportionalTextSelector

type KProportionalTextSelector uint32
const (
	KAltHalfWidthTextSelector      KProportionalTextSelector = 6
	KAltProportionalTextSelector   KProportionalTextSelector = 5
	KHalfWidthTextSelector         KProportionalTextSelector = 2
	KMonospacedTextSelector        KProportionalTextSelector = 1
	KProportionalTextSelectorValue KProportionalTextSelector = 0
	KQuarterWidthTextSelector      KProportionalTextSelector = 4
	KThirdWidthTextSelector        KProportionalTextSelector = 3
)

func (KProportionalTextSelector) String

func (e KProportionalTextSelector) String() string

type KRequiredLigaturesOnSelector

type KRequiredLigaturesOnSelector uint32
const (
	KAbbrevSquaredLigaturesOffSelector KRequiredLigaturesOnSelector = 15
	KAbbrevSquaredLigaturesOnSelector  KRequiredLigaturesOnSelector = 14
	KCommonLigaturesOffSelector        KRequiredLigaturesOnSelector = 3
	KCommonLigaturesOnSelector         KRequiredLigaturesOnSelector = 2
	KContextualLigaturesOffSelector    KRequiredLigaturesOnSelector = 19
	KContextualLigaturesOnSelector     KRequiredLigaturesOnSelector = 18
	KDiphthongLigaturesOffSelector     KRequiredLigaturesOnSelector = 11
	KDiphthongLigaturesOnSelector      KRequiredLigaturesOnSelector = 10
	KHistoricalLigaturesOffSelector    KRequiredLigaturesOnSelector = 21
	KHistoricalLigaturesOnSelector     KRequiredLigaturesOnSelector = 20
	KLogosOffSelector                  KRequiredLigaturesOnSelector = 7
	KLogosOnSelector                   KRequiredLigaturesOnSelector = 6
	KRareLigaturesOffSelector          KRequiredLigaturesOnSelector = 5
	KRareLigaturesOnSelector           KRequiredLigaturesOnSelector = 4
	KRebusPicturesOffSelector          KRequiredLigaturesOnSelector = 9
	KRebusPicturesOnSelector           KRequiredLigaturesOnSelector = 8
	KRequiredLigaturesOffSelector      KRequiredLigaturesOnSelector = 1
	KRequiredLigaturesOnSelectorValue  KRequiredLigaturesOnSelector = 0
	KSquaredLigaturesOffSelector       KRequiredLigaturesOnSelector = 13
	KSquaredLigaturesOnSelector        KRequiredLigaturesOnSelector = 12
	KSymbolLigaturesOffSelector        KRequiredLigaturesOnSelector = 17
	KSymbolLigaturesOnSelector         KRequiredLigaturesOnSelector = 16
)

func (KRequiredLigaturesOnSelector) String

type KSFNTLookup

type KSFNTLookup uint32
const (
	KSFNTLookupSegmentArray  KSFNTLookup = 4
	KSFNTLookupSegmentSingle KSFNTLookup = 2
	KSFNTLookupSimpleArray   KSFNTLookup = 0
	KSFNTLookupSingleTable   KSFNTLookup = 6
	KSFNTLookupTrimmedArray  KSFNTLookup = 8
	KSFNTLookupVector        KSFNTLookup = 10
)

func (KSFNTLookup) String

func (e KSFNTLookup) String() string

type KST

type KST uint32
const (
	KSTClassDeletedGlyph KST = 2
	KSTClassEndOfLine    KST = 3
	KSTClassEndOfText    KST = 0
	KSTClassOutOfBounds  KST = 1
	KSTLigActionMask     KST = 0x3fff
	KSTMarkEnd           KST = 0x2000
	KSTNoAdvance         KST = 0x4000
	KSTRearrVerbMask     KST = 0xf
	KSTSetMark           KST = 0x8000
)

func (KST) String

func (e KST) String() string

type KShowDiacriticsSelector

type KShowDiacriticsSelector uint32
const (
	KDecomposeDiacriticsSelector KShowDiacriticsSelector = 2
	KHideDiacriticsSelector      KShowDiacriticsSelector = 1
	KShowDiacriticsSelectorValue KShowDiacriticsSelector = 0
)

func (KShowDiacriticsSelector) String

func (e KShowDiacriticsSelector) String() string

type KSubstituteVerticalForms

type KSubstituteVerticalForms uint32
const (
	KSubstituteVerticalFormsOffSelector KSubstituteVerticalForms = 1
	KSubstituteVerticalFormsOnSelector  KSubstituteVerticalForms = 0
)

func (KSubstituteVerticalForms) String

func (e KSubstituteVerticalForms) String() string

type KTRAK

type KTRAK uint32
const (
	KTRAKCurrentVersion KTRAK = 0x10000
	KTRAKTag            KTRAK = 0x7472616b
	KTRAKUniformFormat  KTRAK = 0
)

func (KTRAK) String

func (e KTRAK) String() string

type KTraditionalCharactersSelector

type KTraditionalCharactersSelector uint32
const (
	KExpertCharactersSelector           KTraditionalCharactersSelector = 10
	KHojoCharactersSelector             KTraditionalCharactersSelector = 12
	KJIS1978CharactersSelector          KTraditionalCharactersSelector = 2
	KJIS1983CharactersSelector          KTraditionalCharactersSelector = 3
	KJIS1990CharactersSelector          KTraditionalCharactersSelector = 4
	KJIS2004CharactersSelector          KTraditionalCharactersSelector = 11
	KNLCCharactersSelector              KTraditionalCharactersSelector = 13
	KSimplifiedCharactersSelector       KTraditionalCharactersSelector = 1
	KTraditionalAltFiveSelector         KTraditionalCharactersSelector = 9
	KTraditionalAltFourSelector         KTraditionalCharactersSelector = 8
	KTraditionalAltOneSelector          KTraditionalCharactersSelector = 5
	KTraditionalAltThreeSelector        KTraditionalCharactersSelector = 7
	KTraditionalAltTwoSelector          KTraditionalCharactersSelector = 6
	KTraditionalCharactersSelectorValue KTraditionalCharactersSelector = 0
	KTraditionalNamesCharactersSelector KTraditionalCharactersSelector = 14
)

func (KTraditionalCharactersSelector) String

type KUnconnectedSelector

type KUnconnectedSelector uint32
const (
	KCursiveSelector            KUnconnectedSelector = 2
	KPartiallyConnectedSelector KUnconnectedSelector = 1
	KUnconnectedSelectorValue   KUnconnectedSelector = 0
)

func (KUnconnectedSelector) String

func (e KUnconnectedSelector) String() string

type KUpperAndLowerCaseSelector

type KUpperAndLowerCaseSelector uint32
const (
	KAllCapsSelector                 KUpperAndLowerCaseSelector = 1
	KAllLowerCaseSelector            KUpperAndLowerCaseSelector = 2
	KInitialCapsAndSmallCapsSelector KUpperAndLowerCaseSelector = 5
	KInitialCapsSelector             KUpperAndLowerCaseSelector = 4
	KSmallCapsSelector               KUpperAndLowerCaseSelector = 3
	KUpperAndLowerCaseSelectorValue  KUpperAndLowerCaseSelector = 0
)

func (KUpperAndLowerCaseSelector) String

type KWordInitialSwashesOnSelector

type KWordInitialSwashesOnSelector uint32
const (
	KLineFinalSwashesOffSelector       KWordInitialSwashesOnSelector = 7
	KLineFinalSwashesOnSelector        KWordInitialSwashesOnSelector = 6
	KLineInitialSwashesOffSelector     KWordInitialSwashesOnSelector = 5
	KLineInitialSwashesOnSelector      KWordInitialSwashesOnSelector = 4
	KNonFinalSwashesOffSelector        KWordInitialSwashesOnSelector = 9
	KNonFinalSwashesOnSelector         KWordInitialSwashesOnSelector = 8
	KWordFinalSwashesOffSelector       KWordInitialSwashesOnSelector = 3
	KWordFinalSwashesOnSelector        KWordInitialSwashesOnSelector = 2
	KWordInitialSwashesOffSelector     KWordInitialSwashesOnSelector = 1
	KWordInitialSwashesOnSelectorValue KWordInitialSwashesOnSelector = 0
)

func (KWordInitialSwashesOnSelector) String

type KernFormatSpecificHeader

type KernFormatSpecificHeader struct {
	OrderedList KernOrderedListHeader
	StateTable  KernStateHeader
	SimpleArray KernSimpleArrayHeader
	IndexArray  KernIndexArrayHeader
}

KernFormatSpecificHeader

type KernIndexArrayHeader

type KernIndexArrayHeader struct {
	GlyphCount      uint16
	KernValueCount  uint8
	LeftClassCount  uint8
	RightClassCount uint8
	Flags           uint8
	KernValue       [1]int16
	LeftClass       [1]uint8
	RightClass      [1]uint8
	KernIndex       [1]uint8
}

KernIndexArrayHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KernIndexArrayHeader

type KernKerningPair

type KernKerningPair struct {
	Left  uint16
	Right uint16
}

KernKerningPair

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KernKerningPair

type KernOffsetTable

type KernOffsetTable struct {
	FirstGlyph  uint16
	NGlyphs     uint16
	OffsetTable [1]KernArrayOffset
}

KernOffsetTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KernOffsetTable

type KernOrderedListEntry

type KernOrderedListEntry struct {
	Pair  KernKerningPair
	Value KernKerningValue
}

KernOrderedListEntry

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KernOrderedListEntry

type KernOrderedListHeader

type KernOrderedListHeader struct {
	NPairs        uint16
	SearchRange   uint16
	EntrySelector uint16
	RangeShift    uint16
	Table         [1]uint16
}

KernOrderedListHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KernOrderedListHeader

type KernSimpleArrayHeader

type KernSimpleArrayHeader struct {
	RowWidth         uint16
	LeftOffsetTable  uint16
	RightOffsetTable uint16
	TheArray         KernArrayOffset
	FirstTable       [1]uint16
}

KernSimpleArrayHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KernSimpleArrayHeader

type KernStateEntry

type KernStateEntry struct {
	NewState uint16
	Flags    uint16
}

KernStateEntry

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KernStateEntry

type KernStateHeader

type KernStateHeader struct {
	Header     STHeader
	ValueTable uint16
	FirstTable [1]uint8
}

KernStateHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KernStateHeader

type KernSubtableHeader

type KernSubtableHeader struct {
	// contains filtered or unexported fields
}

KernSubtableHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KernSubtableHeader

func (*KernSubtableHeader) FsHeader

FsHeader returns the FsHeader field from the record's packed storage.

func (*KernSubtableHeader) Length

func (s *KernSubtableHeader) Length() int32

Length returns the Length field from the record's packed storage.

func (*KernSubtableHeader) SetFsHeader

func (s *KernSubtableHeader) SetFsHeader(v KernFormatSpecificHeader)

SetFsHeader updates the FsHeader field in the record's packed storage.

func (*KernSubtableHeader) SetLength

func (s *KernSubtableHeader) SetLength(v int32)

SetLength updates the Length field in the record's packed storage.

func (*KernSubtableHeader) SetStInfo

func (s *KernSubtableHeader) SetStInfo(v KernSubtableInfo)

SetStInfo updates the StInfo field in the record's packed storage.

func (*KernSubtableHeader) SetTupleIndex

func (s *KernSubtableHeader) SetTupleIndex(v int16)

SetTupleIndex updates the TupleIndex field in the record's packed storage.

func (*KernSubtableHeader) StInfo

StInfo returns the StInfo field from the record's packed storage.

func (*KernSubtableHeader) TupleIndex

func (s *KernSubtableHeader) TupleIndex() int16

TupleIndex returns the TupleIndex field from the record's packed storage.

type KernTableHeader

type KernTableHeader struct {
	// contains filtered or unexported fields
}

KernTableHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KernTableHeader

func (*KernTableHeader) FirstSubtable

func (s *KernTableHeader) FirstSubtable() [1]uint16

FirstSubtable returns the FirstSubtable field from the record's packed storage.

func (*KernTableHeader) NTables

func (s *KernTableHeader) NTables() int32

NTables returns the NTables field from the record's packed storage.

func (*KernTableHeader) SetFirstSubtable

func (s *KernTableHeader) SetFirstSubtable(v [1]uint16)

SetFirstSubtable updates the FirstSubtable field in the record's packed storage.

func (*KernTableHeader) SetNTables

func (s *KernTableHeader) SetNTables(v int32)

SetNTables updates the NTables field in the record's packed storage.

func (*KernTableHeader) SetVersion

func (s *KernTableHeader) SetVersion(v int32)

SetVersion updates the Version field in the record's packed storage.

func (*KernTableHeader) Version

func (s *KernTableHeader) Version() int32

Version returns the Version field from the record's packed storage.

type KernVersion0Header

type KernVersion0Header struct {
	Version       uint16
	NTables       uint16
	FirstSubtable [1]uint16
}

KernVersion0Header

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KernVersion0Header

type KernVersion0SubtableHeader

type KernVersion0SubtableHeader struct {
	Version  uint16
	Length   uint16
	StInfo   KernSubtableInfo
	FsHeader KernFormatSpecificHeader
}

KernVersion0SubtableHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KernVersion0SubtableHeader

type KerxAnchorPointAction

type KerxAnchorPointAction struct {
	MarkAnchorPoint uint16
	CurrAnchorPoint uint16
}

KerxAnchorPointAction

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KerxAnchorPointAction

type KerxControlPointAction

type KerxControlPointAction struct {
	MarkControlPoint uint16
	CurrControlPoint uint16
}

KerxControlPointAction

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KerxControlPointAction

type KerxControlPointEntry

type KerxControlPointEntry struct {
	NewState    uint16
	Flags       uint16
	ActionIndex uint16
}

KerxControlPointEntry

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KerxControlPointEntry

type KerxControlPointHeader

type KerxControlPointHeader struct {
	// contains filtered or unexported fields
}

KerxControlPointHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KerxControlPointHeader

func (*KerxControlPointHeader) FirstTable

func (s *KerxControlPointHeader) FirstTable() [1]uint8

FirstTable returns the FirstTable field from the record's packed storage.

func (*KerxControlPointHeader) Flags

func (s *KerxControlPointHeader) Flags() uint32

Flags returns the Flags field from the record's packed storage.

func (*KerxControlPointHeader) Header

func (s *KerxControlPointHeader) Header() STXHeader

Header returns the Header field from the record's packed storage.

func (*KerxControlPointHeader) SetFirstTable

func (s *KerxControlPointHeader) SetFirstTable(v [1]uint8)

SetFirstTable updates the FirstTable field in the record's packed storage.

func (*KerxControlPointHeader) SetFlags

func (s *KerxControlPointHeader) SetFlags(v uint32)

SetFlags updates the Flags field in the record's packed storage.

func (*KerxControlPointHeader) SetHeader

func (s *KerxControlPointHeader) SetHeader(v STXHeader)

SetHeader updates the Header field in the record's packed storage.

type KerxCoordinateAction

type KerxCoordinateAction struct {
	MarkX uint16
	MarkY uint16
	CurrX uint16
	CurrY uint16
}

KerxCoordinateAction

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KerxCoordinateAction

type KerxFormatSpecificHeader

type KerxFormatSpecificHeader struct {
	// contains filtered or unexported fields
}

KerxFormatSpecificHeader

func (*KerxFormatSpecificHeader) ControlPoint

ControlPoint returns the ControlPoint field from the record's packed storage.

func (*KerxFormatSpecificHeader) IndexArray

IndexArray returns the IndexArray field from the record's packed storage.

func (*KerxFormatSpecificHeader) OrderedList

OrderedList returns the OrderedList field from the record's packed storage.

func (*KerxFormatSpecificHeader) SetControlPoint

func (s *KerxFormatSpecificHeader) SetControlPoint(v KerxControlPointHeader)

SetControlPoint updates the ControlPoint field in the record's packed storage.

func (*KerxFormatSpecificHeader) SetIndexArray

func (s *KerxFormatSpecificHeader) SetIndexArray(v KerxIndexArrayHeader)

SetIndexArray updates the IndexArray field in the record's packed storage.

func (*KerxFormatSpecificHeader) SetOrderedList

func (s *KerxFormatSpecificHeader) SetOrderedList(v KerxOrderedListHeader)

SetOrderedList updates the OrderedList field in the record's packed storage.

func (*KerxFormatSpecificHeader) SetSimpleArray

func (s *KerxFormatSpecificHeader) SetSimpleArray(v KerxSimpleArrayHeader)

SetSimpleArray updates the SimpleArray field in the record's packed storage.

func (*KerxFormatSpecificHeader) SetStateTable

func (s *KerxFormatSpecificHeader) SetStateTable(v KerxStateHeader)

SetStateTable updates the StateTable field in the record's packed storage.

func (*KerxFormatSpecificHeader) SimpleArray

SimpleArray returns the SimpleArray field from the record's packed storage.

func (*KerxFormatSpecificHeader) StateTable

func (s *KerxFormatSpecificHeader) StateTable() KerxStateHeader

StateTable returns the StateTable field from the record's packed storage.

type KerxIndexArrayHeader

type KerxIndexArrayHeader struct {
	// contains filtered or unexported fields
}

KerxIndexArrayHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KerxIndexArrayHeader

func (*KerxIndexArrayHeader) ColumnCount

func (s *KerxIndexArrayHeader) ColumnCount() uint16

ColumnCount returns the ColumnCount field from the record's packed storage.

func (*KerxIndexArrayHeader) ColumnIndexTableOffset

func (s *KerxIndexArrayHeader) ColumnIndexTableOffset() uint32

ColumnIndexTableOffset returns the ColumnIndexTableOffset field from the record's packed storage.

func (*KerxIndexArrayHeader) Flags

func (s *KerxIndexArrayHeader) Flags() uint32

Flags returns the Flags field from the record's packed storage.

func (*KerxIndexArrayHeader) KerningArrayOffset

func (s *KerxIndexArrayHeader) KerningArrayOffset() uint32

KerningArrayOffset returns the KerningArrayOffset field from the record's packed storage.

func (*KerxIndexArrayHeader) KerningVectorOffset

func (s *KerxIndexArrayHeader) KerningVectorOffset() uint32

KerningVectorOffset returns the KerningVectorOffset field from the record's packed storage.

func (*KerxIndexArrayHeader) RowCount

func (s *KerxIndexArrayHeader) RowCount() uint16

RowCount returns the RowCount field from the record's packed storage.

func (*KerxIndexArrayHeader) RowIndexTableOffset

func (s *KerxIndexArrayHeader) RowIndexTableOffset() uint32

RowIndexTableOffset returns the RowIndexTableOffset field from the record's packed storage.

func (*KerxIndexArrayHeader) SetColumnCount

func (s *KerxIndexArrayHeader) SetColumnCount(v uint16)

SetColumnCount updates the ColumnCount field in the record's packed storage.

func (*KerxIndexArrayHeader) SetColumnIndexTableOffset

func (s *KerxIndexArrayHeader) SetColumnIndexTableOffset(v uint32)

SetColumnIndexTableOffset updates the ColumnIndexTableOffset field in the record's packed storage.

func (*KerxIndexArrayHeader) SetFlags

func (s *KerxIndexArrayHeader) SetFlags(v uint32)

SetFlags updates the Flags field in the record's packed storage.

func (*KerxIndexArrayHeader) SetKerningArrayOffset

func (s *KerxIndexArrayHeader) SetKerningArrayOffset(v uint32)

SetKerningArrayOffset updates the KerningArrayOffset field in the record's packed storage.

func (*KerxIndexArrayHeader) SetKerningVectorOffset

func (s *KerxIndexArrayHeader) SetKerningVectorOffset(v uint32)

SetKerningVectorOffset updates the KerningVectorOffset field in the record's packed storage.

func (*KerxIndexArrayHeader) SetRowCount

func (s *KerxIndexArrayHeader) SetRowCount(v uint16)

SetRowCount updates the RowCount field in the record's packed storage.

func (*KerxIndexArrayHeader) SetRowIndexTableOffset

func (s *KerxIndexArrayHeader) SetRowIndexTableOffset(v uint32)

SetRowIndexTableOffset updates the RowIndexTableOffset field in the record's packed storage.

type KerxKerningPair

type KerxKerningPair struct {
	Left  uint16
	Right uint16
}

KerxKerningPair

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KerxKerningPair

type KerxOrderedListEntry

type KerxOrderedListEntry struct {
	Pair  KerxKerningPair
	Value KernKerningValue
}

KerxOrderedListEntry

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KerxOrderedListEntry

type KerxOrderedListHeader

type KerxOrderedListHeader struct {
	// contains filtered or unexported fields
}

KerxOrderedListHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KerxOrderedListHeader

func (*KerxOrderedListHeader) EntrySelector

func (s *KerxOrderedListHeader) EntrySelector() uint32

EntrySelector returns the EntrySelector field from the record's packed storage.

func (*KerxOrderedListHeader) NPairs

func (s *KerxOrderedListHeader) NPairs() uint32

NPairs returns the NPairs field from the record's packed storage.

func (*KerxOrderedListHeader) RangeShift

func (s *KerxOrderedListHeader) RangeShift() uint32

RangeShift returns the RangeShift field from the record's packed storage.

func (*KerxOrderedListHeader) SearchRange

func (s *KerxOrderedListHeader) SearchRange() uint32

SearchRange returns the SearchRange field from the record's packed storage.

func (*KerxOrderedListHeader) SetEntrySelector

func (s *KerxOrderedListHeader) SetEntrySelector(v uint32)

SetEntrySelector updates the EntrySelector field in the record's packed storage.

func (*KerxOrderedListHeader) SetNPairs

func (s *KerxOrderedListHeader) SetNPairs(v uint32)

SetNPairs updates the NPairs field in the record's packed storage.

func (*KerxOrderedListHeader) SetRangeShift

func (s *KerxOrderedListHeader) SetRangeShift(v uint32)

SetRangeShift updates the RangeShift field in the record's packed storage.

func (*KerxOrderedListHeader) SetSearchRange

func (s *KerxOrderedListHeader) SetSearchRange(v uint32)

SetSearchRange updates the SearchRange field in the record's packed storage.

func (*KerxOrderedListHeader) SetTable

func (s *KerxOrderedListHeader) SetTable(v [1]uint32)

SetTable updates the Table field in the record's packed storage.

func (*KerxOrderedListHeader) Table

func (s *KerxOrderedListHeader) Table() [1]uint32

Table returns the Table field from the record's packed storage.

type KerxSimpleArrayHeader

type KerxSimpleArrayHeader struct {
	// contains filtered or unexported fields
}

KerxSimpleArrayHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KerxSimpleArrayHeader

func (*KerxSimpleArrayHeader) FirstTable

func (s *KerxSimpleArrayHeader) FirstTable() [1]uint32

FirstTable returns the FirstTable field from the record's packed storage.

func (*KerxSimpleArrayHeader) LeftOffsetTable

func (s *KerxSimpleArrayHeader) LeftOffsetTable() uint32

LeftOffsetTable returns the LeftOffsetTable field from the record's packed storage.

func (*KerxSimpleArrayHeader) RightOffsetTable

func (s *KerxSimpleArrayHeader) RightOffsetTable() uint32

RightOffsetTable returns the RightOffsetTable field from the record's packed storage.

func (*KerxSimpleArrayHeader) RowWidth

func (s *KerxSimpleArrayHeader) RowWidth() uint32

RowWidth returns the RowWidth field from the record's packed storage.

func (*KerxSimpleArrayHeader) SetFirstTable

func (s *KerxSimpleArrayHeader) SetFirstTable(v [1]uint32)

SetFirstTable updates the FirstTable field in the record's packed storage.

func (*KerxSimpleArrayHeader) SetLeftOffsetTable

func (s *KerxSimpleArrayHeader) SetLeftOffsetTable(v uint32)

SetLeftOffsetTable updates the LeftOffsetTable field in the record's packed storage.

func (*KerxSimpleArrayHeader) SetRightOffsetTable

func (s *KerxSimpleArrayHeader) SetRightOffsetTable(v uint32)

SetRightOffsetTable updates the RightOffsetTable field in the record's packed storage.

func (*KerxSimpleArrayHeader) SetRowWidth

func (s *KerxSimpleArrayHeader) SetRowWidth(v uint32)

SetRowWidth updates the RowWidth field in the record's packed storage.

func (*KerxSimpleArrayHeader) SetTheArray

func (s *KerxSimpleArrayHeader) SetTheArray(v KerxArrayOffset)

SetTheArray updates the TheArray field in the record's packed storage.

func (*KerxSimpleArrayHeader) TheArray

func (s *KerxSimpleArrayHeader) TheArray() KerxArrayOffset

TheArray returns the TheArray field from the record's packed storage.

type KerxStateEntry

type KerxStateEntry struct {
	NewState   uint16
	Flags      uint16
	ValueIndex uint16
}

KerxStateEntry

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KerxStateEntry

type KerxStateHeader

type KerxStateHeader struct {
	// contains filtered or unexported fields
}

KerxStateHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KerxStateHeader

func (*KerxStateHeader) FirstTable

func (s *KerxStateHeader) FirstTable() [1]uint8

FirstTable returns the FirstTable field from the record's packed storage.

func (*KerxStateHeader) Header

func (s *KerxStateHeader) Header() STXHeader

Header returns the Header field from the record's packed storage.

func (*KerxStateHeader) SetFirstTable

func (s *KerxStateHeader) SetFirstTable(v [1]uint8)

SetFirstTable updates the FirstTable field in the record's packed storage.

func (*KerxStateHeader) SetHeader

func (s *KerxStateHeader) SetHeader(v STXHeader)

SetHeader updates the Header field in the record's packed storage.

func (*KerxStateHeader) SetValueTable

func (s *KerxStateHeader) SetValueTable(v uint32)

SetValueTable updates the ValueTable field in the record's packed storage.

func (*KerxStateHeader) ValueTable

func (s *KerxStateHeader) ValueTable() uint32

ValueTable returns the ValueTable field from the record's packed storage.

type KerxSubtableHeader

type KerxSubtableHeader struct {
	// contains filtered or unexported fields
}

KerxSubtableHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KerxSubtableHeader

func (*KerxSubtableHeader) FsHeader

FsHeader returns the FsHeader field from the record's packed storage.

func (*KerxSubtableHeader) Length

func (s *KerxSubtableHeader) Length() uint32

Length returns the Length field from the record's packed storage.

func (*KerxSubtableHeader) SetFsHeader

func (s *KerxSubtableHeader) SetFsHeader(v KerxFormatSpecificHeader)

SetFsHeader updates the FsHeader field in the record's packed storage.

func (*KerxSubtableHeader) SetLength

func (s *KerxSubtableHeader) SetLength(v uint32)

SetLength updates the Length field in the record's packed storage.

func (*KerxSubtableHeader) SetStInfo

func (s *KerxSubtableHeader) SetStInfo(v KerxSubtableCoverage)

SetStInfo updates the StInfo field in the record's packed storage.

func (*KerxSubtableHeader) SetTupleCount

func (s *KerxSubtableHeader) SetTupleCount(v uint32)

SetTupleCount updates the TupleCount field in the record's packed storage.

func (*KerxSubtableHeader) StInfo

StInfo returns the StInfo field from the record's packed storage.

func (*KerxSubtableHeader) TupleCount

func (s *KerxSubtableHeader) TupleCount() uint32

TupleCount returns the TupleCount field from the record's packed storage.

type KerxTableHeader

type KerxTableHeader struct {
	// contains filtered or unexported fields
}

KerxTableHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KerxTableHeader

func (*KerxTableHeader) FirstSubtable

func (s *KerxTableHeader) FirstSubtable() [1]uint32

FirstSubtable returns the FirstSubtable field from the record's packed storage.

func (*KerxTableHeader) NTables

func (s *KerxTableHeader) NTables() uint32

NTables returns the NTables field from the record's packed storage.

func (*KerxTableHeader) SetFirstSubtable

func (s *KerxTableHeader) SetFirstSubtable(v [1]uint32)

SetFirstSubtable updates the FirstSubtable field in the record's packed storage.

func (*KerxTableHeader) SetNTables

func (s *KerxTableHeader) SetNTables(v uint32)

SetNTables updates the NTables field in the record's packed storage.

func (*KerxTableHeader) SetVersion

func (s *KerxTableHeader) SetVersion(v int32)

SetVersion updates the Version field in the record's packed storage.

func (*KerxTableHeader) Version

func (s *KerxTableHeader) Version() int32

Version returns the Version field from the record's packed storage.

type LcarCaretClassEntry

type LcarCaretClassEntry struct {
	Count    uint16
	Partials [1]uint16
}

LcarCaretClassEntry

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/LcarCaretClassEntry

type LcarCaretTable

type LcarCaretTable struct {
	// contains filtered or unexported fields
}

LcarCaretTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/LcarCaretTable

func (*LcarCaretTable) Format

func (s *LcarCaretTable) Format() uint16

Format returns the Format field from the record's packed storage.

func (*LcarCaretTable) Lookup

func (s *LcarCaretTable) Lookup() SFNTLookupTable

Lookup returns the Lookup field from the record's packed storage.

func (*LcarCaretTable) SetFormat

func (s *LcarCaretTable) SetFormat(v uint16)

SetFormat updates the Format field in the record's packed storage.

func (*LcarCaretTable) SetLookup

func (s *LcarCaretTable) SetLookup(v SFNTLookupTable)

SetLookup updates the Lookup field in the record's packed storage.

func (*LcarCaretTable) SetVersion

func (s *LcarCaretTable) SetVersion(v int32)

SetVersion updates the Version field in the record's packed storage.

func (*LcarCaretTable) Version

func (s *LcarCaretTable) Version() int32

Version returns the Version field from the record's packed storage.

type LtagStringRange

type LtagStringRange struct {
	Offset uint16
	Length uint16
}

LtagStringRange

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/LtagStringRange

type LtagTable

type LtagTable struct {
	// contains filtered or unexported fields
}

LtagTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/LtagTable

func (*LtagTable) Flags

func (s *LtagTable) Flags() uint32

Flags returns the Flags field from the record's packed storage.

func (*LtagTable) NumTags

func (s *LtagTable) NumTags() uint32

NumTags returns the NumTags field from the record's packed storage.

func (*LtagTable) SetFlags

func (s *LtagTable) SetFlags(v uint32)

SetFlags updates the Flags field in the record's packed storage.

func (*LtagTable) SetNumTags

func (s *LtagTable) SetNumTags(v uint32)

SetNumTags updates the NumTags field in the record's packed storage.

func (*LtagTable) SetTagRange

func (s *LtagTable) SetTagRange(v [1]LtagStringRange)

SetTagRange updates the TagRange field in the record's packed storage.

func (*LtagTable) SetVersion

func (s *LtagTable) SetVersion(v uint32)

SetVersion updates the Version field in the record's packed storage.

func (*LtagTable) TagRange

func (s *LtagTable) TagRange() [1]LtagStringRange

TagRange returns the TagRange field from the record's packed storage.

func (*LtagTable) Version

func (s *LtagTable) Version() uint32

Version returns the Version field from the record's packed storage.

type MortChain

type MortChain struct {
	// contains filtered or unexported fields
}

MortChain

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/MortChain

func (*MortChain) DefaultFlags

func (s *MortChain) DefaultFlags() MortSubtableMaskFlags

DefaultFlags returns the DefaultFlags field from the record's packed storage.

func (*MortChain) FeatureEntries

func (s *MortChain) FeatureEntries() [1]MortFeatureEntry

FeatureEntries returns the FeatureEntries field from the record's packed storage.

func (*MortChain) Length

func (s *MortChain) Length() uint32

Length returns the Length field from the record's packed storage.

func (*MortChain) NFeatures

func (s *MortChain) NFeatures() uint16

NFeatures returns the NFeatures field from the record's packed storage.

func (*MortChain) NSubtables

func (s *MortChain) NSubtables() uint16

NSubtables returns the NSubtables field from the record's packed storage.

func (*MortChain) SetDefaultFlags

func (s *MortChain) SetDefaultFlags(v MortSubtableMaskFlags)

SetDefaultFlags updates the DefaultFlags field in the record's packed storage.

func (*MortChain) SetFeatureEntries

func (s *MortChain) SetFeatureEntries(v [1]MortFeatureEntry)

SetFeatureEntries updates the FeatureEntries field in the record's packed storage.

func (*MortChain) SetLength

func (s *MortChain) SetLength(v uint32)

SetLength updates the Length field in the record's packed storage.

func (*MortChain) SetNFeatures

func (s *MortChain) SetNFeatures(v uint16)

SetNFeatures updates the NFeatures field in the record's packed storage.

func (*MortChain) SetNSubtables

func (s *MortChain) SetNSubtables(v uint16)

SetNSubtables updates the NSubtables field in the record's packed storage.

type MortContextualSubtable

type MortContextualSubtable struct {
	Header                  STHeader
	SubstitutionTableOffset uint16
}

MortContextualSubtable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/MortContextualSubtable

type MortFeatureEntry

type MortFeatureEntry struct {
	// contains filtered or unexported fields
}

MortFeatureEntry

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/MortFeatureEntry

func (*MortFeatureEntry) DisableFlags

func (s *MortFeatureEntry) DisableFlags() MortSubtableMaskFlags

DisableFlags returns the DisableFlags field from the record's packed storage.

func (*MortFeatureEntry) EnableFlags

func (s *MortFeatureEntry) EnableFlags() MortSubtableMaskFlags

EnableFlags returns the EnableFlags field from the record's packed storage.

func (*MortFeatureEntry) FeatureSelector

func (s *MortFeatureEntry) FeatureSelector() uint16

FeatureSelector returns the FeatureSelector field from the record's packed storage.

func (*MortFeatureEntry) FeatureType

func (s *MortFeatureEntry) FeatureType() uint16

FeatureType returns the FeatureType field from the record's packed storage.

func (*MortFeatureEntry) SetDisableFlags

func (s *MortFeatureEntry) SetDisableFlags(v MortSubtableMaskFlags)

SetDisableFlags updates the DisableFlags field in the record's packed storage.

func (*MortFeatureEntry) SetEnableFlags

func (s *MortFeatureEntry) SetEnableFlags(v MortSubtableMaskFlags)

SetEnableFlags updates the EnableFlags field in the record's packed storage.

func (*MortFeatureEntry) SetFeatureSelector

func (s *MortFeatureEntry) SetFeatureSelector(v uint16)

SetFeatureSelector updates the FeatureSelector field in the record's packed storage.

func (*MortFeatureEntry) SetFeatureType

func (s *MortFeatureEntry) SetFeatureType(v uint16)

SetFeatureType updates the FeatureType field in the record's packed storage.

type MortInsertionSubtable

type MortInsertionSubtable struct {
	Header STHeader
}

MortInsertionSubtable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/MortInsertionSubtable

type MortLigatureSubtable

type MortLigatureSubtable struct {
	Header                    STHeader
	LigatureActionTableOffset uint16
	ComponentTableOffset      uint16
	LigatureTableOffset       uint16
}

MortLigatureSubtable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/MortLigatureSubtable

type MortRearrangementSubtable

type MortRearrangementSubtable struct {
	Header STHeader
}

MortRearrangementSubtable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/MortRearrangementSubtable

type MortSpecificSubtable

type MortSpecificSubtable struct {
	Rearrangement MortRearrangementSubtable
	Contextual    MortContextualSubtable
	Ligature      MortLigatureSubtable
	Swash         MortSwashSubtable
	Insertion     MortInsertionSubtable
}

MortSpecificSubtable

type MortSubtable

type MortSubtable struct {
	// contains filtered or unexported fields
}

MortSubtable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/MortSubtable

func (*MortSubtable) Coverage

func (s *MortSubtable) Coverage() uint16

Coverage returns the Coverage field from the record's packed storage.

func (*MortSubtable) Flags

Flags returns the Flags field from the record's packed storage.

func (*MortSubtable) Length

func (s *MortSubtable) Length() uint16

Length returns the Length field from the record's packed storage.

func (*MortSubtable) SetCoverage

func (s *MortSubtable) SetCoverage(v uint16)

SetCoverage updates the Coverage field in the record's packed storage.

func (*MortSubtable) SetFlags

func (s *MortSubtable) SetFlags(v MortSubtableMaskFlags)

SetFlags updates the Flags field in the record's packed storage.

func (*MortSubtable) SetLength

func (s *MortSubtable) SetLength(v uint16)

SetLength updates the Length field in the record's packed storage.

func (*MortSubtable) SetU

SetU updates the U field in the record's packed storage.

func (*MortSubtable) U

U returns the U field from the record's packed storage.

type MortSwashSubtable

type MortSwashSubtable struct {
	Lookup SFNTLookupTable
}

MortSwashSubtable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/MortSwashSubtable

type MortTable

type MortTable struct {
	// contains filtered or unexported fields
}

MortTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/MortTable

func (*MortTable) Chains

func (s *MortTable) Chains() [1]MortChain

Chains returns the Chains field from the record's packed storage.

func (*MortTable) NChains

func (s *MortTable) NChains() uint32

NChains returns the NChains field from the record's packed storage.

func (*MortTable) SetChains

func (s *MortTable) SetChains(v [1]MortChain)

SetChains updates the Chains field in the record's packed storage.

func (*MortTable) SetNChains

func (s *MortTable) SetNChains(v uint32)

SetNChains updates the NChains field in the record's packed storage.

func (*MortTable) SetVersion

func (s *MortTable) SetVersion(v int32)

SetVersion updates the Version field in the record's packed storage.

func (*MortTable) Version

func (s *MortTable) Version() int32

Version returns the Version field from the record's packed storage.

type MorxChain

type MorxChain struct {
	// contains filtered or unexported fields
}

MorxChain

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/MorxChain

func (*MorxChain) DefaultFlags

func (s *MorxChain) DefaultFlags() MortSubtableMaskFlags

DefaultFlags returns the DefaultFlags field from the record's packed storage.

func (*MorxChain) FeatureEntries

func (s *MorxChain) FeatureEntries() [1]MortFeatureEntry

FeatureEntries returns the FeatureEntries field from the record's packed storage.

func (*MorxChain) Length

func (s *MorxChain) Length() uint32

Length returns the Length field from the record's packed storage.

func (*MorxChain) NFeatures

func (s *MorxChain) NFeatures() uint32

NFeatures returns the NFeatures field from the record's packed storage.

func (*MorxChain) NSubtables

func (s *MorxChain) NSubtables() uint32

NSubtables returns the NSubtables field from the record's packed storage.

func (*MorxChain) SetDefaultFlags

func (s *MorxChain) SetDefaultFlags(v MortSubtableMaskFlags)

SetDefaultFlags updates the DefaultFlags field in the record's packed storage.

func (*MorxChain) SetFeatureEntries

func (s *MorxChain) SetFeatureEntries(v [1]MortFeatureEntry)

SetFeatureEntries updates the FeatureEntries field in the record's packed storage.

func (*MorxChain) SetLength

func (s *MorxChain) SetLength(v uint32)

SetLength updates the Length field in the record's packed storage.

func (*MorxChain) SetNFeatures

func (s *MorxChain) SetNFeatures(v uint32)

SetNFeatures updates the NFeatures field in the record's packed storage.

func (*MorxChain) SetNSubtables

func (s *MorxChain) SetNSubtables(v uint32)

SetNSubtables updates the NSubtables field in the record's packed storage.

type MorxContextualSubtable

type MorxContextualSubtable struct {
	// contains filtered or unexported fields
}

MorxContextualSubtable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/MorxContextualSubtable

func (*MorxContextualSubtable) Header

func (s *MorxContextualSubtable) Header() STXHeader

Header returns the Header field from the record's packed storage.

func (*MorxContextualSubtable) SetHeader

func (s *MorxContextualSubtable) SetHeader(v STXHeader)

SetHeader updates the Header field in the record's packed storage.

func (*MorxContextualSubtable) SetSubstitutionTableOffset

func (s *MorxContextualSubtable) SetSubstitutionTableOffset(v uint32)

SetSubstitutionTableOffset updates the SubstitutionTableOffset field in the record's packed storage.

func (*MorxContextualSubtable) SubstitutionTableOffset

func (s *MorxContextualSubtable) SubstitutionTableOffset() uint32

SubstitutionTableOffset returns the SubstitutionTableOffset field from the record's packed storage.

type MorxInsertionSubtable

type MorxInsertionSubtable struct {
	// contains filtered or unexported fields
}

MorxInsertionSubtable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/MorxInsertionSubtable

func (*MorxInsertionSubtable) Header

func (s *MorxInsertionSubtable) Header() STXHeader

Header returns the Header field from the record's packed storage.

func (*MorxInsertionSubtable) InsertionGlyphTableOffset

func (s *MorxInsertionSubtable) InsertionGlyphTableOffset() uint32

InsertionGlyphTableOffset returns the InsertionGlyphTableOffset field from the record's packed storage.

func (*MorxInsertionSubtable) SetHeader

func (s *MorxInsertionSubtable) SetHeader(v STXHeader)

SetHeader updates the Header field in the record's packed storage.

func (*MorxInsertionSubtable) SetInsertionGlyphTableOffset

func (s *MorxInsertionSubtable) SetInsertionGlyphTableOffset(v uint32)

SetInsertionGlyphTableOffset updates the InsertionGlyphTableOffset field in the record's packed storage.

type MorxLigatureSubtable

type MorxLigatureSubtable struct {
	// contains filtered or unexported fields
}

MorxLigatureSubtable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/MorxLigatureSubtable

func (*MorxLigatureSubtable) ComponentTableOffset

func (s *MorxLigatureSubtable) ComponentTableOffset() uint32

ComponentTableOffset returns the ComponentTableOffset field from the record's packed storage.

func (*MorxLigatureSubtable) Header

func (s *MorxLigatureSubtable) Header() STXHeader

Header returns the Header field from the record's packed storage.

func (*MorxLigatureSubtable) LigatureActionTableOffset

func (s *MorxLigatureSubtable) LigatureActionTableOffset() uint32

LigatureActionTableOffset returns the LigatureActionTableOffset field from the record's packed storage.

func (*MorxLigatureSubtable) LigatureTableOffset

func (s *MorxLigatureSubtable) LigatureTableOffset() uint32

LigatureTableOffset returns the LigatureTableOffset field from the record's packed storage.

func (*MorxLigatureSubtable) SetComponentTableOffset

func (s *MorxLigatureSubtable) SetComponentTableOffset(v uint32)

SetComponentTableOffset updates the ComponentTableOffset field in the record's packed storage.

func (*MorxLigatureSubtable) SetHeader

func (s *MorxLigatureSubtable) SetHeader(v STXHeader)

SetHeader updates the Header field in the record's packed storage.

func (*MorxLigatureSubtable) SetLigatureActionTableOffset

func (s *MorxLigatureSubtable) SetLigatureActionTableOffset(v uint32)

SetLigatureActionTableOffset updates the LigatureActionTableOffset field in the record's packed storage.

func (*MorxLigatureSubtable) SetLigatureTableOffset

func (s *MorxLigatureSubtable) SetLigatureTableOffset(v uint32)

SetLigatureTableOffset updates the LigatureTableOffset field in the record's packed storage.

type MorxRearrangementSubtable

type MorxRearrangementSubtable struct {
	// contains filtered or unexported fields
}

MorxRearrangementSubtable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/MorxRearrangementSubtable

func (*MorxRearrangementSubtable) Header

Header returns the Header field from the record's packed storage.

func (*MorxRearrangementSubtable) SetHeader

func (s *MorxRearrangementSubtable) SetHeader(v STXHeader)

SetHeader updates the Header field in the record's packed storage.

type MorxSpecificSubtable

type MorxSpecificSubtable struct {
	// contains filtered or unexported fields
}

MorxSpecificSubtable

func (*MorxSpecificSubtable) Contextual

Contextual returns the Contextual field from the record's packed storage.

func (*MorxSpecificSubtable) Insertion

Insertion returns the Insertion field from the record's packed storage.

func (*MorxSpecificSubtable) Ligature

Ligature returns the Ligature field from the record's packed storage.

func (*MorxSpecificSubtable) Rearrangement

Rearrangement returns the Rearrangement field from the record's packed storage.

func (*MorxSpecificSubtable) SetContextual

func (s *MorxSpecificSubtable) SetContextual(v MorxContextualSubtable)

SetContextual updates the Contextual field in the record's packed storage.

func (*MorxSpecificSubtable) SetInsertion

func (s *MorxSpecificSubtable) SetInsertion(v MorxInsertionSubtable)

SetInsertion updates the Insertion field in the record's packed storage.

func (*MorxSpecificSubtable) SetLigature

func (s *MorxSpecificSubtable) SetLigature(v MorxLigatureSubtable)

SetLigature updates the Ligature field in the record's packed storage.

func (*MorxSpecificSubtable) SetRearrangement

func (s *MorxSpecificSubtable) SetRearrangement(v MorxRearrangementSubtable)

SetRearrangement updates the Rearrangement field in the record's packed storage.

func (*MorxSpecificSubtable) SetSwash

func (s *MorxSpecificSubtable) SetSwash(v MortSwashSubtable)

SetSwash updates the Swash field in the record's packed storage.

func (*MorxSpecificSubtable) Swash

Swash returns the Swash field from the record's packed storage.

type MorxSubtable

type MorxSubtable struct {
	// contains filtered or unexported fields
}

MorxSubtable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/MorxSubtable

func (*MorxSubtable) Coverage

func (s *MorxSubtable) Coverage() uint32

Coverage returns the Coverage field from the record's packed storage.

func (*MorxSubtable) Flags

Flags returns the Flags field from the record's packed storage.

func (*MorxSubtable) Length

func (s *MorxSubtable) Length() uint32

Length returns the Length field from the record's packed storage.

func (*MorxSubtable) SetCoverage

func (s *MorxSubtable) SetCoverage(v uint32)

SetCoverage updates the Coverage field in the record's packed storage.

func (*MorxSubtable) SetFlags

func (s *MorxSubtable) SetFlags(v MortSubtableMaskFlags)

SetFlags updates the Flags field in the record's packed storage.

func (*MorxSubtable) SetLength

func (s *MorxSubtable) SetLength(v uint32)

SetLength updates the Length field in the record's packed storage.

func (*MorxSubtable) SetU

SetU updates the U field in the record's packed storage.

func (*MorxSubtable) U

U returns the U field from the record's packed storage.

type MorxTable

type MorxTable struct {
	// contains filtered or unexported fields
}

MorxTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/MorxTable

func (*MorxTable) Chains

func (s *MorxTable) Chains() [1]MorxChain

Chains returns the Chains field from the record's packed storage.

func (*MorxTable) NChains

func (s *MorxTable) NChains() uint32

NChains returns the NChains field from the record's packed storage.

func (*MorxTable) SetChains

func (s *MorxTable) SetChains(v [1]MorxChain)

SetChains updates the Chains field in the record's packed storage.

func (*MorxTable) SetNChains

func (s *MorxTable) SetNChains(v uint32)

SetNChains updates the NChains field in the record's packed storage.

func (*MorxTable) SetVersion

func (s *MorxTable) SetVersion(v int32)

SetVersion updates the Version field in the record's packed storage.

func (*MorxTable) Version

func (s *MorxTable) Version() int32

Version returns the Version field from the record's packed storage.

type OpbdSideValues

type OpbdSideValues struct {
	LeftSideShift   int16
	TopSideShift    int16
	RightSideShift  int16
	BottomSideShift int16
}

OpbdSideValues

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/OpbdSideValues

type OpbdTable

type OpbdTable struct {
	// contains filtered or unexported fields
}

OpbdTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/OpbdTable

func (*OpbdTable) Format

func (s *OpbdTable) Format() OpbdTableFormat

Format returns the Format field from the record's packed storage.

func (*OpbdTable) LookupTable

func (s *OpbdTable) LookupTable() SFNTLookupTable

LookupTable returns the LookupTable field from the record's packed storage.

func (*OpbdTable) SetFormat

func (s *OpbdTable) SetFormat(v OpbdTableFormat)

SetFormat updates the Format field in the record's packed storage.

func (*OpbdTable) SetLookupTable

func (s *OpbdTable) SetLookupTable(v SFNTLookupTable)

SetLookupTable updates the LookupTable field in the record's packed storage.

func (*OpbdTable) SetVersion

func (s *OpbdTable) SetVersion(v int32)

SetVersion updates the Version field in the record's packed storage.

func (*OpbdTable) Version

func (s *OpbdTable) Version() int32

Version returns the Version field from the record's packed storage.

type PropLookupSegment

type PropLookupSegment struct {
	LastGlyph  uint16
	FirstGlyph uint16
	Value      uint16
}

PropLookupSegment

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/PropLookupSegment

type PropLookupSingle

type PropLookupSingle struct {
	Glyph uint16
	Props PropCharProperties
}

PropLookupSingle

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/PropLookupSingle

type PropTable

type PropTable struct {
	// contains filtered or unexported fields
}

PropTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/PropTable

func (*PropTable) DefaultProps

func (s *PropTable) DefaultProps() PropCharProperties

DefaultProps returns the DefaultProps field from the record's packed storage.

func (*PropTable) Format

func (s *PropTable) Format() uint16

Format returns the Format field from the record's packed storage.

func (*PropTable) Lookup

func (s *PropTable) Lookup() SFNTLookupTable

Lookup returns the Lookup field from the record's packed storage.

func (*PropTable) SetDefaultProps

func (s *PropTable) SetDefaultProps(v PropCharProperties)

SetDefaultProps updates the DefaultProps field in the record's packed storage.

func (*PropTable) SetFormat

func (s *PropTable) SetFormat(v uint16)

SetFormat updates the Format field in the record's packed storage.

func (*PropTable) SetLookup

func (s *PropTable) SetLookup(v SFNTLookupTable)

SetLookup updates the Lookup field in the record's packed storage.

func (*PropTable) SetVersion

func (s *PropTable) SetVersion(v int32)

SetVersion updates the Version field in the record's packed storage.

func (*PropTable) Version

func (s *PropTable) Version() int32

Version returns the Version field from the record's packed storage.

type ROTAGlyphEntry

type ROTAGlyphEntry struct {
	GlyphIndexOffset int16
	HBaselineOffset  int16
	VBaselineOffset  int16
}

ROTAGlyphEntry

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/ROTAGlyphEntry

type ROTAHeader

type ROTAHeader struct {
	// contains filtered or unexported fields
}

ROTAHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/ROTAHeader

func (*ROTAHeader) FirstGlyph

func (s *ROTAHeader) FirstGlyph() uint16

FirstGlyph returns the FirstGlyph field from the record's packed storage.

func (*ROTAHeader) Flags

func (s *ROTAHeader) Flags() uint16

Flags returns the Flags field from the record's packed storage.

func (*ROTAHeader) LastGlyph

func (s *ROTAHeader) LastGlyph() uint16

LastGlyph returns the LastGlyph field from the record's packed storage.

func (*ROTAHeader) Lookup

func (s *ROTAHeader) Lookup() SFNTLookupTable

Lookup returns the Lookup field from the record's packed storage.

func (*ROTAHeader) NMasters

func (s *ROTAHeader) NMasters() uint16

NMasters returns the NMasters field from the record's packed storage.

func (*ROTAHeader) SetFirstGlyph

func (s *ROTAHeader) SetFirstGlyph(v uint16)

SetFirstGlyph updates the FirstGlyph field in the record's packed storage.

func (*ROTAHeader) SetFlags

func (s *ROTAHeader) SetFlags(v uint16)

SetFlags updates the Flags field in the record's packed storage.

func (*ROTAHeader) SetLastGlyph

func (s *ROTAHeader) SetLastGlyph(v uint16)

SetLastGlyph updates the LastGlyph field in the record's packed storage.

func (*ROTAHeader) SetLookup

func (s *ROTAHeader) SetLookup(v SFNTLookupTable)

SetLookup updates the Lookup field in the record's packed storage.

func (*ROTAHeader) SetNMasters

func (s *ROTAHeader) SetNMasters(v uint16)

SetNMasters updates the NMasters field in the record's packed storage.

func (*ROTAHeader) SetVersion

func (s *ROTAHeader) SetVersion(v int32)

SetVersion updates the Version field in the record's packed storage.

func (*ROTAHeader) Version

func (s *ROTAHeader) Version() int32

Version returns the Version field from the record's packed storage.

type SFNTLookupArrayHeader

type SFNTLookupArrayHeader struct {
	LookupValues [1]SFNTLookupValue
}

SFNTLookupArrayHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/SFNTLookupArrayHeader

type SFNTLookupBinarySearchHeader

type SFNTLookupBinarySearchHeader struct {
	UnitSize      uint16
	NUnits        uint16
	SearchRange   uint16
	EntrySelector uint16
	RangeShift    uint16
}

SFNTLookupBinarySearchHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/SFNTLookupBinarySearchHeader

type SFNTLookupFormatSpecificHeader

type SFNTLookupFormatSpecificHeader struct {
	TheArray     SFNTLookupArrayHeader
	Segment      SFNTLookupSegmentHeader
	Single       SFNTLookupSingleHeader
	TrimmedArray SFNTLookupTrimmedArrayHeader
	Vector       SFNTLookupVectorHeader
}

SFNTLookupFormatSpecificHeader

type SFNTLookupSegment

type SFNTLookupSegment struct {
	LastGlyph  uint16
	FirstGlyph uint16
	Value      [1]uint16
}

SFNTLookupSegment

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/SFNTLookupSegment

type SFNTLookupSegmentHeader

type SFNTLookupSegmentHeader struct {
	BinSearch SFNTLookupBinarySearchHeader
	Segments  [1]SFNTLookupSegment
}

SFNTLookupSegmentHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/SFNTLookupSegmentHeader

type SFNTLookupSingle

type SFNTLookupSingle struct {
	Glyph uint16
	Value [1]uint16
}

SFNTLookupSingle

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/SFNTLookupSingle

type SFNTLookupSingleHeader

type SFNTLookupSingleHeader struct {
	BinSearch SFNTLookupBinarySearchHeader
	Entries   [1]SFNTLookupSingle
}

SFNTLookupSingleHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/SFNTLookupSingleHeader

type SFNTLookupTable

type SFNTLookupTable struct {
	Format   SFNTLookupTableFormat
	FsHeader SFNTLookupFormatSpecificHeader
}

SFNTLookupTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/SFNTLookupTable

type SFNTLookupTrimmedArrayHeader

type SFNTLookupTrimmedArrayHeader struct {
	FirstGlyph uint16
	Count      uint16
	ValueArray [1]SFNTLookupValue
}

SFNTLookupTrimmedArrayHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/SFNTLookupTrimmedArrayHeader

type SFNTLookupVectorHeader

type SFNTLookupVectorHeader struct {
	ValueSize  uint16
	FirstGlyph uint16
	Count      uint16
	Values     [1]uint8
}

SFNTLookupVectorHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/SFNTLookupVectorHeader

type STClassTable

type STClassTable struct {
	FirstGlyph uint16
	NGlyphs    uint16
	Classes    [1]STClass
}

STClassTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/STClassTable

type STEntryOne

type STEntryOne struct {
	NewState uint16
	Flags    uint16
	Offset1  uint16
}

STEntryOne

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/STEntryOne

type STEntryTwo

type STEntryTwo struct {
	NewState uint16
	Flags    uint16
	Offset1  uint16
	Offset2  uint16
}

STEntryTwo

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/STEntryTwo

type STEntryZero

type STEntryZero struct {
	NewState uint16
	Flags    uint16
}

STEntryZero

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/STEntryZero

type STHeader

type STHeader struct {
	Filler           uint8
	NClasses         STClass
	ClassTableOffset uint16
	StateArrayOffset uint16
	EntryTableOffset uint16
}

STHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/STHeader

type STXEntryOne

type STXEntryOne struct {
	NewState STXStateIndex
	Flags    uint16
	Index1   uint16
}

STXEntryOne

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/STXEntryOne

type STXEntryTwo

type STXEntryTwo struct {
	NewState STXStateIndex
	Flags    uint16
	Index1   uint16
	Index2   uint16
}

STXEntryTwo

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/STXEntryTwo

type STXEntryZero

type STXEntryZero struct {
	NewState STXStateIndex
	Flags    uint16
}

STXEntryZero

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/STXEntryZero

type STXHeader

type STXHeader struct {
	// contains filtered or unexported fields
}

STXHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/STXHeader

func (*STXHeader) ClassTableOffset

func (s *STXHeader) ClassTableOffset() uint32

ClassTableOffset returns the ClassTableOffset field from the record's packed storage.

func (*STXHeader) EntryTableOffset

func (s *STXHeader) EntryTableOffset() uint32

EntryTableOffset returns the EntryTableOffset field from the record's packed storage.

func (*STXHeader) NClasses

func (s *STXHeader) NClasses() uint32

NClasses returns the NClasses field from the record's packed storage.

func (*STXHeader) SetClassTableOffset

func (s *STXHeader) SetClassTableOffset(v uint32)

SetClassTableOffset updates the ClassTableOffset field in the record's packed storage.

func (*STXHeader) SetEntryTableOffset

func (s *STXHeader) SetEntryTableOffset(v uint32)

SetEntryTableOffset updates the EntryTableOffset field in the record's packed storage.

func (*STXHeader) SetNClasses

func (s *STXHeader) SetNClasses(v uint32)

SetNClasses updates the NClasses field in the record's packed storage.

func (*STXHeader) SetStateArrayOffset

func (s *STXHeader) SetStateArrayOffset(v uint32)

SetStateArrayOffset updates the StateArrayOffset field in the record's packed storage.

func (*STXHeader) StateArrayOffset

func (s *STXHeader) StateArrayOffset() uint32

StateArrayOffset returns the StateArrayOffset field from the record's packed storage.

type SfntCMapEncoding

type SfntCMapEncoding struct {
	// contains filtered or unexported fields
}

SfntCMapEncoding

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/sfntCMapEncoding

func (*SfntCMapEncoding) Offset

func (s *SfntCMapEncoding) Offset() uint32

Offset returns the Offset field from the record's packed storage.

func (*SfntCMapEncoding) PlatformID

func (s *SfntCMapEncoding) PlatformID() uint16

PlatformID returns the PlatformID field from the record's packed storage.

func (*SfntCMapEncoding) ScriptID

func (s *SfntCMapEncoding) ScriptID() uint16

ScriptID returns the ScriptID field from the record's packed storage.

func (*SfntCMapEncoding) SetOffset

func (s *SfntCMapEncoding) SetOffset(v uint32)

SetOffset updates the Offset field in the record's packed storage.

func (*SfntCMapEncoding) SetPlatformID

func (s *SfntCMapEncoding) SetPlatformID(v uint16)

SetPlatformID updates the PlatformID field in the record's packed storage.

func (*SfntCMapEncoding) SetScriptID

func (s *SfntCMapEncoding) SetScriptID(v uint16)

SetScriptID updates the ScriptID field in the record's packed storage.

type SfntCMapExtendedSubHeader

type SfntCMapExtendedSubHeader struct {
	// contains filtered or unexported fields
}

SfntCMapExtendedSubHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/sfntCMapExtendedSubHeader

func (*SfntCMapExtendedSubHeader) Format

func (s *SfntCMapExtendedSubHeader) Format() uint16

Format returns the Format field from the record's packed storage.

func (*SfntCMapExtendedSubHeader) Language

func (s *SfntCMapExtendedSubHeader) Language() uint32

Language returns the Language field from the record's packed storage.

func (*SfntCMapExtendedSubHeader) Length

func (s *SfntCMapExtendedSubHeader) Length() uint32

Length returns the Length field from the record's packed storage.

func (*SfntCMapExtendedSubHeader) Reserved

func (s *SfntCMapExtendedSubHeader) Reserved() uint16

Reserved returns the Reserved field from the record's packed storage.

func (*SfntCMapExtendedSubHeader) SetFormat

func (s *SfntCMapExtendedSubHeader) SetFormat(v uint16)

SetFormat updates the Format field in the record's packed storage.

func (*SfntCMapExtendedSubHeader) SetLanguage

func (s *SfntCMapExtendedSubHeader) SetLanguage(v uint32)

SetLanguage updates the Language field in the record's packed storage.

func (*SfntCMapExtendedSubHeader) SetLength

func (s *SfntCMapExtendedSubHeader) SetLength(v uint32)

SetLength updates the Length field in the record's packed storage.

func (*SfntCMapExtendedSubHeader) SetReserved

func (s *SfntCMapExtendedSubHeader) SetReserved(v uint16)

SetReserved updates the Reserved field in the record's packed storage.

type SfntCMapHeader

type SfntCMapHeader struct {
	Version   uint16
	NumTables uint16
	Encoding  [1]SfntCMapEncoding
}

SfntCMapHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/sfntCMapHeader

type SfntCMapSubHeader

type SfntCMapSubHeader struct {
	Format     uint16
	Length     uint16
	LanguageID uint16
}

SfntCMapSubHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/sfntCMapSubHeader

type SfntDescriptorHeader

type SfntDescriptorHeader struct {
	// contains filtered or unexported fields
}

SfntDescriptorHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/sfntDescriptorHeader

func (*SfntDescriptorHeader) Descriptor

func (s *SfntDescriptorHeader) Descriptor() [1]SfntFontDescriptor

Descriptor returns the Descriptor field from the record's packed storage.

func (*SfntDescriptorHeader) DescriptorCount

func (s *SfntDescriptorHeader) DescriptorCount() int32

DescriptorCount returns the DescriptorCount field from the record's packed storage.

func (*SfntDescriptorHeader) SetDescriptor

func (s *SfntDescriptorHeader) SetDescriptor(v [1]SfntFontDescriptor)

SetDescriptor updates the Descriptor field in the record's packed storage.

func (*SfntDescriptorHeader) SetDescriptorCount

func (s *SfntDescriptorHeader) SetDescriptorCount(v int32)

SetDescriptorCount updates the DescriptorCount field in the record's packed storage.

func (*SfntDescriptorHeader) SetVersion

func (s *SfntDescriptorHeader) SetVersion(v int32)

SetVersion updates the Version field in the record's packed storage.

func (*SfntDescriptorHeader) Version

func (s *SfntDescriptorHeader) Version() int32

Version returns the Version field from the record's packed storage.

type SfntDirectory

type SfntDirectory struct {
	// contains filtered or unexported fields
}

SfntDirectory

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/sfntDirectory

func (*SfntDirectory) EntrySelector

func (s *SfntDirectory) EntrySelector() uint16

EntrySelector returns the EntrySelector field from the record's packed storage.

func (*SfntDirectory) Format

func (s *SfntDirectory) Format() uint32

Format returns the Format field from the record's packed storage.

func (*SfntDirectory) NumOffsets

func (s *SfntDirectory) NumOffsets() uint16

NumOffsets returns the NumOffsets field from the record's packed storage.

func (*SfntDirectory) RangeShift

func (s *SfntDirectory) RangeShift() uint16

RangeShift returns the RangeShift field from the record's packed storage.

func (*SfntDirectory) SearchRange

func (s *SfntDirectory) SearchRange() uint16

SearchRange returns the SearchRange field from the record's packed storage.

func (*SfntDirectory) SetEntrySelector

func (s *SfntDirectory) SetEntrySelector(v uint16)

SetEntrySelector updates the EntrySelector field in the record's packed storage.

func (*SfntDirectory) SetFormat

func (s *SfntDirectory) SetFormat(v uint32)

SetFormat updates the Format field in the record's packed storage.

func (*SfntDirectory) SetNumOffsets

func (s *SfntDirectory) SetNumOffsets(v uint16)

SetNumOffsets updates the NumOffsets field in the record's packed storage.

func (*SfntDirectory) SetRangeShift

func (s *SfntDirectory) SetRangeShift(v uint16)

SetRangeShift updates the RangeShift field in the record's packed storage.

func (*SfntDirectory) SetSearchRange

func (s *SfntDirectory) SetSearchRange(v uint16)

SetSearchRange updates the SearchRange field in the record's packed storage.

func (*SfntDirectory) SetTable

func (s *SfntDirectory) SetTable(v [1]SfntDirectoryEntry)

SetTable updates the Table field in the record's packed storage.

func (*SfntDirectory) Table

func (s *SfntDirectory) Table() [1]SfntDirectoryEntry

Table returns the Table field from the record's packed storage.

type SfntDirectoryEntry

type SfntDirectoryEntry struct {
	// contains filtered or unexported fields
}

SfntDirectoryEntry

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/sfntDirectoryEntry

func (*SfntDirectoryEntry) CheckSum

func (s *SfntDirectoryEntry) CheckSum() uint32

CheckSum returns the CheckSum field from the record's packed storage.

func (*SfntDirectoryEntry) Length

func (s *SfntDirectoryEntry) Length() uint32

Length returns the Length field from the record's packed storage.

func (*SfntDirectoryEntry) Offset

func (s *SfntDirectoryEntry) Offset() uint32

Offset returns the Offset field from the record's packed storage.

func (*SfntDirectoryEntry) SetCheckSum

func (s *SfntDirectoryEntry) SetCheckSum(v uint32)

SetCheckSum updates the CheckSum field in the record's packed storage.

func (*SfntDirectoryEntry) SetLength

func (s *SfntDirectoryEntry) SetLength(v uint32)

SetLength updates the Length field in the record's packed storage.

func (*SfntDirectoryEntry) SetOffset

func (s *SfntDirectoryEntry) SetOffset(v uint32)

SetOffset updates the Offset field in the record's packed storage.

func (*SfntDirectoryEntry) SetTableTag

func (s *SfntDirectoryEntry) SetTableTag(v uint32)

SetTableTag updates the TableTag field in the record's packed storage.

func (*SfntDirectoryEntry) TableTag

func (s *SfntDirectoryEntry) TableTag() uint32

TableTag returns the TableTag field from the record's packed storage.

type SfntFeatureHeader

type SfntFeatureHeader struct {
	// contains filtered or unexported fields
}

SfntFeatureHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/sfntFeatureHeader

func (*SfntFeatureHeader) FeatureNameCount

func (s *SfntFeatureHeader) FeatureNameCount() uint16

FeatureNameCount returns the FeatureNameCount field from the record's packed storage.

func (*SfntFeatureHeader) FeatureSetCount

func (s *SfntFeatureHeader) FeatureSetCount() uint16

FeatureSetCount returns the FeatureSetCount field from the record's packed storage.

func (*SfntFeatureHeader) Names

func (s *SfntFeatureHeader) Names() [1]SfntFeatureName

Names returns the Names field from the record's packed storage.

func (*SfntFeatureHeader) Reserved

func (s *SfntFeatureHeader) Reserved() int32

Reserved returns the Reserved field from the record's packed storage.

func (*SfntFeatureHeader) Runs

Runs returns the Runs field from the record's packed storage.

func (*SfntFeatureHeader) SetFeatureNameCount

func (s *SfntFeatureHeader) SetFeatureNameCount(v uint16)

SetFeatureNameCount updates the FeatureNameCount field in the record's packed storage.

func (*SfntFeatureHeader) SetFeatureSetCount

func (s *SfntFeatureHeader) SetFeatureSetCount(v uint16)

SetFeatureSetCount updates the FeatureSetCount field in the record's packed storage.

func (*SfntFeatureHeader) SetNames

func (s *SfntFeatureHeader) SetNames(v [1]SfntFeatureName)

SetNames updates the Names field in the record's packed storage.

func (*SfntFeatureHeader) SetReserved

func (s *SfntFeatureHeader) SetReserved(v int32)

SetReserved updates the Reserved field in the record's packed storage.

func (*SfntFeatureHeader) SetRuns

func (s *SfntFeatureHeader) SetRuns(v [1]SfntFontRunFeature)

SetRuns updates the Runs field in the record's packed storage.

func (*SfntFeatureHeader) SetSettings

func (s *SfntFeatureHeader) SetSettings(v [1]SfntFontFeatureSetting)

SetSettings updates the Settings field in the record's packed storage.

func (*SfntFeatureHeader) SetVersion

func (s *SfntFeatureHeader) SetVersion(v int32)

SetVersion updates the Version field in the record's packed storage.

func (*SfntFeatureHeader) Settings

func (s *SfntFeatureHeader) Settings() [1]SfntFontFeatureSetting

Settings returns the Settings field from the record's packed storage.

func (*SfntFeatureHeader) Version

func (s *SfntFeatureHeader) Version() int32

Version returns the Version field from the record's packed storage.

type SfntFeatureName

type SfntFeatureName struct {
	// contains filtered or unexported fields
}

SfntFeatureName

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/sfntFeatureName

func (*SfntFeatureName) FeatureFlags

func (s *SfntFeatureName) FeatureFlags() uint16

FeatureFlags returns the FeatureFlags field from the record's packed storage.

func (*SfntFeatureName) FeatureType

func (s *SfntFeatureName) FeatureType() uint16

FeatureType returns the FeatureType field from the record's packed storage.

func (*SfntFeatureName) NameID

func (s *SfntFeatureName) NameID() int16

NameID returns the NameID field from the record's packed storage.

func (*SfntFeatureName) OffsetToSettings

func (s *SfntFeatureName) OffsetToSettings() int32

OffsetToSettings returns the OffsetToSettings field from the record's packed storage.

func (*SfntFeatureName) SetFeatureFlags

func (s *SfntFeatureName) SetFeatureFlags(v uint16)

SetFeatureFlags updates the FeatureFlags field in the record's packed storage.

func (*SfntFeatureName) SetFeatureType

func (s *SfntFeatureName) SetFeatureType(v uint16)

SetFeatureType updates the FeatureType field in the record's packed storage.

func (*SfntFeatureName) SetNameID

func (s *SfntFeatureName) SetNameID(v int16)

SetNameID updates the NameID field in the record's packed storage.

func (*SfntFeatureName) SetOffsetToSettings

func (s *SfntFeatureName) SetOffsetToSettings(v int32)

SetOffsetToSettings updates the OffsetToSettings field in the record's packed storage.

func (*SfntFeatureName) SetSettingCount

func (s *SfntFeatureName) SetSettingCount(v uint16)

SetSettingCount updates the SettingCount field in the record's packed storage.

func (*SfntFeatureName) SettingCount

func (s *SfntFeatureName) SettingCount() uint16

SettingCount returns the SettingCount field from the record's packed storage.

type SfntFontDescriptor

type SfntFontDescriptor struct {
	// contains filtered or unexported fields
}

SfntFontDescriptor

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/sfntFontDescriptor

func (*SfntFontDescriptor) Name

func (s *SfntFontDescriptor) Name() uint32

Name returns the Name field from the record's packed storage.

func (*SfntFontDescriptor) SetName

func (s *SfntFontDescriptor) SetName(v uint32)

SetName updates the Name field in the record's packed storage.

func (*SfntFontDescriptor) SetValue

func (s *SfntFontDescriptor) SetValue(v int32)

SetValue updates the Value field in the record's packed storage.

func (*SfntFontDescriptor) Value

func (s *SfntFontDescriptor) Value() int32

Value returns the Value field from the record's packed storage.

type SfntFontFeatureSetting

type SfntFontFeatureSetting struct {
	Setting uint16
	NameID  int16
}

SfntFontFeatureSetting

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/sfntFontFeatureSetting

type SfntFontRunFeature

type SfntFontRunFeature struct {
	FeatureType uint16
	Setting     uint16
}

SfntFontRunFeature

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/sfntFontRunFeature

type SfntInstance

type SfntInstance struct {
	// contains filtered or unexported fields
}

SfntInstance

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/sfntInstance

func (*SfntInstance) Coord

func (s *SfntInstance) Coord() [1]int32

Coord returns the Coord field from the record's packed storage.

func (*SfntInstance) Flags

func (s *SfntInstance) Flags() int16

Flags returns the Flags field from the record's packed storage.

func (*SfntInstance) NameID

func (s *SfntInstance) NameID() int16

NameID returns the NameID field from the record's packed storage.

func (*SfntInstance) SetCoord

func (s *SfntInstance) SetCoord(v [1]int32)

SetCoord updates the Coord field in the record's packed storage.

func (*SfntInstance) SetFlags

func (s *SfntInstance) SetFlags(v int16)

SetFlags updates the Flags field in the record's packed storage.

func (*SfntInstance) SetNameID

func (s *SfntInstance) SetNameID(v int16)

SetNameID updates the NameID field in the record's packed storage.

type SfntNameHeader

type SfntNameHeader struct {
	Format       uint16
	Count        uint16
	StringOffset uint16
	Rec          [1]SfntNameRecord
}

SfntNameHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/sfntNameHeader

type SfntNameRecord

type SfntNameRecord struct {
	PlatformID uint16
	ScriptID   uint16
	LanguageID uint16
	NameID     uint16
	Length     uint16
	Offset     uint16
}

SfntNameRecord

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/sfntNameRecord

type SfntVariationAxis

type SfntVariationAxis struct {
	// contains filtered or unexported fields
}

SfntVariationAxis

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/sfntVariationAxis

func (*SfntVariationAxis) AxisTag

func (s *SfntVariationAxis) AxisTag() uint32

AxisTag returns the AxisTag field from the record's packed storage.

func (*SfntVariationAxis) DefaultValue

func (s *SfntVariationAxis) DefaultValue() int32

DefaultValue returns the DefaultValue field from the record's packed storage.

func (*SfntVariationAxis) Flags

func (s *SfntVariationAxis) Flags() int16

Flags returns the Flags field from the record's packed storage.

func (*SfntVariationAxis) MaxValue

func (s *SfntVariationAxis) MaxValue() int32

MaxValue returns the MaxValue field from the record's packed storage.

func (*SfntVariationAxis) MinValue

func (s *SfntVariationAxis) MinValue() int32

MinValue returns the MinValue field from the record's packed storage.

func (*SfntVariationAxis) NameID

func (s *SfntVariationAxis) NameID() int16

NameID returns the NameID field from the record's packed storage.

func (*SfntVariationAxis) SetAxisTag

func (s *SfntVariationAxis) SetAxisTag(v uint32)

SetAxisTag updates the AxisTag field in the record's packed storage.

func (*SfntVariationAxis) SetDefaultValue

func (s *SfntVariationAxis) SetDefaultValue(v int32)

SetDefaultValue updates the DefaultValue field in the record's packed storage.

func (*SfntVariationAxis) SetFlags

func (s *SfntVariationAxis) SetFlags(v int16)

SetFlags updates the Flags field in the record's packed storage.

func (*SfntVariationAxis) SetMaxValue

func (s *SfntVariationAxis) SetMaxValue(v int32)

SetMaxValue updates the MaxValue field in the record's packed storage.

func (*SfntVariationAxis) SetMinValue

func (s *SfntVariationAxis) SetMinValue(v int32)

SetMinValue updates the MinValue field in the record's packed storage.

func (*SfntVariationAxis) SetNameID

func (s *SfntVariationAxis) SetNameID(v int16)

SetNameID updates the NameID field in the record's packed storage.

type SfntVariationHeader

type SfntVariationHeader struct {
	// contains filtered or unexported fields
}

SfntVariationHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/sfntVariationHeader

func (*SfntVariationHeader) Axis

Axis returns the Axis field from the record's packed storage.

func (*SfntVariationHeader) AxisCount

func (s *SfntVariationHeader) AxisCount() uint16

AxisCount returns the AxisCount field from the record's packed storage.

func (*SfntVariationHeader) AxisSize

func (s *SfntVariationHeader) AxisSize() uint16

AxisSize returns the AxisSize field from the record's packed storage.

func (*SfntVariationHeader) CountSizePairs

func (s *SfntVariationHeader) CountSizePairs() uint16

CountSizePairs returns the CountSizePairs field from the record's packed storage.

func (*SfntVariationHeader) Instance

func (s *SfntVariationHeader) Instance() [1]SfntInstance

Instance returns the Instance field from the record's packed storage.

func (*SfntVariationHeader) InstanceCount

func (s *SfntVariationHeader) InstanceCount() uint16

InstanceCount returns the InstanceCount field from the record's packed storage.

func (*SfntVariationHeader) InstanceSize

func (s *SfntVariationHeader) InstanceSize() uint16

InstanceSize returns the InstanceSize field from the record's packed storage.

func (*SfntVariationHeader) OffsetToData

func (s *SfntVariationHeader) OffsetToData() uint16

OffsetToData returns the OffsetToData field from the record's packed storage.

func (*SfntVariationHeader) SetAxis

func (s *SfntVariationHeader) SetAxis(v [1]SfntVariationAxis)

SetAxis updates the Axis field in the record's packed storage.

func (*SfntVariationHeader) SetAxisCount

func (s *SfntVariationHeader) SetAxisCount(v uint16)

SetAxisCount updates the AxisCount field in the record's packed storage.

func (*SfntVariationHeader) SetAxisSize

func (s *SfntVariationHeader) SetAxisSize(v uint16)

SetAxisSize updates the AxisSize field in the record's packed storage.

func (*SfntVariationHeader) SetCountSizePairs

func (s *SfntVariationHeader) SetCountSizePairs(v uint16)

SetCountSizePairs updates the CountSizePairs field in the record's packed storage.

func (*SfntVariationHeader) SetInstance

func (s *SfntVariationHeader) SetInstance(v [1]SfntInstance)

SetInstance updates the Instance field in the record's packed storage.

func (*SfntVariationHeader) SetInstanceCount

func (s *SfntVariationHeader) SetInstanceCount(v uint16)

SetInstanceCount updates the InstanceCount field in the record's packed storage.

func (*SfntVariationHeader) SetInstanceSize

func (s *SfntVariationHeader) SetInstanceSize(v uint16)

SetInstanceSize updates the InstanceSize field in the record's packed storage.

func (*SfntVariationHeader) SetOffsetToData

func (s *SfntVariationHeader) SetOffsetToData(v uint16)

SetOffsetToData updates the OffsetToData field in the record's packed storage.

func (*SfntVariationHeader) SetVersion

func (s *SfntVariationHeader) SetVersion(v int32)

SetVersion updates the Version field in the record's packed storage.

func (*SfntVariationHeader) Version

func (s *SfntVariationHeader) Version() int32

Version returns the Version field from the record's packed storage.

type SizeofSfntcmapencoding

type SizeofSfntcmapencoding uint32
const (
	Sizeof_sfntCMapEncoding SizeofSfntcmapencoding = 8
)

func (SizeofSfntcmapencoding) String

func (e SizeofSfntcmapencoding) String() string

type SizeofSfntcmapextendedsubheader

type SizeofSfntcmapextendedsubheader uint32
const (
	Sizeof_sfntCMapExtendedSubHeader SizeofSfntcmapextendedsubheader = 12
)

func (SizeofSfntcmapextendedsubheader) String

type SizeofSfntcmapheader

type SizeofSfntcmapheader uint32
const (
	Sizeof_sfntCMapHeader SizeofSfntcmapheader = 4
)

func (SizeofSfntcmapheader) String

func (e SizeofSfntcmapheader) String() string

type SizeofSfntcmapsubheader

type SizeofSfntcmapsubheader uint32
const (
	Sizeof_sfntCMapSubHeader SizeofSfntcmapsubheader = 6
)

func (SizeofSfntcmapsubheader) String

func (e SizeofSfntcmapsubheader) String() string

type SizeofSfntdescriptorheader

type SizeofSfntdescriptorheader uint32
const (
	Sizeof_sfntDescriptorHeader SizeofSfntdescriptorheader = 8
)

func (SizeofSfntdescriptorheader) String

type SizeofSfntdirectory

type SizeofSfntdirectory uint32
const (
	Sizeof_sfntDirectory SizeofSfntdirectory = 12
)

func (SizeofSfntdirectory) String

func (e SizeofSfntdirectory) String() string

type SizeofSfntinstance

type SizeofSfntinstance uint32
const (
	Sizeof_sfntInstance SizeofSfntinstance = 4
)

func (SizeofSfntinstance) String

func (e SizeofSfntinstance) String() string

type SizeofSfntnameheader

type SizeofSfntnameheader uint32
const (
	Sizeof_sfntNameHeader SizeofSfntnameheader = 6
)

func (SizeofSfntnameheader) String

func (e SizeofSfntnameheader) String() string

type SizeofSfntnamerecord

type SizeofSfntnamerecord uint32
const (
	Sizeof_sfntNameRecord SizeofSfntnamerecord = 12
)

func (SizeofSfntnamerecord) String

func (e SizeofSfntnamerecord) String() string

type SizeofSfntvariationaxis

type SizeofSfntvariationaxis uint32
const (
	Sizeof_sfntVariationAxis SizeofSfntvariationaxis = 20
)

func (SizeofSfntvariationaxis) String

func (e SizeofSfntvariationaxis) String() string

type SizeofSfntvariationheader

type SizeofSfntvariationheader uint32
const (
	Sizeof_sfntVariationHeader SizeofSfntvariationheader = 16
)

func (SizeofSfntvariationheader) String

func (e SizeofSfntvariationheader) String() string

type TrakTable

type TrakTable struct {
	// contains filtered or unexported fields
}

TrakTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/TrakTable

func (*TrakTable) Format

func (s *TrakTable) Format() uint16

Format returns the Format field from the record's packed storage.

func (*TrakTable) HorizOffset

func (s *TrakTable) HorizOffset() uint16

HorizOffset returns the HorizOffset field from the record's packed storage.

func (*TrakTable) SetFormat

func (s *TrakTable) SetFormat(v uint16)

SetFormat updates the Format field in the record's packed storage.

func (*TrakTable) SetHorizOffset

func (s *TrakTable) SetHorizOffset(v uint16)

SetHorizOffset updates the HorizOffset field in the record's packed storage.

func (*TrakTable) SetVersion

func (s *TrakTable) SetVersion(v int32)

SetVersion updates the Version field in the record's packed storage.

func (*TrakTable) SetVertOffset

func (s *TrakTable) SetVertOffset(v uint16)

SetVertOffset updates the VertOffset field in the record's packed storage.

func (*TrakTable) Version

func (s *TrakTable) Version() int32

Version returns the Version field from the record's packed storage.

func (*TrakTable) VertOffset

func (s *TrakTable) VertOffset() uint16

VertOffset returns the VertOffset field from the record's packed storage.

type TrakTableData

type TrakTableData struct {
	// contains filtered or unexported fields
}

TrakTableData

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/TrakTableData

func (*TrakTableData) NSizes

func (s *TrakTableData) NSizes() uint16

NSizes returns the NSizes field from the record's packed storage.

func (*TrakTableData) NTracks

func (s *TrakTableData) NTracks() uint16

NTracks returns the NTracks field from the record's packed storage.

func (*TrakTableData) SetNSizes

func (s *TrakTableData) SetNSizes(v uint16)

SetNSizes updates the NSizes field in the record's packed storage.

func (*TrakTableData) SetNTracks

func (s *TrakTableData) SetNTracks(v uint16)

SetNTracks updates the NTracks field in the record's packed storage.

func (*TrakTableData) SetSizeTableOffset

func (s *TrakTableData) SetSizeTableOffset(v uint32)

SetSizeTableOffset updates the SizeTableOffset field in the record's packed storage.

func (*TrakTableData) SetTrakTable

func (s *TrakTableData) SetTrakTable(v [1]TrakTableEntry)

SetTrakTable updates the TrakTable field in the record's packed storage.

func (*TrakTableData) SizeTableOffset

func (s *TrakTableData) SizeTableOffset() uint32

SizeTableOffset returns the SizeTableOffset field from the record's packed storage.

func (*TrakTableData) TrakTable

func (s *TrakTableData) TrakTable() [1]TrakTableEntry

TrakTable returns the TrakTable field from the record's packed storage.

type TrakTableEntry

type TrakTableEntry struct {
	// contains filtered or unexported fields
}

TrakTableEntry

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/TrakTableEntry

func (*TrakTableEntry) NameTableIndex

func (s *TrakTableEntry) NameTableIndex() uint16

NameTableIndex returns the NameTableIndex field from the record's packed storage.

func (*TrakTableEntry) SetNameTableIndex

func (s *TrakTableEntry) SetNameTableIndex(v uint16)

SetNameTableIndex updates the NameTableIndex field in the record's packed storage.

func (*TrakTableEntry) SetSizesOffset

func (s *TrakTableEntry) SetSizesOffset(v uint16)

SetSizesOffset updates the SizesOffset field in the record's packed storage.

func (*TrakTableEntry) SetTrack

func (s *TrakTableEntry) SetTrack(v int32)

SetTrack updates the Track field in the record's packed storage.

func (*TrakTableEntry) SizesOffset

func (s *TrakTableEntry) SizesOffset() uint16

SizesOffset returns the SizesOffset field from the record's packed storage.

func (*TrakTableEntry) Track

func (s *TrakTableEntry) Track() int32

Track returns the Track field from the record's packed storage.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL