digestPen

A couple of point pens which return the glyph as a list of basic values.

class robofab.pens.digestPen.DigestPointPen(ignoreSmoothAndName=False)
Calculate a digest of all points
AND coordinates AND components

in a glyph.

getDigestPointsOnly(needSort=True)

Return a tuple with all coordinates of all points, but without smooth info or drawing instructions. For instance if you want to compare 2 glyphs in shape, but not interpolatability.

class robofab.pens.digestPen.DigestPointStructurePen(ignoreSmoothAndName=False)

Calculate a digest of the structure of the glyph NOT coordinates NOT values.