Changeset 196

Show
Ignore:
Timestamp:
04/14/09 08:38:44 (3 years ago)
Author:
erik
Message:

FLPointContourPen as an alternative to FLPointPen. FLPointContourPen ignores the components. In some situations adding a component to a fl glyphs makes FontLab? crash.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Lib/robofab/pens/flPen.py

    r1 r196  
    174174        for baseGlyph, tranform in _getComponents(flGlyph): 
    175175                pen.addComponent(baseGlyph, tranform) 
     176                 
     177 
     178 
     179class FLPointContourPen(FLPointPen): 
     180        """Same as FLPointPen, except that it ignores components.""" 
     181        def addComponent(self, baseName, transformation): 
     182                pass 
    176183 
    177184