Versions in this module Expand all Collapse all v0 v0.1.1 Mar 29, 2024 v0.1.0 Dec 26, 2023 Changes in this version + const VariantFound + const VariantNotFound + const VariantUseDefault + func ProcessCmap(cmap tables.Cmap, os2FontPage tables.FontPage) (Cmap, UnicodeVariations, error) + type BitmapFormat uint8 + const BlackAndWhite + const JPG + const PNG + const TIFF + type BitmapSize struct + Height uint16 + Width uint16 + XPpem uint16 + YPpem uint16 + type Cmap interface + Iter func() CmapIter + Lookup func(rune) (GID, bool) + type CmapIter interface + Char func() (rune, GID) + Next func() bool + type CmapRuneRanger interface + RuneRanges func(dst [][2]rune) [][2]rune + type FontExtents struct + Ascender float32 + Descender float32 + LineGap float32 + type FontID struct + File string + Index uint16 + Instance uint16 + type GID uint32 + const EmptyGlyph + type GlyphBitmap struct + Data []byte + Format BitmapFormat + Height int + Outline *GlyphOutline + Width int + type GlyphData interface + type GlyphExtents struct + Height float32 + Width float32 + XBearing float32 + YBearing float32 + type GlyphOutline struct + Segments []Segment + func (o GlyphOutline) Sideways(yOffset float32) + type GlyphSVG struct + Outline GlyphOutline + Source []byte + type LineMetric uint8 + const CapHeight + const StrikethroughPosition + const StrikethroughThickness + const SubscriptEmXOffset + const SubscriptEmYOffset + const SubscriptEmYSize + const SuperscriptEmXOffset + const SuperscriptEmYSize + const UnderlinePosition + const UnderlineThickness + const XHeight + type Segment struct + Args [3]SegmentPoint + Op SegmentOp + func (s *Segment) ArgsSlice() []SegmentPoint + type SegmentOp uint8 + const SegmentOpCubeTo + const SegmentOpLineTo + const SegmentOpMoveTo + const SegmentOpQuadTo + type SegmentPoint struct + X float32 + Y float32 + func (pt *SegmentPoint) Move(dx, dy float32) + type UnicodeVariations []variationSelector + func (t UnicodeVariations) GetGlyphVariant(r, selector rune) (GID, uint8)