def copyData(self, source):
        """
        Copy data from **source** into this font.
        Refer to :meth:`BaseFont.copy` for a list
        of values that will be copied.
        """
        for layerName in source.layerOrder:
            if layerName in self.layerOrder:
                layer = self.getLayer(layerName)
            else:
                layer = self.newLayer(layerName)
            layer.copyData(source.getLayer(layerName))
        for guideline in self.guidelines:
            self.appendGuideline(guideline)
        super(BaseFont, self).copyData(source)
def copyData ( self , source ) : for layerName in source . layerOrder : if layerName in self . layerOrder : layer = self . getLayer ( layerName ) else : layer = self . newLayer ( layerName ) layer . copyData ( source . getLayer ( layerName ) ) for guideline in self . guidelines : self . appendGuideline ( guideline ) super ( BaseFont , self ) . copyData ( source )
Copy data from **source** into this font.
        Refer to :meth:`BaseFont.copy` for a list
        of values that will be copied.