def ttf.merge
import gralha-truetype@0.1.0.1/font.bend as Fontimport 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)}