def ttf.merge

gralha-truetype@0.1.0.1 · font.bend:265

import gralha-truetype@0.1.0.1/font.bend as Font
import Base

265def ttf.merge(parent: TTGlyph, child: TTGlyph) -> TTGlyph:
266  TTGlyph{ps, pe, pc} = parent
267  TTGlyph{cs, ce, cc} = child
268  +n = pc
269  TTGlyph{ttf.append.points(ps, cs), ttf.append.ends(pe, ce, n), (n + cc : U32)}

Uses (5)

Used by (1)