objectsFF

class robofab.objects.objectsFF.RGlyph(ffGlyph=None)

Fab wrapper for FF Glyph object

name
note
width
leftMargin
rightMargin
unicodes
unicode
box

the bounding box of the glyph: (xMin, yMin, xMax, yMax)

mark

the color of the glyph box in the font view

draw(pen)
drawPoints(pen)

Note: FontForge implements glyph.draw, but not glyph.drawPoints.

copy(aParent=None)

Make a copy of this glyph. Note: the copy is not a duplicate fontlab glyph, but a RF RGlyph with the same outlines. The new glyph is not part of the fontlab font in any way. Use font.appendGlyph(glyph) to get it in a FontLab glyph again.

contours

allow for iteration through glyph.contours