Open typemytype opened 8 years ago
and it should not set self.cmap
but just cmap
sorry for being lazy and not forking-fixing-pull requesting the whole thing....
and the init of the Font
class needs
super(Font, self).__init__()
File "/Users/frederik/Documents/dev/typeSupply/compositor/Lib/compositor/layoutEngine.py", line 26, in setCMAP
if self.gsub is not None:
AttributeError: 'Font' object has no attribute 'gsub'
it should be CMAP with caps instead of lowercase
error: https://github.com/typesupply/compositor/blob/master/Lib/compositor/font.py#L37
api callback: https://github.com/typesupply/compositor/blob/master/Lib/compositor/layoutEngine.py#L23