Changeset 46

Show
Ignore:
Timestamp:
02/24/08 05:40:36 (4 years ago)
Author:
erik
Message:

objectsRF.RFont object now makes an empty PostScriptFontHintValues? object when initialised. psHints data is always saved to UFO, not just when font._supportHints is on.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/robofab/Lib/robofab/objects/objectsRF.py

    r43 r46  
    103103                self.groups = RGroups() 
    104104                self.groups.setParent(self) 
     105                self.psHints = PostScriptFontHintValues() 
     106                self.psHints.setParent(self) 
    105107                self.lib = RLib() 
    106108                self.lib.setParent(self) 
     
    347349                                bar.tick() 
    348350 
    349                         if self._supportHints: 
    350                                # save postscript hint data 
    351                                 self.lib[postScriptHintDataLibKey] = self.psHints.asDict() 
     351                        # save postscript hint data 
     352                        self.lib[postScriptHintDataLibKey] = self.psHints.asDict() 
     353 
    352354                        #if self.lib.changed: 
    353355                        if bar: