Posted by:
Roberts Hello!
I have been doing some MM stuff via Python in FontLab. In
particular, control the curve points of arbitrary MM layer.
I am confused how different classes access nodes and control
vectors in non-MM-way and in MM-way:
In non-MM-way:
Glyph[ node index* ] accesses on-curve nodes one by one
Glyph[ node index* ] [ control point index ] accesses Bezier
curves / off-curve points where applicable.
In MM-way,
Glyph[ node index ].Section( layer index )[node index**]
accesses all points one by one, both on-curve and off-curve points. No way to
tell what the point type is. Unfortunately "node index*"
and " node index**" are not identical since in MM-way all
points are part of the structure.
Is there a better way to access node control points of
various MM layers in FontLab?
Is there a better way to make these MM and non-MM data
structures link?
Best regards,
Robert