GlyphCombine Op
Takes the per-glyph SVG paths and positions arrays and reconstructs a single combined SVG path string, ready for triangulation
Summary (oneliner)
Key features:
- Repositions each glyph path from origin to its layout position
- Optimized SVG parser (manual charCode parsing, no regex)
- String assembly via array
Outputs:
- combined SVG Path, Path Data object {cmds, crds}, Text Width, Text Height, Glyph Count
When to use: After any chain of FontParser / GlyphAxisMorph / GlyphTransformAnim ops. If using
FontParser alone (no per-glyph animation), its built-in Combined SVG Path output can be used directly — GlyphCombine is not needed.
Full Name
- Ops.Extension.FontKit.GlyphCombine
- Extension Op - visible for everyone
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch Fontkit Glyph Transform Anim Example
INPUT PORTS
Glyph Paths (Array)
Glyph Positions (Array)
OUTPUT PORTS
SVG Path (String)
Path Data (Object)
Text Width (Number)
Text Height (Number)
Glyph Count (Number)