Options

Considering angle when removing margins in Python

image

I'm trying to build a metrics tool, but I can't find an .italicAngle to include inorder to properly remove the margins of a slanted Robofont glyph.

f = CurrentFont()
for i in f.selection:
f[i].width=0
f[i].rightMargin = 0
f[i].leftMargin = 0
f[i].update()

Does anyone know of a solution?

Comments

Sign In or Register to comment.