[avar2] Fix fromXML a bit
This commit is contained in:
parent
90dd0685a4
commit
b6acb83920
@ -104,7 +104,7 @@ class table__a_v_a_r(BaseTTXConverter):
|
|||||||
writer.newline()
|
writer.newline()
|
||||||
if getattr(self, "majorVersion", 1) >= 2:
|
if getattr(self, "majorVersion", 1) >= 2:
|
||||||
if self.table.VarIdxMap:
|
if self.table.VarIdxMap:
|
||||||
self.table.VarIdxMap.toXML(writer, ttFont)
|
self.table.VarIdxMap.toXML(writer, ttFont, name="VarIdxMap")
|
||||||
if self.table.VarStore:
|
if self.table.VarStore:
|
||||||
self.table.VarStore.toXML(writer, ttFont)
|
self.table.VarStore.toXML(writer, ttFont)
|
||||||
|
|
||||||
@ -132,5 +132,5 @@ class table__a_v_a_r(BaseTTXConverter):
|
|||||||
"duplicate entry for %s in axis '%s'", fromValue, axis
|
"duplicate entry for %s in axis '%s'", fromValue, axis
|
||||||
)
|
)
|
||||||
segment[fromValue] = toValue
|
segment[fromValue] = toValue
|
||||||
# else:
|
else:
|
||||||
# super().fromXML(name, attrs, content, ttFont)
|
super().fromXML(name, attrs, content, ttFont)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user