MCPcopy Create free account
hub / github.com/tdewolff/canvas / String

Method String

text/text.go:16–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14}
15
16func (item *ScriptItem) String() string {
17 return fmt.Sprintf("{%v %v %v}", item.Script, item.Level, item.Text)
18}
19
20// ScriptItemizer divides the string in parts for each different script. Also separates on different embedding levels and unicode.ReplacementChar (replaced by object).
21func ScriptItemizer(runes []rune, embeddingLevels []int) []ScriptItem {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected