varLib.cff: fix unbound local variable
Fixes https://github.com/fonttools/fonttools/issues/1787 Thanks Behdad.
This commit is contained in:
parent
c990a5b4e0
commit
1f33249d36
@ -413,7 +413,7 @@ def merge_charstrings(glyphOrder, num_masters, top_dicts, masterModel):
|
||||
# in the PrivatDict, so we will build the default data for vsindex = 0.
|
||||
if not vsindex_dict:
|
||||
key = (True,) * num_masters
|
||||
_add_new_vsindex(model, key, masterSupports, vsindex_dict,
|
||||
_add_new_vsindex(masterModel, key, masterSupports, vsindex_dict,
|
||||
vsindex_by_key, varDataList)
|
||||
cvData = CVarData(varDataList=varDataList, masterSupports=masterSupports,
|
||||
vsindex_dict=vsindex_dict)
|
||||
|
Loading…
x
Reference in New Issue
Block a user