Changeset 705
- Timestamp:
- 03/01/10 21:47:37 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
packages/extractor/trunk/Lib/extractor/formats/opentype.py
r704 r705 465 465 466 466 def _handleLookupType2Format1(subtable): 467 """ 468 Extract a kerning dictionary from a Lookup Type 2 Format 1. 469 """ 467 470 kerning = {} 468 471 coverage = subtable.Coverage.glyphs … … 483 486 484 487 def _handleLookupType2Format2(subtable, lookupIndex, subtableIndex): 488 """ 489 Extract kerning, left class and right class dictionaries from a Lookup Type 2 Format 2. 490 """ 485 491 # extract the classes 486 492 leftClasses = _extractFeatureClasses(lookupIndex=lookupIndex, subtableIndex=subtableIndex, classDefs=subtable.ClassDef1.classDefs, coverage=subtable.Coverage.glyphs)
