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 ¶
- CTFontRef: A font object. (CTFontUIFontType, CTFontTableTag, CTFontTableOptions, CTFontOptions)
- CTFontCollectionRef: A font collection. (CTFontCollectionSortDescriptorsCallback, CTFontCollectionCopyOptions)
- CTFontDescriptorRef: A font descriptor. (CTFontOrientation, CTFontFormat, CTFontPriority, CTFontSymbolicTraits, CTFontStylisticClass)
- CTFrameRef: A frame. (CTFramePathFillRule, CTFrameProgression)
- CTFramesetterRef: Generate text frames.
- CTGlyphInfoRef: Override a font’s specified mapping from Unicode to the glyph ID. (CTCharacterCollection)
- CTLineRef: A line of text. (CTLineTruncationType)
- CTParagraphStyleRef: Paragraph or ruler attributes in an attributed string. (CTParagraphStyleSetting, CTTextAlignment, CTLineBreakMode, CTWritingDirection, CTParagraphStyleSpecifier)
- CTRunRef: A glyph run. (CTRunStatus)
- CTRunDelegateRef: A run delegate. (CTRunDelegateGetAscentCallback, CTRunDelegateGetDescentCallback, CTRunDelegateGetWidthCallback, CTRunDelegateDeallocateCallback, CTRunDelegateCallbacks)
- CTTextTabRef: A tab in a paragraph style, storing an alignment type and location.
- CTTypesetterRef: A typesetter which performs line layout.
Protocols ¶
Variables ¶
Functions ¶
Type Aliases ¶
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func CTFontCollectionCopyExclusionDescriptors(collection CTFontCollectionRef) corefoundation.CFArrayRef
- func CTFontCollectionCopyFontAttribute(collection CTFontCollectionRef, attributeName corefoundation.CFStringRef, ...) corefoundation.CFArrayRef
- func CTFontCollectionCopyFontAttributes(collection CTFontCollectionRef, attributeNames corefoundation.CFSetRef, ...) corefoundation.CFArrayRef
- func CTFontCollectionCopyQueryDescriptors(collection CTFontCollectionRef) corefoundation.CFArrayRef
- func CTFontCollectionCreateMatchingFontDescriptors(collection CTFontCollectionRef) corefoundation.CFArrayRef
- func CTFontCollectionCreateMatchingFontDescriptorsForFamily(collection CTFontCollectionRef, familyName corefoundation.CFStringRef, ...) corefoundation.CFArrayRef
- func CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback(collection CTFontCollectionRef, ...) corefoundation.CFArrayRef
- func CTFontCollectionCreateMatchingFontDescriptorsWithOptions(collection CTFontCollectionRef, options corefoundation.CFDictionaryRef) corefoundation.CFArrayRef
- func CTFontCollectionGetTypeID() uint
- func CTFontCollectionSetExclusionDescriptors(collection CTMutableFontCollectionRef, descriptors corefoundation.CFArrayRef)
- func CTFontCollectionSetQueryDescriptors(collection CTMutableFontCollectionRef, descriptors corefoundation.CFArrayRef)
- func CTFontCopyAttribute(font CTFontRef, attribute corefoundation.CFStringRef) corefoundation.CFTypeRef
- func CTFontCopyAvailableTables(font CTFontRef, options CTFontTableOptions) corefoundation.CFArrayRef
- func CTFontCopyCharacterSet(font CTFontRef) corefoundation.CFCharacterSet
- func CTFontCopyDefaultCascadeListForLanguages(font CTFontRef, languagePrefList corefoundation.CFArrayRef) corefoundation.CFArrayRef
- func CTFontCopyDisplayName(font CTFontRef) corefoundation.CFStringRef
- func CTFontCopyFamilyName(font CTFontRef) corefoundation.CFStringRef
- func CTFontCopyFeatureSettings(font CTFontRef) corefoundation.CFArrayRef
- func CTFontCopyFeatures(font CTFontRef) corefoundation.CFArrayRef
- func CTFontCopyFullName(font CTFontRef) corefoundation.CFStringRef
- func CTFontCopyGraphicsFont(font CTFontRef, attributes *CTFontDescriptorRef) coregraphics.CGFont
- func CTFontCopyLocalizedName(font CTFontRef, nameKey corefoundation.CFStringRef, ...) corefoundation.CFStringRef
- func CTFontCopyName(font CTFontRef, nameKey corefoundation.CFStringRef) corefoundation.CFStringRef
- func CTFontCopyNameForGlyph(font CTFontRef, glyph uint16) corefoundation.CFStringRef
- func CTFontCopyPostScriptName(font CTFontRef) corefoundation.CFStringRef
- func CTFontCopySupportedLanguages(font CTFontRef) corefoundation.CFArrayRef
- func CTFontCopyTable(font CTFontRef, table CTFontTableTag, options CTFontTableOptions) corefoundation.CFDataRef
- func CTFontCopyTraits(font CTFontRef) corefoundation.CFDictionaryRef
- func CTFontCopyVariation(font CTFontRef) corefoundation.CFDictionaryRef
- func CTFontCopyVariationAxes(font CTFontRef) corefoundation.CFArrayRef
- func CTFontCreatePathForGlyph(font CTFontRef, glyph uint16, matrix *corefoundation.CGAffineTransform) coregraphics.CGPathRef
- func CTFontDescriptorCopyAttribute(descriptor CTFontDescriptorRef, attribute corefoundation.CFStringRef) corefoundation.CFTypeRef
- func CTFontDescriptorCopyAttributes(descriptor CTFontDescriptorRef) corefoundation.CFDictionaryRef
- func CTFontDescriptorCopyLocalizedAttribute(descriptor CTFontDescriptorRef, attribute corefoundation.CFStringRef, ...) corefoundation.CFTypeRef
- func CTFontDescriptorCreateMatchingFontDescriptors(descriptor CTFontDescriptorRef, mandatoryAttributes corefoundation.CFSetRef) corefoundation.CFArrayRef
- func CTFontDescriptorGetTypeID() uint
- func CTFontDescriptorMatchFontDescriptorsWithProgressHandler(descriptors corefoundation.CFArrayRef, ...) bool
- func CTFontDrawGlyphs(font CTFontRef, glyphs unsafe.Pointer, positions *corefoundation.CGPoint, ...)
- func CTFontDrawImageFromAdaptiveImageProviderAtPoint(font CTFontRef, provider CTAdaptiveImageProvidingObject, ...)
- func CTFontGetAdvancesForGlyphs(font CTFontRef, orientation CTFontOrientation, glyphs unsafe.Pointer, ...) float64
- func CTFontGetAscent(font CTFontRef) float64
- func CTFontGetBoundingBox(font CTFontRef) corefoundation.CGRect
- func CTFontGetBoundingRectsForGlyphs(font CTFontRef, orientation CTFontOrientation, glyphs unsafe.Pointer, ...) corefoundation.CGRect
- func CTFontGetCapHeight(font CTFontRef) float64
- func CTFontGetDescent(font CTFontRef) float64
- func CTFontGetGlyphCount(font CTFontRef) int
- func CTFontGetGlyphWithName(font CTFontRef, glyphName corefoundation.CFStringRef) uint16
- func CTFontGetGlyphsForCharacters(font CTFontRef, characters *uint16, glyphs unsafe.Pointer, count int) bool
- func CTFontGetLeading(font CTFontRef) float64
- func CTFontGetLigatureCaretPositions(font CTFontRef, glyph uint16, positions *float64, maxPositions int) int
- func CTFontGetMatrix(font CTFontRef) corefoundation.CGAffineTransform
- func CTFontGetOpticalBoundsForGlyphs(font CTFontRef, glyphs unsafe.Pointer, boundingRects *corefoundation.CGRect, ...) corefoundation.CGRect
- func CTFontGetSize(font CTFontRef) float64
- func CTFontGetSlantAngle(font CTFontRef) float64
- func CTFontGetStringEncoding(font CTFontRef) uint32
- func CTFontGetTypeID() uint
- func CTFontGetTypographicBoundsForAdaptiveImageProvider(font CTFontRef, provider CTAdaptiveImageProvidingObject) corefoundation.CGRect
- func CTFontGetUnderlinePosition(font CTFontRef) float64
- func CTFontGetUnderlineThickness(font CTFontRef) float64
- func CTFontGetUnitsPerEm(font CTFontRef) uint32
- func CTFontGetVerticalTranslationsForGlyphs(font CTFontRef, glyphs unsafe.Pointer, translations *corefoundation.CGSize, ...)
- func CTFontGetXHeight(font CTFontRef) float64
- func CTFontHasTable(font CTFontRef, tag CTFontTableTag) bool
- func CTFontManagerCompareFontFamilyNames(family1 unsafe.Pointer, family2 unsafe.Pointer, context unsafe.Pointer) corefoundation.CFComparisonResult
- func CTFontManagerCopyAvailableFontFamilyNames() corefoundation.CFArrayRef
- func CTFontManagerCopyAvailableFontURLs() corefoundation.CFArrayRef
- func CTFontManagerCopyAvailablePostScriptNames() corefoundation.CFArrayRef
- func CTFontManagerCreateFontDescriptorsFromData(data corefoundation.CFDataRef) corefoundation.CFArrayRef
- func CTFontManagerCreateFontDescriptorsFromURL(fileURL corefoundation.CFURLRef) corefoundation.CFArrayRef
- func CTFontManagerEnableFontDescriptors(descriptors corefoundation.CFArrayRef, enable bool)
- func CTFontManagerIsSupportedFont(fontURL corefoundation.CFURLRef) bool
- func CTFontManagerRegisterFontDescriptors(fontDescriptors corefoundation.CFArrayRef, scope CTFontManagerScope, ...)
- func CTFontManagerRegisterFontURLs(fontURLs corefoundation.CFArrayRef, scope CTFontManagerScope, enabled bool, ...)
- func CTFontManagerRegisterFontsForURL(fontURL corefoundation.CFURLRef, scope CTFontManagerScope, ...) bool
- func CTFontManagerRegisterFontsForURLs(fontURLs corefoundation.CFArrayRef, scope CTFontManagerScope, ...) booldeprecated
- func CTFontManagerRegisterGraphicsFont(font coregraphics.CGFont, err *corefoundation.CFErrorRef) booldeprecated
- func CTFontManagerSetAutoActivationSetting(bundleIdentifier corefoundation.CFStringRef, ...)
- func CTFontManagerUnregisterFontDescriptors(fontDescriptors corefoundation.CFArrayRef, scope CTFontManagerScope, ...)
- func CTFontManagerUnregisterFontURLs(fontURLs corefoundation.CFArrayRef, scope CTFontManagerScope, ...)
- func CTFontManagerUnregisterFontsForURL(fontURL corefoundation.CFURLRef, scope CTFontManagerScope, ...) bool
- func CTFontManagerUnregisterFontsForURLs(fontURLs corefoundation.CFArrayRef, scope CTFontManagerScope, ...) booldeprecated
- func CTFontManagerUnregisterGraphicsFont(font coregraphics.CGFont, err *corefoundation.CFErrorRef) booldeprecated
- func CTFrameDraw(frame CTFrameRef, context coregraphics.CGContextRef)
- func CTFrameGetFrameAttributes(frame CTFrameRef) corefoundation.CFDictionaryRef
- func CTFrameGetLineOrigins(frame CTFrameRef, range_ corefoundation.CFRange, ...)
- func CTFrameGetLines(frame CTFrameRef) corefoundation.CFArrayRef
- func CTFrameGetPath(frame CTFrameRef) coregraphics.CGPathRef
- func CTFrameGetStringRange(frame CTFrameRef) corefoundation.CFRange
- func CTFrameGetTypeID() uint
- func CTFrameGetVisibleStringRange(frame CTFrameRef) corefoundation.CFRange
- func CTFramesetterGetTypeID() uint
- func CTFramesetterSuggestFrameSizeWithConstraints(framesetter CTFramesetterRef, stringRange corefoundation.CFRange, ...) corefoundation.CGSize
- func CTGlyphInfoGetCharacterIdentifier(glyphInfo CTGlyphInfoRef) uint16
- func CTGlyphInfoGetGlyph(glyphInfo CTGlyphInfoRef) uint16
- func CTGlyphInfoGetGlyphName(glyphInfo CTGlyphInfoRef) corefoundation.CFStringRef
- func CTGlyphInfoGetTypeID() uint
- func CTLineDraw(line CTLineRef, context coregraphics.CGContextRef)
- func CTLineEnumerateCaretOffsets(line CTLineRef)
- func CTLineGetBoundsWithOptions(line CTLineRef, options CTLineBoundsOptions) corefoundation.CGRect
- func CTLineGetGlyphCount(line CTLineRef) int
- func CTLineGetGlyphRuns(line CTLineRef) corefoundation.CFArrayRef
- func CTLineGetImageBounds(line CTLineRef, context coregraphics.CGContextRef) corefoundation.CGRect
- func CTLineGetOffsetForStringIndex(line CTLineRef, charIndex int, secondaryOffset *float64) float64
- func CTLineGetPenOffsetForFlush(line CTLineRef, flushFactor float64, flushWidth float64) float64
- func CTLineGetStringIndexForPosition(line CTLineRef, position corefoundation.CGPoint) int
- func CTLineGetStringRange(line CTLineRef) corefoundation.CFRange
- func CTLineGetTrailingWhitespaceWidth(line CTLineRef) float64
- func CTLineGetTypeID() uint
- func CTLineGetTypographicBounds(line CTLineRef, ascent *float64, descent *float64, leading *float64) float64
- func CTParagraphStyleGetTypeID() uint
- func CTParagraphStyleGetValueForSpecifier(paragraphStyle CTParagraphStyleRef, spec CTParagraphStyleSpecifier, ...) bool
- func CTRubyAnnotationGetSizeFactor(rubyAnnotation CTRubyAnnotationRef) float64
- func CTRubyAnnotationGetTextForPosition(rubyAnnotation CTRubyAnnotationRef, position CTRubyPosition) corefoundation.CFStringRef
- func CTRubyAnnotationGetTypeID() uint
- func CTRunDelegateGetRefCon(runDelegate CTRunDelegateRef) unsafe.Pointer
- func CTRunDelegateGetTypeID() uint
- func CTRunDraw(run CTRunRef, context coregraphics.CGContextRef, range_ corefoundation.CFRange)
- func CTRunGetAdvances(run CTRunRef, range_ corefoundation.CFRange, buffer *corefoundation.CGSize)
- func CTRunGetAdvancesPtr(run CTRunRef) *corefoundation.CGSize
- func CTRunGetAttributes(run CTRunRef) corefoundation.CFDictionaryRef
- func CTRunGetBaseAdvancesAndOrigins(runRef CTRunRef, range_ corefoundation.CFRange, ...)
- func CTRunGetGlyphCount(run CTRunRef) int
- func CTRunGetGlyphs(run CTRunRef, range_ corefoundation.CFRange, buffer unsafe.Pointer)
- func CTRunGetGlyphsPtr(run CTRunRef) unsafe.Pointer
- func CTRunGetImageBounds(run CTRunRef, context coregraphics.CGContextRef, range_ corefoundation.CFRange) corefoundation.CGRect
- func CTRunGetPositions(run CTRunRef, range_ corefoundation.CFRange, buffer *corefoundation.CGPoint)
- func CTRunGetPositionsPtr(run CTRunRef) *corefoundation.CGPoint
- func CTRunGetStringIndices(run CTRunRef, range_ corefoundation.CFRange, buffer *int)
- func CTRunGetStringIndicesPtr(run CTRunRef) *int
- func CTRunGetStringRange(run CTRunRef) corefoundation.CFRange
- func CTRunGetTextMatrix(run CTRunRef) corefoundation.CGAffineTransform
- func CTRunGetTypeID() uint
- func CTRunGetTypographicBounds(run CTRunRef, range_ corefoundation.CFRange, ascent *float64, descent *float64, ...) float64
- func CTTextTabGetLocation(tab CTTextTabRef) float64
- func CTTextTabGetOptions(tab CTTextTabRef) corefoundation.CFDictionaryRef
- func CTTextTabGetTypeID() uint
- func CTTypesetterGetTypeID() uint
- func CTTypesetterSuggestClusterBreak(typesetter CTTypesetterRef, startIndex int, width float64) int
- func CTTypesetterSuggestClusterBreakWithOffset(typesetter CTTypesetterRef, startIndex int, width float64, offset float64) int
- func CTTypesetterSuggestLineBreak(typesetter CTTypesetterRef, startIndex int, width float64) int
- func CTTypesetterSuggestLineBreakWithOffset(typesetter CTTypesetterRef, startIndex int, width float64, offset float64) int
- type ALMXGlyphEntry
- type ALMXHeader
- func (s *ALMXHeader) FirstGlyph() uint16
- func (s *ALMXHeader) Flags() uint16
- func (s *ALMXHeader) LastGlyph() uint16
- func (s *ALMXHeader) Lookup() SFNTLookupTable
- func (s *ALMXHeader) NMasters() uint16
- func (s *ALMXHeader) SetFirstGlyph(v uint16)
- func (s *ALMXHeader) SetFlags(v uint16)
- func (s *ALMXHeader) SetLastGlyph(v uint16)
- func (s *ALMXHeader) SetLookup(v SFNTLookupTable)
- func (s *ALMXHeader) SetNMasters(v uint16)
- func (s *ALMXHeader) SetVersion(v int32)
- func (s *ALMXHeader) Version() int32
- type ATSFontRef
- type AnchorPoint
- type AnchorPointTable
- type AnkrTable
- func (s *AnkrTable) AnchorPointTableOffset() uint32
- func (s *AnkrTable) Flags() uint16
- func (s *AnkrTable) LookupTableOffset() uint32
- func (s *AnkrTable) SetAnchorPointTableOffset(v uint32)
- func (s *AnkrTable) SetFlags(v uint16)
- func (s *AnkrTable) SetLookupTableOffset(v uint32)
- func (s *AnkrTable) SetVersion(v uint16)
- func (s *AnkrTable) Version() uint16
- type BslnBaselineClass
- type BslnBaselineRecord
- type BslnFormat0Part
- type BslnFormat1Part
- type BslnFormat2Part
- type BslnFormat3Part
- type BslnFormatUnion
- type BslnTable
- func (s *BslnTable) DefaultBaseline() uint16
- func (s *BslnTable) Format() BslnTableFormat
- func (s *BslnTable) Parts() BslnFormatUnion
- func (s *BslnTable) SetDefaultBaseline(v uint16)
- func (s *BslnTable) SetFormat(v BslnTableFormat)
- func (s *BslnTable) SetParts(v BslnFormatUnion)
- func (s *BslnTable) SetVersion(v int32)
- func (s *BslnTable) Version() int32
- type BslnTableFormat
- type BslnTablePtr
- type CTAdaptiveImageProviding
- type CTAdaptiveImageProvidingObject
- type CTCharacterCollection
- type CTFontCollectionCopyOptions
- type CTFontCollectionRef
- func CTFontCollectionCreateCopyWithFontDescriptors(original CTFontCollectionRef, queryDescriptors corefoundation.CFArrayRef, ...) CTFontCollectionRef
- func CTFontCollectionCreateFromAvailableFonts(options corefoundation.CFDictionaryRef) CTFontCollectionRef
- func CTFontCollectionCreateWithFontDescriptors(queryDescriptors corefoundation.CFArrayRef, ...) CTFontCollectionRef
- type CTFontCollectionSortDescriptorsCallback
- type CTFontDescriptorMatchingState
- type CTFontDescriptorProgressHandler
- type CTFontDescriptorRef
- func CTFontCopyFontDescriptor(font CTFontRef) CTFontDescriptorRef
- func CTFontDescriptorCreateCopyWithAttributes(original CTFontDescriptorRef, attributes corefoundation.CFDictionaryRef) CTFontDescriptorRef
- func CTFontDescriptorCreateCopyWithFamily(original CTFontDescriptorRef, family corefoundation.CFStringRef) CTFontDescriptorRef
- func CTFontDescriptorCreateCopyWithFeature(original CTFontDescriptorRef, featureTypeIdentifier corefoundation.CFNumberRef, ...) CTFontDescriptorRef
- func CTFontDescriptorCreateCopyWithSymbolicTraits(original CTFontDescriptorRef, symTraitValue CTFontSymbolicTraits, ...) CTFontDescriptorRef
- func CTFontDescriptorCreateCopyWithVariation(original CTFontDescriptorRef, variationIdentifier corefoundation.CFNumberRef, ...) CTFontDescriptorRef
- func CTFontDescriptorCreateMatchingFontDescriptor(descriptor CTFontDescriptorRef, mandatoryAttributes corefoundation.CFSetRef) CTFontDescriptorRef
- func CTFontDescriptorCreateWithAttributes(attributes corefoundation.CFDictionaryRef) CTFontDescriptorRef
- func CTFontDescriptorCreateWithNameAndSize(name corefoundation.CFStringRef, size float64) CTFontDescriptorRef
- func CTFontManagerCreateFontDescriptorFromData(data corefoundation.CFDataRef) CTFontDescriptorRef
- type CTFontFormat
- type CTFontManagerAutoActivationSetting
- type CTFontManagerError
- type CTFontManagerScope
- type CTFontOptions
- type CTFontOrientation
- type CTFontPriority
- type CTFontRef
- func CTFontCreateCopyWithAttributes(font CTFontRef, size float64, matrix *corefoundation.CGAffineTransform, ...) CTFontRef
- func CTFontCreateCopyWithFamily(font CTFontRef, size float64, matrix *corefoundation.CGAffineTransform, ...) CTFontRef
- func CTFontCreateCopyWithSymbolicTraits(font CTFontRef, size float64, matrix *corefoundation.CGAffineTransform, ...) CTFontRef
- func CTFontCreateForString(currentFont CTFontRef, string_ corefoundation.CFStringRef, ...) CTFontRef
- func CTFontCreateForStringWithLanguage(currentFont CTFontRef, string_ corefoundation.CFStringRef, ...) CTFontRef
- func CTFontCreateUIFontForLanguage(uiType CTFontUIFontType, size float64, language corefoundation.CFStringRef) CTFontRef
- func CTFontCreateWithFontDescriptor(descriptor CTFontDescriptorRef, size float64, ...) CTFontRef
- func CTFontCreateWithFontDescriptorAndOptions(descriptor CTFontDescriptorRef, size float64, ...) CTFontRef
- func CTFontCreateWithGraphicsFont(graphicsFont coregraphics.CGFont, size float64, ...) CTFontRef
- func CTFontCreateWithName(name corefoundation.CFStringRef, size float64, ...) CTFontRef
- func CTFontCreateWithNameAndOptions(name corefoundation.CFStringRef, size float64, ...) CTFontRef
- type CTFontStylisticClass
- type CTFontSymbolicTraits
- type CTFontTableOptions
- type CTFontTableTag
- type CTFontUIFontType
- type CTFramePathFillRule
- type CTFrameProgression
- type CTFrameRef
- type CTFramesetterRef
- type CTGlyphInfoRef
- func CTGlyphInfoCreateWithCharacterIdentifier(cid uint16, collection CTCharacterCollection, ...) CTGlyphInfoRef
- func CTGlyphInfoCreateWithGlyph(glyph uint16, font CTFontRef, baseString corefoundation.CFStringRef) CTGlyphInfoRef
- func CTGlyphInfoCreateWithGlyphName(glyphName corefoundation.CFStringRef, font CTFontRef, ...) CTGlyphInfoRef
- type CTLineBoundsOptions
- type CTLineBreakMode
- type CTLineRef
- func CTLineCreateJustifiedLine(line CTLineRef, justificationFactor float64, justificationWidth float64) CTLineRef
- func CTLineCreateTruncatedLine(line CTLineRef, width float64, truncationType CTLineTruncationType, ...) CTLineRef
- func CTLineCreateWithAttributedString(attrString corefoundation.CFAttributedStringRef) CTLineRef
- func CTTypesetterCreateLine(typesetter CTTypesetterRef, stringRange corefoundation.CFRange) CTLineRef
- func CTTypesetterCreateLineWithOffset(typesetter CTTypesetterRef, stringRange corefoundation.CFRange, offset float64) CTLineRef
- type CTLineTruncationType
- type CTMutableFontCollectionRef
- type CTParagraphStyleRef
- type CTParagraphStyleSetting
- type CTParagraphStyleSpecifier
- type CTRubyAlignment
- type CTRubyAnnotationRef
- func CTRubyAnnotationCreate(alignment CTRubyAlignment, overhang CTRubyOverhang, sizeFactor float64, ...) CTRubyAnnotationRef
- func CTRubyAnnotationCreateCopy(rubyAnnotation CTRubyAnnotationRef) CTRubyAnnotationRef
- func CTRubyAnnotationCreateWithAttributes(alignment CTRubyAlignment, overhang CTRubyOverhang, position CTRubyPosition, ...) CTRubyAnnotationRef
- type CTRubyOverhang
- type CTRubyPosition
- type CTRunDelegateCallbacks
- type CTRunDelegateDeallocateCallback
- type CTRunDelegateGetAscentCallback
- type CTRunDelegateGetDescentCallback
- type CTRunDelegateGetWidthCallback
- type CTRunDelegateRef
- type CTRunRef
- type CTRunStatus
- type CTTextAlignment
- type CTTextTabRef
- type CTTypesetterRef
- func CTFramesetterGetTypesetter(framesetter CTFramesetterRef) CTTypesetterRef
- func CTTypesetterCreateWithAttributedString(string_ corefoundation.CFAttributedStringRef) CTTypesetterRef
- func CTTypesetterCreateWithAttributedStringAndOptions(string_ corefoundation.CFAttributedStringRef, ...) CTTypesetterRef
- type CTUnderlineStyle
- type CTUnderlineStyleModifiers
- type CTWritingDirection
- type FontLanguageCode
- type FontNameCode
- type FontPlatformCode
- type FontScriptCode
- type FontVariation
- type JustDirectionTable
- type JustPCAction
- type JustPCActionSubrecord
- func (s *JustPCActionSubrecord) Data() uint32
- func (s *JustPCActionSubrecord) Length() uint32
- func (s *JustPCActionSubrecord) SetData(v uint32)
- func (s *JustPCActionSubrecord) SetLength(v uint32)
- func (s *JustPCActionSubrecord) SetTheClass(v uint16)
- func (s *JustPCActionSubrecord) SetTheType(v JustPCActionType)
- func (s *JustPCActionSubrecord) TheClass() uint16
- func (s *JustPCActionSubrecord) TheType() JustPCActionType
- type JustPCActionType
- type JustPCConditionalAddAction
- func (s *JustPCConditionalAddAction) AddGlyph() uint16
- func (s *JustPCConditionalAddAction) SetAddGlyph(v uint16)
- func (s *JustPCConditionalAddAction) SetSubstGlyph(v uint16)
- func (s *JustPCConditionalAddAction) SetSubstThreshold(v int32)
- func (s *JustPCConditionalAddAction) SubstGlyph() uint16
- func (s *JustPCConditionalAddAction) SubstThreshold() int32
- type JustPCDecompositionAction
- func (s *JustPCDecompositionAction) Count() uint16
- func (s *JustPCDecompositionAction) Glyphs() [1]uint16
- func (s *JustPCDecompositionAction) LowerLimit() int32
- func (s *JustPCDecompositionAction) Order() uint16
- func (s *JustPCDecompositionAction) SetCount(v uint16)
- func (s *JustPCDecompositionAction) SetGlyphs(v [1]uint16)
- func (s *JustPCDecompositionAction) SetLowerLimit(v int32)
- func (s *JustPCDecompositionAction) SetOrder(v uint16)
- func (s *JustPCDecompositionAction) SetUpperLimit(v int32)
- func (s *JustPCDecompositionAction) UpperLimit() int32
- type JustPCDuctilityAction
- func (s *JustPCDuctilityAction) DuctilityAxis() uint32
- func (s *JustPCDuctilityAction) MaximumLimit() int32
- func (s *JustPCDuctilityAction) MinimumLimit() int32
- func (s *JustPCDuctilityAction) NoStretchValue() int32
- func (s *JustPCDuctilityAction) SetDuctilityAxis(v uint32)
- func (s *JustPCDuctilityAction) SetMaximumLimit(v int32)
- func (s *JustPCDuctilityAction) SetMinimumLimit(v int32)
- func (s *JustPCDuctilityAction) SetNoStretchValue(v int32)
- type JustPCGlyphRepeatAddAction
- type JustPCUnconditionalAddAction
- type JustPostcompTable
- type JustTable
- func (s *JustTable) Format() uint16
- func (s *JustTable) HorizHeaderOffset() uint16
- func (s *JustTable) SetFormat(v uint16)
- func (s *JustTable) SetHorizHeaderOffset(v uint16)
- func (s *JustTable) SetVersion(v int32)
- func (s *JustTable) SetVertHeaderOffset(v uint16)
- func (s *JustTable) Version() int32
- func (s *JustTable) VertHeaderOffset() uint16
- type JustWidthDeltaEntry
- func (s *JustWidthDeltaEntry) AfterGrowLimit() int32
- func (s *JustWidthDeltaEntry) AfterShrinkLimit() int32
- func (s *JustWidthDeltaEntry) BeforeGrowLimit() int32
- func (s *JustWidthDeltaEntry) BeforeShrinkLimit() int32
- func (s *JustWidthDeltaEntry) GrowFlags() JustificationFlags
- func (s *JustWidthDeltaEntry) JustClass() uint32
- func (s *JustWidthDeltaEntry) SetAfterGrowLimit(v int32)
- func (s *JustWidthDeltaEntry) SetAfterShrinkLimit(v int32)
- func (s *JustWidthDeltaEntry) SetBeforeGrowLimit(v int32)
- func (s *JustWidthDeltaEntry) SetBeforeShrinkLimit(v int32)
- func (s *JustWidthDeltaEntry) SetGrowFlags(v JustificationFlags)
- func (s *JustWidthDeltaEntry) SetJustClass(v uint32)
- func (s *JustWidthDeltaEntry) SetShrinkFlags(v JustificationFlags)
- func (s *JustWidthDeltaEntry) ShrinkFlags() JustificationFlags
- type JustWidthDeltaGroup
- type JustificationFlags
- type KAllTypeFeatures
- type KAllTypographicFeaturesType
- type KAlternate
- type KBSLNRomanBaseline
- type KBSLNTag
- type KCJKVerticalRoman
- type KCTFontPriority
- type KCTFontTable
- type KCTRunDelegate
- type KCTWritingDirection
- type KCanonicalCompositionOnSelector
- type KCaseSensitive
- type KContextualAlternatesOnSelector
- type KDefaultLowerCaseSelector
- type KDefaultUpperCaseSelector
- type KDesign
- type KFontCopyrightName
- type KFontCustom8BitScript
- type KFontEnglishLanguage
- type KFontMicrosoft
- type KFontNo
- type KFontRomanScript
- type KFontUnicodeDefaultSemantics
- type KFontUnicodePlatform
- type KFullWidthIdeographsSelector
- type KFullWidthKanaSelector
- type KHalfWidthCJKRomanSelector
- type KHyphenToMinusOnSelector
- type KHyphensToEmDashOnSelector
- type KJUS
- type KJUSTKashidaPriority
- type KJUSTOverridePriority
- type KKERNLineStart
- type KKERNOrderedList
- type KKERNTag
- type KKERXActionTypeMask
- type KKERXLineStart
- type KKERXOrderedList
- type KKERXTag
- type KLCAR
- type KLinguisticRearrangement
- type KLowerCaseNumbersSelector
- type KMOR
- type KMORX
- type KMonospacedNumbersSelector
- type KNoAnnotationSelector
- type KNoCJKItalicRomanSelector
- type KNoCJKSymbolAlternativesSelector
- type KNoFractionsSelector
- type KNoIdeographicAlternativesSelector
- type KNoOrnamentsSelector
- type KNoRubyKanaSelector
- type KNoStyleOptionsSelector
- type KNoStylisticAlternatesSelector
- type KNoTransliterationSelector
- type KNormalPositionSelector
- type KOPBD
- type KPROPLDirectionClass
- type KPROPTag
- type KPreventOverlap
- type KProportionalTextSelector
- type KRequiredLigaturesOnSelector
- type KSFNTLookup
- type KST
- type KShowDiacriticsSelector
- type KSubstituteVerticalForms
- type KTRAK
- type KTraditionalCharactersSelector
- type KUnconnectedSelector
- type KUpperAndLowerCaseSelector
- type KWordInitialSwashesOnSelector
- type KernArrayOffset
- type KernFormatSpecificHeader
- type KernIndexArrayHeader
- type KernKerningPair
- type KernKerningValue
- type KernOffsetTable
- type KernOffsetTablePtr
- type KernOrderedListEntry
- type KernOrderedListEntryPtr
- type KernOrderedListHeader
- type KernSimpleArrayHeader
- type KernStateEntry
- type KernStateHeader
- type KernSubtableHeader
- func (s *KernSubtableHeader) FsHeader() KernFormatSpecificHeader
- func (s *KernSubtableHeader) Length() int32
- func (s *KernSubtableHeader) SetFsHeader(v KernFormatSpecificHeader)
- func (s *KernSubtableHeader) SetLength(v int32)
- func (s *KernSubtableHeader) SetStInfo(v KernSubtableInfo)
- func (s *KernSubtableHeader) SetTupleIndex(v int16)
- func (s *KernSubtableHeader) StInfo() KernSubtableInfo
- func (s *KernSubtableHeader) TupleIndex() int16
- type KernSubtableHeaderPtr
- type KernSubtableInfo
- type KernTableFormat
- type KernTableHeader
- type KernTableHeaderHandle
- type KernTableHeaderPtr
- type KernVersion0Header
- type KernVersion0SubtableHeader
- type KerxAnchorPointAction
- type KerxArrayOffset
- type KerxControlPointAction
- type KerxControlPointEntry
- type KerxControlPointHeader
- func (s *KerxControlPointHeader) FirstTable() [1]uint8
- func (s *KerxControlPointHeader) Flags() uint32
- func (s *KerxControlPointHeader) Header() STXHeader
- func (s *KerxControlPointHeader) SetFirstTable(v [1]uint8)
- func (s *KerxControlPointHeader) SetFlags(v uint32)
- func (s *KerxControlPointHeader) SetHeader(v STXHeader)
- type KerxCoordinateAction
- type KerxFormatSpecificHeader
- func (s *KerxFormatSpecificHeader) ControlPoint() KerxControlPointHeader
- func (s *KerxFormatSpecificHeader) IndexArray() KerxIndexArrayHeader
- func (s *KerxFormatSpecificHeader) OrderedList() KerxOrderedListHeader
- func (s *KerxFormatSpecificHeader) SetControlPoint(v KerxControlPointHeader)
- func (s *KerxFormatSpecificHeader) SetIndexArray(v KerxIndexArrayHeader)
- func (s *KerxFormatSpecificHeader) SetOrderedList(v KerxOrderedListHeader)
- func (s *KerxFormatSpecificHeader) SetSimpleArray(v KerxSimpleArrayHeader)
- func (s *KerxFormatSpecificHeader) SetStateTable(v KerxStateHeader)
- func (s *KerxFormatSpecificHeader) SimpleArray() KerxSimpleArrayHeader
- func (s *KerxFormatSpecificHeader) StateTable() KerxStateHeader
- type KerxIndexArrayHeader
- func (s *KerxIndexArrayHeader) ColumnCount() uint16
- func (s *KerxIndexArrayHeader) ColumnIndexTableOffset() uint32
- func (s *KerxIndexArrayHeader) Flags() uint32
- func (s *KerxIndexArrayHeader) KerningArrayOffset() uint32
- func (s *KerxIndexArrayHeader) KerningVectorOffset() uint32
- func (s *KerxIndexArrayHeader) RowCount() uint16
- func (s *KerxIndexArrayHeader) RowIndexTableOffset() uint32
- func (s *KerxIndexArrayHeader) SetColumnCount(v uint16)
- func (s *KerxIndexArrayHeader) SetColumnIndexTableOffset(v uint32)
- func (s *KerxIndexArrayHeader) SetFlags(v uint32)
- func (s *KerxIndexArrayHeader) SetKerningArrayOffset(v uint32)
- func (s *KerxIndexArrayHeader) SetKerningVectorOffset(v uint32)
- func (s *KerxIndexArrayHeader) SetRowCount(v uint16)
- func (s *KerxIndexArrayHeader) SetRowIndexTableOffset(v uint32)
- type KerxKerningPair
- type KerxOrderedListEntry
- type KerxOrderedListEntryPtr
- type KerxOrderedListHeader
- func (s *KerxOrderedListHeader) EntrySelector() uint32
- func (s *KerxOrderedListHeader) NPairs() uint32
- func (s *KerxOrderedListHeader) RangeShift() uint32
- func (s *KerxOrderedListHeader) SearchRange() uint32
- func (s *KerxOrderedListHeader) SetEntrySelector(v uint32)
- func (s *KerxOrderedListHeader) SetNPairs(v uint32)
- func (s *KerxOrderedListHeader) SetRangeShift(v uint32)
- func (s *KerxOrderedListHeader) SetSearchRange(v uint32)
- func (s *KerxOrderedListHeader) SetTable(v [1]uint32)
- func (s *KerxOrderedListHeader) Table() [1]uint32
- type KerxSimpleArrayHeader
- func (s *KerxSimpleArrayHeader) FirstTable() [1]uint32
- func (s *KerxSimpleArrayHeader) LeftOffsetTable() uint32
- func (s *KerxSimpleArrayHeader) RightOffsetTable() uint32
- func (s *KerxSimpleArrayHeader) RowWidth() uint32
- func (s *KerxSimpleArrayHeader) SetFirstTable(v [1]uint32)
- func (s *KerxSimpleArrayHeader) SetLeftOffsetTable(v uint32)
- func (s *KerxSimpleArrayHeader) SetRightOffsetTable(v uint32)
- func (s *KerxSimpleArrayHeader) SetRowWidth(v uint32)
- func (s *KerxSimpleArrayHeader) SetTheArray(v KerxArrayOffset)
- func (s *KerxSimpleArrayHeader) TheArray() KerxArrayOffset
- type KerxStateEntry
- type KerxStateHeader
- type KerxSubtableCoverage
- type KerxSubtableHeader
- func (s *KerxSubtableHeader) FsHeader() KerxFormatSpecificHeader
- func (s *KerxSubtableHeader) Length() uint32
- func (s *KerxSubtableHeader) SetFsHeader(v KerxFormatSpecificHeader)
- func (s *KerxSubtableHeader) SetLength(v uint32)
- func (s *KerxSubtableHeader) SetStInfo(v KerxSubtableCoverage)
- func (s *KerxSubtableHeader) SetTupleCount(v uint32)
- func (s *KerxSubtableHeader) StInfo() KerxSubtableCoverage
- func (s *KerxSubtableHeader) TupleCount() uint32
- type KerxSubtableHeaderPtr
- type KerxTableHeader
- type KerxTableHeaderHandle
- type KerxTableHeaderPtr
- type LcarCaretClassEntry
- type LcarCaretTable
- type LcarCaretTablePtr
- type LtagStringRange
- type LtagTable
- func (s *LtagTable) Flags() uint32
- func (s *LtagTable) NumTags() uint32
- func (s *LtagTable) SetFlags(v uint32)
- func (s *LtagTable) SetNumTags(v uint32)
- func (s *LtagTable) SetTagRange(v [1]LtagStringRange)
- func (s *LtagTable) SetVersion(v uint32)
- func (s *LtagTable) TagRange() [1]LtagStringRange
- func (s *LtagTable) Version() uint32
- type MortChain
- func (s *MortChain) DefaultFlags() MortSubtableMaskFlags
- func (s *MortChain) FeatureEntries() [1]MortFeatureEntry
- func (s *MortChain) Length() uint32
- func (s *MortChain) NFeatures() uint16
- func (s *MortChain) NSubtables() uint16
- func (s *MortChain) SetDefaultFlags(v MortSubtableMaskFlags)
- func (s *MortChain) SetFeatureEntries(v [1]MortFeatureEntry)
- func (s *MortChain) SetLength(v uint32)
- func (s *MortChain) SetNFeatures(v uint16)
- func (s *MortChain) SetNSubtables(v uint16)
- type MortContextualSubtable
- type MortFeatureEntry
- func (s *MortFeatureEntry) DisableFlags() MortSubtableMaskFlags
- func (s *MortFeatureEntry) EnableFlags() MortSubtableMaskFlags
- func (s *MortFeatureEntry) FeatureSelector() uint16
- func (s *MortFeatureEntry) FeatureType() uint16
- func (s *MortFeatureEntry) SetDisableFlags(v MortSubtableMaskFlags)
- func (s *MortFeatureEntry) SetEnableFlags(v MortSubtableMaskFlags)
- func (s *MortFeatureEntry) SetFeatureSelector(v uint16)
- func (s *MortFeatureEntry) SetFeatureType(v uint16)
- type MortInsertionSubtable
- type MortLigatureActionEntry
- type MortLigatureSubtable
- type MortRearrangementSubtable
- type MortSpecificSubtable
- type MortSubtable
- func (s *MortSubtable) Coverage() uint16
- func (s *MortSubtable) Flags() MortSubtableMaskFlags
- func (s *MortSubtable) Length() uint16
- func (s *MortSubtable) SetCoverage(v uint16)
- func (s *MortSubtable) SetFlags(v MortSubtableMaskFlags)
- func (s *MortSubtable) SetLength(v uint16)
- func (s *MortSubtable) SetU(v MortSpecificSubtable)
- func (s *MortSubtable) U() MortSpecificSubtable
- type MortSubtableMaskFlags
- type MortSwashSubtable
- type MortTable
- type MorxChain
- func (s *MorxChain) DefaultFlags() MortSubtableMaskFlags
- func (s *MorxChain) FeatureEntries() [1]MortFeatureEntry
- func (s *MorxChain) Length() uint32
- func (s *MorxChain) NFeatures() uint32
- func (s *MorxChain) NSubtables() uint32
- func (s *MorxChain) SetDefaultFlags(v MortSubtableMaskFlags)
- func (s *MorxChain) SetFeatureEntries(v [1]MortFeatureEntry)
- func (s *MorxChain) SetLength(v uint32)
- func (s *MorxChain) SetNFeatures(v uint32)
- func (s *MorxChain) SetNSubtables(v uint32)
- type MorxContextualSubtable
- type MorxInsertionSubtable
- type MorxLigatureSubtable
- func (s *MorxLigatureSubtable) ComponentTableOffset() uint32
- func (s *MorxLigatureSubtable) Header() STXHeader
- func (s *MorxLigatureSubtable) LigatureActionTableOffset() uint32
- func (s *MorxLigatureSubtable) LigatureTableOffset() uint32
- func (s *MorxLigatureSubtable) SetComponentTableOffset(v uint32)
- func (s *MorxLigatureSubtable) SetHeader(v STXHeader)
- func (s *MorxLigatureSubtable) SetLigatureActionTableOffset(v uint32)
- func (s *MorxLigatureSubtable) SetLigatureTableOffset(v uint32)
- type MorxRearrangementSubtable
- type MorxSpecificSubtable
- func (s *MorxSpecificSubtable) Contextual() MorxContextualSubtable
- func (s *MorxSpecificSubtable) Insertion() MorxInsertionSubtable
- func (s *MorxSpecificSubtable) Ligature() MorxLigatureSubtable
- func (s *MorxSpecificSubtable) Rearrangement() MorxRearrangementSubtable
- func (s *MorxSpecificSubtable) SetContextual(v MorxContextualSubtable)
- func (s *MorxSpecificSubtable) SetInsertion(v MorxInsertionSubtable)
- func (s *MorxSpecificSubtable) SetLigature(v MorxLigatureSubtable)
- func (s *MorxSpecificSubtable) SetRearrangement(v MorxRearrangementSubtable)
- func (s *MorxSpecificSubtable) SetSwash(v MortSwashSubtable)
- func (s *MorxSpecificSubtable) Swash() MortSwashSubtable
- type MorxSubtable
- func (s *MorxSubtable) Coverage() uint32
- func (s *MorxSubtable) Flags() MortSubtableMaskFlags
- func (s *MorxSubtable) Length() uint32
- func (s *MorxSubtable) SetCoverage(v uint32)
- func (s *MorxSubtable) SetFlags(v MortSubtableMaskFlags)
- func (s *MorxSubtable) SetLength(v uint32)
- func (s *MorxSubtable) SetU(v MorxSpecificSubtable)
- func (s *MorxSubtable) U() MorxSpecificSubtable
- type MorxTable
- type OpbdSideValues
- type OpbdTable
- type OpbdTableFormat
- type PropCharProperties
- type PropLookupSegment
- type PropLookupSingle
- type PropTable
- func (s *PropTable) DefaultProps() PropCharProperties
- func (s *PropTable) Format() uint16
- func (s *PropTable) Lookup() SFNTLookupTable
- func (s *PropTable) SetDefaultProps(v PropCharProperties)
- func (s *PropTable) SetFormat(v uint16)
- func (s *PropTable) SetLookup(v SFNTLookupTable)
- func (s *PropTable) SetVersion(v int32)
- func (s *PropTable) Version() int32
- type ROTAGlyphEntry
- type ROTAHeader
- func (s *ROTAHeader) FirstGlyph() uint16
- func (s *ROTAHeader) Flags() uint16
- func (s *ROTAHeader) LastGlyph() uint16
- func (s *ROTAHeader) Lookup() SFNTLookupTable
- func (s *ROTAHeader) NMasters() uint16
- func (s *ROTAHeader) SetFirstGlyph(v uint16)
- func (s *ROTAHeader) SetFlags(v uint16)
- func (s *ROTAHeader) SetLastGlyph(v uint16)
- func (s *ROTAHeader) SetLookup(v SFNTLookupTable)
- func (s *ROTAHeader) SetNMasters(v uint16)
- func (s *ROTAHeader) SetVersion(v int32)
- func (s *ROTAHeader) Version() int32
- type SFNTLookupArrayHeader
- type SFNTLookupBinarySearchHeader
- type SFNTLookupFormatSpecificHeader
- type SFNTLookupKind
- type SFNTLookupOffset
- type SFNTLookupSegment
- type SFNTLookupSegmentHeader
- type SFNTLookupSingle
- type SFNTLookupSingleHeader
- type SFNTLookupTable
- type SFNTLookupTableFormat
- type SFNTLookupTableHandle
- type SFNTLookupTablePtr
- type SFNTLookupTrimmedArrayHeader
- type SFNTLookupValue
- type SFNTLookupVectorHeader
- type STClass
- type STClassTable
- type STEntryIndex
- type STEntryOne
- type STEntryTwo
- type STEntryZero
- type STHeader
- type STXClass
- type STXClassTable
- type STXEntryIndex
- type STXEntryOne
- type STXEntryTwo
- type STXEntryZero
- type STXHeader
- func (s *STXHeader) ClassTableOffset() uint32
- func (s *STXHeader) EntryTableOffset() uint32
- func (s *STXHeader) NClasses() uint32
- func (s *STXHeader) SetClassTableOffset(v uint32)
- func (s *STXHeader) SetEntryTableOffset(v uint32)
- func (s *STXHeader) SetNClasses(v uint32)
- func (s *STXHeader) SetStateArrayOffset(v uint32)
- func (s *STXHeader) StateArrayOffset() uint32
- type STXStateIndex
- type SfntCMapEncoding
- type SfntCMapExtendedSubHeader
- func (s *SfntCMapExtendedSubHeader) Format() uint16
- func (s *SfntCMapExtendedSubHeader) Language() uint32
- func (s *SfntCMapExtendedSubHeader) Length() uint32
- func (s *SfntCMapExtendedSubHeader) Reserved() uint16
- func (s *SfntCMapExtendedSubHeader) SetFormat(v uint16)
- func (s *SfntCMapExtendedSubHeader) SetLanguage(v uint32)
- func (s *SfntCMapExtendedSubHeader) SetLength(v uint32)
- func (s *SfntCMapExtendedSubHeader) SetReserved(v uint16)
- type SfntCMapHeader
- type SfntCMapSubHeader
- type SfntDescriptorHeader
- func (s *SfntDescriptorHeader) Descriptor() [1]SfntFontDescriptor
- func (s *SfntDescriptorHeader) DescriptorCount() int32
- func (s *SfntDescriptorHeader) SetDescriptor(v [1]SfntFontDescriptor)
- func (s *SfntDescriptorHeader) SetDescriptorCount(v int32)
- func (s *SfntDescriptorHeader) SetVersion(v int32)
- func (s *SfntDescriptorHeader) Version() int32
- type SfntDirectory
- func (s *SfntDirectory) EntrySelector() uint16
- func (s *SfntDirectory) Format() uint32
- func (s *SfntDirectory) NumOffsets() uint16
- func (s *SfntDirectory) RangeShift() uint16
- func (s *SfntDirectory) SearchRange() uint16
- func (s *SfntDirectory) SetEntrySelector(v uint16)
- func (s *SfntDirectory) SetFormat(v uint32)
- func (s *SfntDirectory) SetNumOffsets(v uint16)
- func (s *SfntDirectory) SetRangeShift(v uint16)
- func (s *SfntDirectory) SetSearchRange(v uint16)
- func (s *SfntDirectory) SetTable(v [1]SfntDirectoryEntry)
- func (s *SfntDirectory) Table() [1]SfntDirectoryEntry
- type SfntDirectoryEntry
- func (s *SfntDirectoryEntry) CheckSum() uint32
- func (s *SfntDirectoryEntry) Length() uint32
- func (s *SfntDirectoryEntry) Offset() uint32
- func (s *SfntDirectoryEntry) SetCheckSum(v uint32)
- func (s *SfntDirectoryEntry) SetLength(v uint32)
- func (s *SfntDirectoryEntry) SetOffset(v uint32)
- func (s *SfntDirectoryEntry) SetTableTag(v uint32)
- func (s *SfntDirectoryEntry) TableTag() uint32
- type SfntFeatureHeader
- func (s *SfntFeatureHeader) FeatureNameCount() uint16
- func (s *SfntFeatureHeader) FeatureSetCount() uint16
- func (s *SfntFeatureHeader) Names() [1]SfntFeatureName
- func (s *SfntFeatureHeader) Reserved() int32
- func (s *SfntFeatureHeader) Runs() [1]SfntFontRunFeature
- func (s *SfntFeatureHeader) SetFeatureNameCount(v uint16)
- func (s *SfntFeatureHeader) SetFeatureSetCount(v uint16)
- func (s *SfntFeatureHeader) SetNames(v [1]SfntFeatureName)
- func (s *SfntFeatureHeader) SetReserved(v int32)
- func (s *SfntFeatureHeader) SetRuns(v [1]SfntFontRunFeature)
- func (s *SfntFeatureHeader) SetSettings(v [1]SfntFontFeatureSetting)
- func (s *SfntFeatureHeader) SetVersion(v int32)
- func (s *SfntFeatureHeader) Settings() [1]SfntFontFeatureSetting
- func (s *SfntFeatureHeader) Version() int32
- type SfntFeatureName
- func (s *SfntFeatureName) FeatureFlags() uint16
- func (s *SfntFeatureName) FeatureType() uint16
- func (s *SfntFeatureName) NameID() int16
- func (s *SfntFeatureName) OffsetToSettings() int32
- func (s *SfntFeatureName) SetFeatureFlags(v uint16)
- func (s *SfntFeatureName) SetFeatureType(v uint16)
- func (s *SfntFeatureName) SetNameID(v int16)
- func (s *SfntFeatureName) SetOffsetToSettings(v int32)
- func (s *SfntFeatureName) SetSettingCount(v uint16)
- func (s *SfntFeatureName) SettingCount() uint16
- type SfntFontDescriptor
- type SfntFontFeatureSetting
- type SfntFontRunFeature
- type SfntInstance
- type SfntNameHeader
- type SfntNameRecord
- type SfntVariationAxis
- func (s *SfntVariationAxis) AxisTag() uint32
- func (s *SfntVariationAxis) DefaultValue() int32
- func (s *SfntVariationAxis) Flags() int16
- func (s *SfntVariationAxis) MaxValue() int32
- func (s *SfntVariationAxis) MinValue() int32
- func (s *SfntVariationAxis) NameID() int16
- func (s *SfntVariationAxis) SetAxisTag(v uint32)
- func (s *SfntVariationAxis) SetDefaultValue(v int32)
- func (s *SfntVariationAxis) SetFlags(v int16)
- func (s *SfntVariationAxis) SetMaxValue(v int32)
- func (s *SfntVariationAxis) SetMinValue(v int32)
- func (s *SfntVariationAxis) SetNameID(v int16)
- type SfntVariationHeader
- func (s *SfntVariationHeader) Axis() [1]SfntVariationAxis
- func (s *SfntVariationHeader) AxisCount() uint16
- func (s *SfntVariationHeader) AxisSize() uint16
- func (s *SfntVariationHeader) CountSizePairs() uint16
- func (s *SfntVariationHeader) Instance() [1]SfntInstance
- func (s *SfntVariationHeader) InstanceCount() uint16
- func (s *SfntVariationHeader) InstanceSize() uint16
- func (s *SfntVariationHeader) OffsetToData() uint16
- func (s *SfntVariationHeader) SetAxis(v [1]SfntVariationAxis)
- func (s *SfntVariationHeader) SetAxisCount(v uint16)
- func (s *SfntVariationHeader) SetAxisSize(v uint16)
- func (s *SfntVariationHeader) SetCountSizePairs(v uint16)
- func (s *SfntVariationHeader) SetInstance(v [1]SfntInstance)
- func (s *SfntVariationHeader) SetInstanceCount(v uint16)
- func (s *SfntVariationHeader) SetInstanceSize(v uint16)
- func (s *SfntVariationHeader) SetOffsetToData(v uint16)
- func (s *SfntVariationHeader) SetVersion(v int32)
- func (s *SfntVariationHeader) Version() int32
- type SizeofSfntcmapencoding
- type SizeofSfntcmapextendedsubheader
- type SizeofSfntcmapheader
- type SizeofSfntcmapsubheader
- type SizeofSfntdescriptorheader
- type SizeofSfntdirectory
- type SizeofSfntinstance
- type SizeofSfntnameheader
- type SizeofSfntnamerecord
- type SizeofSfntvariationaxis
- type SizeofSfntvariationheader
- type TrakTable
- func (s *TrakTable) Format() uint16
- func (s *TrakTable) HorizOffset() uint16
- func (s *TrakTable) SetFormat(v uint16)
- func (s *TrakTable) SetHorizOffset(v uint16)
- func (s *TrakTable) SetVersion(v int32)
- func (s *TrakTable) SetVertOffset(v uint16)
- func (s *TrakTable) Version() int32
- func (s *TrakTable) VertOffset() uint16
- type TrakTableData
- func (s *TrakTableData) NSizes() uint16
- func (s *TrakTableData) NTracks() uint16
- func (s *TrakTableData) SetNSizes(v uint16)
- func (s *TrakTableData) SetNTracks(v uint16)
- func (s *TrakTableData) SetSizeTableOffset(v uint32)
- func (s *TrakTableData) SetTrakTable(v [1]TrakTableEntry)
- func (s *TrakTableData) SizeTableOffset() uint32
- func (s *TrakTableData) TrakTable() [1]TrakTableEntry
- type TrakTableEntry
- type TrakValue
Constants ¶
const CmapFontTableTag uint32 = 0x636d6170
const DescriptorFontTableTag uint32 = 0x66647363
const FeatureFontTableTag uint32 = 0x66656174
const KANKRCurrentVersion uint32 = 0
const KCTFontClassMaskShift uint32 = 28
const KFontNoNameCode uint32 = 4294967295
const KKERXValuesAreLong uint32 = 0x1
const KLTAGCurrentVersion uint32 = 1
const KNoAlternatesSelector uint32 = 0
const KSTKCrossStreamReset uint32 = 0x2000
const KSTXHasLigAction uint32 = 0x2000
const NameFontTableTag uint32 = 0x6e616d65
const NonGlyphID uint32 = 65535
const Os2FontTableTag uint32 = 0x4f532f32
const VariationFontTableTag uint32 = 0x66766172
Variables ¶
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.
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.
func CTFontCollectionCreateMatchingFontDescriptorsWithOptions ¶
func CTFontCollectionCreateMatchingFontDescriptorsWithOptions(collection CTFontCollectionRef, options corefoundation.CFDictionaryRef) corefoundation.CFArrayRef
CTFontCollectionCreateMatchingFontDescriptorsWithOptions creates an array of font descriptors that match the specified collection.
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.
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.
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 CTFontDrawImageFromAdaptiveImageProviderAtPoint ¶
func CTFontDrawImageFromAdaptiveImageProviderAtPoint(font CTFontRef, provider CTAdaptiveImageProvidingObject, point corefoundation.CGPoint, context coregraphics.CGContextRef)
CTFontDrawImageFromAdaptiveImageProviderAtPoint.
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 ¶
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 ¶
CTFontGetCapHeight returns the cap-height metric of the given font.
See: https://developer.apple.com/documentation/CoreText/CTFontGetCapHeight(_:)
func CTFontGetDescent ¶
CTFontGetDescent returns the scaled font-descent metric of the given font.
See: https://developer.apple.com/documentation/CoreText/CTFontGetDescent(_:)
func CTFontGetGlyphCount ¶
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 ¶
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 ¶
CTFontGetSize returns the point size of the given font.
See: https://developer.apple.com/documentation/CoreText/CTFontGetSize(_:)
func CTFontGetSlantAngle ¶
CTFontGetSlantAngle returns the slant angle of the given font.
See: https://developer.apple.com/documentation/CoreText/CTFontGetSlantAngle(_:)
func CTFontGetStringEncoding ¶
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 CTFontGetTypographicBoundsForAdaptiveImageProvider ¶
func CTFontGetTypographicBoundsForAdaptiveImageProvider(font CTFontRef, provider CTAdaptiveImageProvidingObject) corefoundation.CGRect
CTFontGetTypographicBoundsForAdaptiveImageProvider.
func CTFontGetUnderlinePosition ¶
CTFontGetUnderlinePosition returns the scaled underline position of the given font.
See: https://developer.apple.com/documentation/CoreText/CTFontGetUnderlinePosition(_:)
func CTFontGetUnderlineThickness ¶
CTFontGetUnderlineThickness returns the scaled underline-thickness metric of the given font.
See: https://developer.apple.com/documentation/CoreText/CTFontGetUnderlineThickness(_:)
func CTFontGetUnitsPerEm ¶
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 ¶
CTFontGetXHeight returns the x-height metric of the given font.
See: https://developer.apple.com/documentation/CoreText/CTFontGetXHeight(_:)
func CTFontHasTable ¶
func CTFontHasTable(font CTFontRef, tag CTFontTableTag) bool
CTFontHasTable.
See: https://developer.apple.com/documentation/CoreText/CTFontHasTable(_:_:)
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.
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 ¶
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 ¶
CTLineGetOffsetForStringIndex determines the graphical offset or offsets for a string index.
See: https://developer.apple.com/documentation/CoreText/CTLineGetOffsetForStringIndex(_:_:_:)
func CTLineGetPenOffsetForFlush ¶
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 ¶
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 ¶
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 ¶
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 ¶
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.
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 ATSFontRef ¶
type ATSFontRef = uint32
See: https://developer.apple.com/documentation/CoreText/ATSFontRef
type AnchorPoint ¶
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 ¶
AnchorPointTableOffset returns the AnchorPointTableOffset field from the record's packed storage.
func (*AnkrTable) LookupTableOffset ¶
LookupTableOffset returns the LookupTableOffset field from the record's packed storage.
func (*AnkrTable) SetAnchorPointTableOffset ¶
SetAnchorPointTableOffset updates the AnchorPointTableOffset field in the record's packed storage.
func (*AnkrTable) SetLookupTableOffset ¶
SetLookupTableOffset updates the LookupTableOffset field in the record's packed storage.
func (*AnkrTable) SetVersion ¶
SetVersion updates the Version field in the record's packed storage.
type BslnBaselineClass ¶
type BslnBaselineClass = uint32
See: https://developer.apple.com/documentation/CoreText/BslnBaselineClass
type BslnBaselineRecord ¶
type BslnBaselineRecord = [32]int32
See: https://developer.apple.com/documentation/CoreText/BslnBaselineRecord
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 ¶
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 ¶
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 ¶
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 ¶
SetVersion updates the Version field in the record's packed storage.
type BslnTableFormat ¶
type BslnTableFormat = uint16
See: https://developer.apple.com/documentation/CoreText/BslnTableFormat
type BslnTablePtr ¶
type BslnTablePtr = *BslnTable
See: https://developer.apple.com/documentation/CoreText/BslnTablePtr
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 ¶
func (o CTAdaptiveImageProvidingObject) BaseObject() objectivec.Object
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 ¶
func (e CTFontCollectionCopyOptions) String() 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.
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 ¶
func (e CTFontDescriptorMatchingState) String() 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.
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.
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.
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 CTFontGetUIFontType ¶
func CTFontGetUIFontType(font CTFontRef) CTFontUIFontType
CTFontGetUIFontType.
See: https://developer.apple.com/documentation/CoreText/CTFontGetUIFontType(_:)
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 CTLineBreakMode ¶
type CTLineBreakMode uint8
See: https://developer.apple.com/documentation/CoreText/CTLineBreakMode
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 CTLineTruncationType ¶
type CTLineTruncationType uint32
See: https://developer.apple.com/documentation/CoreText/CTLineTruncationType
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 ¶
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 ¶
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 ¶
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 ¶
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.
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 CTWritingDirection ¶
type CTWritingDirection int8
See: https://developer.apple.com/documentation/CoreText/CTWritingDirection
type FontLanguageCode ¶
type FontLanguageCode = uint32
See: https://developer.apple.com/documentation/CoreText/FontLanguageCode
type FontNameCode ¶
type FontNameCode = uint32
See: https://developer.apple.com/documentation/CoreText/FontNameCode
type FontPlatformCode ¶
type FontPlatformCode = uint32
See: https://developer.apple.com/documentation/CoreText/FontPlatformCode
type FontScriptCode ¶
type FontScriptCode = uint32
See: https://developer.apple.com/documentation/CoreText/FontScriptCode
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 ¶
func (s *JustPCActionSubrecord) TheType() JustPCActionType
TheType returns the TheType field from the record's packed storage.
type JustPCActionType ¶
type JustPCActionType = uint16
See: https://developer.apple.com/documentation/CoreText/JustPCActionType
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 ¶
JustPCGlyphRepeatAddAction
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/JustPCGlyphRepeatAddAction
type JustPCUnconditionalAddAction ¶
type JustPCUnconditionalAddAction = uint16
See: https://developer.apple.com/documentation/CoreText/JustPCUnconditionalAddAction
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) HorizHeaderOffset ¶
HorizHeaderOffset returns the HorizHeaderOffset field from the record's packed storage.
func (*JustTable) SetHorizHeaderOffset ¶
SetHorizHeaderOffset updates the HorizHeaderOffset field in the record's packed storage.
func (*JustTable) SetVersion ¶
SetVersion updates the Version field in the record's packed storage.
func (*JustTable) SetVertHeaderOffset ¶
SetVertHeaderOffset updates the VertHeaderOffset field in the record's packed storage.
func (*JustTable) VertHeaderOffset ¶
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 JustificationFlags ¶
type JustificationFlags = uint16
See: https://developer.apple.com/documentation/CoreText/JustificationFlags
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 ¶
func (e KAllTypographicFeaturesType) String() 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 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 ¶
func (e KCanonicalCompositionOnSelector) String() 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 ¶
func (e KContextualAlternatesOnSelector) String() 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 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 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 ¶
func (e KFontUnicodeDefaultSemantics) String() 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 ¶
func (e KFullWidthIdeographsSelector) String() 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 ¶
func (e KHalfWidthCJKRomanSelector) String() 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 ¶
func (e KHyphensToEmDashOnSelector) String() 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 )
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 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 )
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 )
type KMonospacedNumbersSelector ¶
type KMonospacedNumbersSelector uint32
const ( KMonospacedNumbersSelectorValue KMonospacedNumbersSelector = 0 KProportionalNumbersSelector KMonospacedNumbersSelector = 1 KQuarterWidthNumbersSelector KMonospacedNumbersSelector = 3 KThirdWidthNumbersSelector KMonospacedNumbersSelector = 2 )
func (KMonospacedNumbersSelector) String ¶
func (e KMonospacedNumbersSelector) String() 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 ¶
func (e KNoCJKSymbolAlternativesSelector) String() 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 ¶
func (e KNoIdeographicAlternativesSelector) String() 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 ¶
func (e KNoStylisticAlternatesSelector) String() 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 ¶
func (e KNoTransliterationSelector) String() 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 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 )
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 ¶
func (e KRequiredLigaturesOnSelector) String() 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 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 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 ¶
func (e KTraditionalCharactersSelector) String() 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 ¶
func (e KUpperAndLowerCaseSelector) String() 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 ¶
func (e KWordInitialSwashesOnSelector) String() string
type KernArrayOffset ¶
type KernArrayOffset = uint16
See: https://developer.apple.com/documentation/CoreText/KernArrayOffset
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 ¶
KernKerningPair
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KernKerningPair
type KernKerningValue ¶
type KernKerningValue = int16
See: https://developer.apple.com/documentation/CoreText/KernKerningValue
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 KernOffsetTablePtr ¶
type KernOffsetTablePtr = *KernOffsetTable
See: https://developer.apple.com/documentation/CoreText/KernOffsetTablePtr
type KernOrderedListEntry ¶
type KernOrderedListEntry struct {
Pair KernKerningPair
Value KernKerningValue
}
KernOrderedListEntry
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KernOrderedListEntry
type KernOrderedListEntryPtr ¶
type KernOrderedListEntryPtr = *KernOrderedListEntry
See: https://developer.apple.com/documentation/CoreText/KernOrderedListEntryPtr
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 ¶
KernStateEntry
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KernStateEntry
type KernStateHeader ¶
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 ¶
func (s *KernSubtableHeader) FsHeader() KernFormatSpecificHeader
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 ¶
func (s *KernSubtableHeader) StInfo() KernSubtableInfo
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 KernSubtableHeaderPtr ¶
type KernSubtableHeaderPtr = *KernSubtableHeader
See: https://developer.apple.com/documentation/CoreText/KernSubtableHeaderPtr
type KernSubtableInfo ¶
type KernSubtableInfo = uint16
See: https://developer.apple.com/documentation/CoreText/KernSubtableInfo
type KernTableFormat ¶
type KernTableFormat = uint8
See: https://developer.apple.com/documentation/CoreText/KernTableFormat
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 KernTableHeaderHandle ¶
type KernTableHeaderHandle = *KernTableHeaderPtr
See: https://developer.apple.com/documentation/CoreText/KernTableHeaderHandle
type KernTableHeaderPtr ¶
type KernTableHeaderPtr = *KernTableHeader
See: https://developer.apple.com/documentation/CoreText/KernTableHeaderPtr
type KernVersion0Header ¶
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 ¶
KerxAnchorPointAction
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KerxAnchorPointAction
type KerxArrayOffset ¶
type KerxArrayOffset = uint32
See: https://developer.apple.com/documentation/CoreText/KerxArrayOffset
type KerxControlPointAction ¶
KerxControlPointAction
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/KerxControlPointAction
type KerxControlPointEntry ¶
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 ¶
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 ¶
func (s *KerxFormatSpecificHeader) ControlPoint() KerxControlPointHeader
ControlPoint returns the ControlPoint field from the record's packed storage.
func (*KerxFormatSpecificHeader) IndexArray ¶
func (s *KerxFormatSpecificHeader) IndexArray() KerxIndexArrayHeader
IndexArray returns the IndexArray field from the record's packed storage.
func (*KerxFormatSpecificHeader) OrderedList ¶
func (s *KerxFormatSpecificHeader) OrderedList() KerxOrderedListHeader
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 ¶
func (s *KerxFormatSpecificHeader) SimpleArray() KerxSimpleArrayHeader
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 ¶
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 KerxOrderedListEntryPtr ¶
type KerxOrderedListEntryPtr = *KerxOrderedListEntry
See: https://developer.apple.com/documentation/CoreText/KerxOrderedListEntryPtr
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 ¶
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 KerxSubtableCoverage ¶
type KerxSubtableCoverage = uint32
See: https://developer.apple.com/documentation/CoreText/KerxSubtableCoverage
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 ¶
func (s *KerxSubtableHeader) FsHeader() KerxFormatSpecificHeader
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 ¶
func (s *KerxSubtableHeader) StInfo() KerxSubtableCoverage
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 KerxSubtableHeaderPtr ¶
type KerxSubtableHeaderPtr = *KerxSubtableHeader
See: https://developer.apple.com/documentation/CoreText/KerxSubtableHeaderPtr
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 KerxTableHeaderHandle ¶
type KerxTableHeaderHandle = *KerxTableHeaderPtr
See: https://developer.apple.com/documentation/CoreText/KerxTableHeaderHandle
type KerxTableHeaderPtr ¶
type KerxTableHeaderPtr = *KerxTableHeader
See: https://developer.apple.com/documentation/CoreText/KerxTableHeaderPtr
type LcarCaretClassEntry ¶
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 LcarCaretTablePtr ¶
type LcarCaretTablePtr = *LcarCaretTable
See: https://developer.apple.com/documentation/CoreText/LcarCaretTablePtr
type LtagStringRange ¶
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) SetNumTags ¶
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 ¶
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.
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) NFeatures ¶
NFeatures returns the NFeatures field from the record's packed storage.
func (*MortChain) NSubtables ¶
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) SetNFeatures ¶
SetNFeatures updates the NFeatures field in the record's packed storage.
func (*MortChain) SetNSubtables ¶
SetNSubtables updates the NSubtables field in the record's packed storage.
type MortContextualSubtable ¶
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 MortLigatureActionEntry ¶
type MortLigatureActionEntry = uint32
See: https://developer.apple.com/documentation/CoreText/MortLigatureActionEntry
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 ¶
func (s *MortSubtable) Flags() MortSubtableMaskFlags
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 ¶
func (s *MortSubtable) SetU(v MortSpecificSubtable)
SetU updates the U field in the record's packed storage.
func (*MortSubtable) U ¶
func (s *MortSubtable) U() MortSpecificSubtable
U returns the U field from the record's packed storage.
type MortSubtableMaskFlags ¶
type MortSubtableMaskFlags = uint32
See: https://developer.apple.com/documentation/CoreText/MortSubtableMaskFlags
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) SetNChains ¶
SetNChains updates the NChains field in the record's packed storage.
func (*MortTable) SetVersion ¶
SetVersion updates the Version field in 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) NFeatures ¶
NFeatures returns the NFeatures field from the record's packed storage.
func (*MorxChain) NSubtables ¶
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) SetNFeatures ¶
SetNFeatures updates the NFeatures field in the record's packed storage.
func (*MorxChain) SetNSubtables ¶
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 ¶
func (s *MorxRearrangementSubtable) Header() STXHeader
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 ¶
func (s *MorxSpecificSubtable) Contextual() MorxContextualSubtable
Contextual returns the Contextual field from the record's packed storage.
func (*MorxSpecificSubtable) Insertion ¶
func (s *MorxSpecificSubtable) Insertion() MorxInsertionSubtable
Insertion returns the Insertion field from the record's packed storage.
func (*MorxSpecificSubtable) Ligature ¶
func (s *MorxSpecificSubtable) Ligature() MorxLigatureSubtable
Ligature returns the Ligature field from the record's packed storage.
func (*MorxSpecificSubtable) Rearrangement ¶
func (s *MorxSpecificSubtable) Rearrangement() MorxRearrangementSubtable
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 ¶
func (s *MorxSpecificSubtable) Swash() MortSwashSubtable
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 ¶
func (s *MorxSubtable) Flags() MortSubtableMaskFlags
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 ¶
func (s *MorxSubtable) SetU(v MorxSpecificSubtable)
SetU updates the U field in the record's packed storage.
func (*MorxSubtable) U ¶
func (s *MorxSubtable) U() MorxSpecificSubtable
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) SetNChains ¶
SetNChains updates the NChains field in the record's packed storage.
func (*MorxTable) SetVersion ¶
SetVersion updates the Version field in 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 ¶
SetVersion updates the Version field in the record's packed storage.
type OpbdTableFormat ¶
type OpbdTableFormat = uint16
See: https://developer.apple.com/documentation/CoreText/OpbdTableFormat
type PropCharProperties ¶
type PropCharProperties = uint16
See: https://developer.apple.com/documentation/CoreText/PropCharProperties
type PropLookupSegment ¶
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) 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) SetLookup ¶
func (s *PropTable) SetLookup(v SFNTLookupTable)
SetLookup updates the Lookup field in the record's packed storage.
func (*PropTable) SetVersion ¶
SetVersion updates the Version field in the record's packed storage.
type ROTAGlyphEntry ¶
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 SFNTLookupKind ¶
type SFNTLookupKind = uint32
See: https://developer.apple.com/documentation/CoreText/SFNTLookupKind
type SFNTLookupOffset ¶
type SFNTLookupOffset = uint16
See: https://developer.apple.com/documentation/CoreText/SFNTLookupOffset
type SFNTLookupSegment ¶
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 ¶
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 SFNTLookupTableFormat ¶
type SFNTLookupTableFormat = uint16
See: https://developer.apple.com/documentation/CoreText/SFNTLookupTableFormat
type SFNTLookupTableHandle ¶
type SFNTLookupTableHandle = *SFNTLookupTablePtr
See: https://developer.apple.com/documentation/CoreText/SFNTLookupTableHandle
type SFNTLookupTablePtr ¶
type SFNTLookupTablePtr = *SFNTLookupTable
See: https://developer.apple.com/documentation/CoreText/SFNTLookupTablePtr
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 SFNTLookupValue ¶
type SFNTLookupValue = uint16
See: https://developer.apple.com/documentation/CoreText/SFNTLookupValue
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 ¶
STClassTable
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/STClassTable
type STEntryIndex ¶
type STEntryIndex = uint8
See: https://developer.apple.com/documentation/CoreText/STEntryIndex
type STEntryOne ¶
STEntryOne
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/STEntryOne
type STEntryTwo ¶
STEntryTwo
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/STEntryTwo
type STEntryZero ¶
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 STXClass ¶
type STXClass = uint16
See: https://developer.apple.com/documentation/CoreText/STXClass
type STXClassTable ¶
type STXClassTable = SFNTLookupTable
See: https://developer.apple.com/documentation/CoreText/STXClassTable
type STXEntryIndex ¶
type STXEntryIndex = uint16
See: https://developer.apple.com/documentation/CoreText/STXEntryIndex
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 ¶
ClassTableOffset returns the ClassTableOffset field from the record's packed storage.
func (*STXHeader) EntryTableOffset ¶
EntryTableOffset returns the EntryTableOffset field from the record's packed storage.
func (*STXHeader) SetClassTableOffset ¶
SetClassTableOffset updates the ClassTableOffset field in the record's packed storage.
func (*STXHeader) SetEntryTableOffset ¶
SetEntryTableOffset updates the EntryTableOffset field in the record's packed storage.
func (*STXHeader) SetNClasses ¶
SetNClasses updates the NClasses field in the record's packed storage.
func (*STXHeader) SetStateArrayOffset ¶
SetStateArrayOffset updates the StateArrayOffset field in the record's packed storage.
func (*STXHeader) StateArrayOffset ¶
StateArrayOffset returns the StateArrayOffset field from the record's packed storage.
type STXStateIndex ¶
type STXStateIndex = uint16
See: https://developer.apple.com/documentation/CoreText/STXStateIndex
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 ¶
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 ¶
func (s *SfntFeatureHeader) Runs() [1]SfntFontRunFeature
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 ¶
SfntFontFeatureSetting
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreText/sfntFontFeatureSetting
type SfntFontRunFeature ¶
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 ¶
func (s *SfntVariationHeader) Axis() [1]SfntVariationAxis
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 ¶
func (e SizeofSfntcmapextendedsubheader) String() 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 ¶
func (e SizeofSfntdescriptorheader) String() 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) HorizOffset ¶
HorizOffset returns the HorizOffset field from the record's packed storage.
func (*TrakTable) SetHorizOffset ¶
SetHorizOffset updates the HorizOffset field in the record's packed storage.
func (*TrakTable) SetVersion ¶
SetVersion updates the Version field in the record's packed storage.
func (*TrakTable) SetVertOffset ¶
SetVertOffset updates the VertOffset field in the record's packed storage.
func (*TrakTable) VertOffset ¶
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.
type TrakValue ¶
type TrakValue = int16
See: https://developer.apple.com/documentation/CoreText/TrakValue