def text.characters
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
3403def text.characters(s: String, +font: TextFont, +frames: List<&2, TextFrame>, cursor: TextCursor) -> TextLayout:
3404 match s:
3405 case SNil{}: TextLayout{Nil{}, cursor}
3406 case SCon{Chr{ch}, rest}: text.layout.then(text.character(cursor, font, frames, ch), next => text.characters(rest, font, frames, next))