[_h_m_t_x] use list() instead of tuple() in __setitem__
This is for consistency with the way the hmtx `decompile` method already worked.
This commit is contained in:
parent
2839145c05
commit
115993216a
@ -127,4 +127,4 @@ class table__h_m_t_x(DefaultTable.DefaultTable):
|
||||
return self.metrics[glyphName]
|
||||
|
||||
def __setitem__(self, glyphName, advance_sb_pair):
|
||||
self.metrics[glyphName] = tuple(advance_sb_pair)
|
||||
self.metrics[glyphName] = list(advance_sb_pair)
|
||||
|
Loading…
x
Reference in New Issue
Block a user