Changeset 705

Show
Ignore:
Timestamp:
03/01/10 21:47:37 (5 months ago)
Author:
tal
Message:
Missed a couple of notes.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • packages/extractor/trunk/Lib/extractor/formats/opentype.py

    r704 r705  
    465465 
    466466def _handleLookupType2Format1(subtable): 
     467    """ 
     468    Extract a kerning dictionary from a Lookup Type 2 Format 1. 
     469    """ 
    467470    kerning = {} 
    468471    coverage = subtable.Coverage.glyphs 
     
    483486 
    484487def _handleLookupType2Format2(subtable, lookupIndex, subtableIndex): 
     488    """ 
     489    Extract kerning, left class and right class dictionaries from a Lookup Type 2 Format 2. 
     490    """ 
    485491    # extract the classes 
    486492    leftClasses = _extractFeatureClasses(lookupIndex=lookupIndex, subtableIndex=subtableIndex, classDefs=subtable.ClassDef1.classDefs, coverage=subtable.Coverage.glyphs)