Versions in this module Expand all Collapse all v0 v0.1.8 Oct 31, 2026 v0.1.7 Oct 30, 2026 Changes in this version + func Advance(glyphWidth float64, object models.TextObject, code models.TextCode, index int) (float64, float64) + func CTMLinearMatrix(ctm *models.CTM) *geom.Matrix + func CanRenderRune(face Face, r rune) bool + func CanRenderText(face Face, value string) bool + func CharDirection(object models.TextObject) float64 + func DirectionsZero(object models.TextObject) bool + func HScale(object models.TextObject) float64 + func NeedsRunBreak(object models.TextObject, deltaX, deltaY, naturalX float64) bool + func Outline(face OutlineFace, object models.TextObject, ...) *geom.Path + func PositionedAdvance(width float64, object models.TextObject, code models.TextCode, ...) (float64, float64) + func ReadAdvance(advance float64, direction int) (float64, float64) + func Renderable(value string) bool + func RenderableRune(r rune) bool + func UsesGlyphDeltas(code models.TextCode, glyphs []Glyph) bool + func VisibleText(value string) string + func WalkOutlines(face OutlineFace, object models.TextObject, ...) + func WalkRuns(face Face, object models.TextObject, code models.TextCode, codePosition int, ...) + type Character struct + Angle float64 + Height float64 + Text string + Width float64 + X float64 + Y float64 + type Face interface + GlyphIndex func(r rune) uint16 + IsCFF func() bool + TextWidth func(value string) float64 + VerticalMetrics func() (float64, float64) + type Glyph struct + CodePosition int + GlyphCount int + GlyphPosition int + Semantic string + Value string + func CodeGlyphs(face Face, runes []rune, transforms []models.CTCGTransform, codePosition int) []Glyph + type Layout struct + Bold bool + CharDirection int + Font uint64 + Glyphs []Character + Height float64 + Italic bool + ReadDirection int + Size float64 + Source Source + Text string + Weight int + Width float64 + X float64 + Y float64 + func Build(face Face, object models.TextObject, code models.TextCode, codePosition int) Layout + type OutlineFace interface + DirectPath func(value string) *geom.Path + ToPath func(value string) *geom.Path + type Run struct + SemanticOnly bool + Value string + X float64 + Y float64 + type Source string