Change composite margins in MM Layers scripting

Primary tabs

1 post / 0 new
Joancarles Casasín's picture
Joined: 9 Jan 2009 - 7:25am
Change composite margins in MM Layers scripting
0

I'd like to shift composite glyphs in MM layers, with specific values for each layer. Set the marging in glyphs with components with are in a FontLab MM.
I've been trying and couldn't get it working.
glyph.Shift doesn't work with composites, I couldn't find a way with components.deltas either.
(probably I'm doing something wrong, FontLab API is a bit cryptic to me, It can't be that hard set sidebearings : )
THanks!