Changeset 325
- Timestamp:
- 01/15/09 04:13:36 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
packages/defcon/branches/ufo2/Lib/defcon/objects/font.py
r317 r325 404 404 405 405 def _get_controlPointBounds(self): 406 from fontTools.pens.boundsPen import ControlBoundsPen407 406 from fontTools.misc.transform import Transform 408 407 # storage … … 413 412 if glyphName in self._scheduledForDeletion: 414 413 continue 415 pen = ControlBoundsPen(self) 416 glyph.draw(pen) 417 glyphRect = pen.bounds 414 glyphRect = glyph.controlPointBounds 418 415 if glyphRect: 419 416 glyphRects[glyphName] = glyphRect
Note: See TracChangeset
for help on using the changeset viewer.
