GlyphCombine Op

GlyphCombine

Takes the per-glyph SVG paths and positions arrays and reconstructs a single combined SVG path string, ready for triangulation


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
Visibility
  •  Extension Op - visible for everyone
License
  • MIT
AuthorgithubMaintained by Team


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)

Changelog

Patches using GlyphCombine

  • Examples
  • Public
  • My Patches