Changeset 196


Ignore:
Timestamp:
04/14/09 13:38:44 (4 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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 
Note: See TracChangeset for help on using the changeset viewer.