def setLib ( self , lib ) : for name , item in lib . items ( ) : self . font . lib [ name ] = item
global font type python
Copy the lib items into our font .
def setLib(self, lib):
        """ Copy the lib items into our font. """
        for name, item in lib.items():
            self.font.lib[name] = item