Hello,
you can do something like this:
glyph = fl.glyph for node in glyph.Layer(1): node.Shift(Point(0,50)) fl.UpdateGlyph(fl.iglyph)
Best
Eigi
Hallo!
A few years ago I come across this unofficial Fontlab API http://www.e-font.de/flpydoc/view_html.html
I'm developing a script for interpolate nodes & I'm having problem at accessing a specific master, I've tried using fl.layer, but as this is read only I cannot specify the layer to apply my changes, e.g.
fl.layer = fl.layer
fl.SetUndo()
g = fl.glyph
Is there an updated Fontlab API documentation? does anyone knows how to access a specific master?
thank you in advance, cheers!
Hello,
you can do something like this:
glyph = fl.glyph for node in glyph.Layer(1): node.Shift(Point(0,50)) fl.UpdateGlyph(fl.iglyph)
Best
Eigi
Thank you Andreas! It worked!!!
Captured from commoncrawl.org on 27 Apr 2015. original URL