[varLib/avar2] Remove warning
https://github.com/fonttools/fonttools/pull/3123#issuecomment-1573199305
This commit is contained in:
parent
54cfb5f696
commit
d601646cf2
@ -248,12 +248,6 @@ def _add_avar(font, axes, mappings, axisTags):
|
|||||||
if tag not in vo:
|
if tag not in vo:
|
||||||
masterValues.append(0)
|
masterValues.append(0)
|
||||||
continue
|
continue
|
||||||
if tag not in vi and tag not in hiddenAxes:
|
|
||||||
log.warning(
|
|
||||||
"No input location specified for non-hidden axis '%s' in axis mapping %s; axis default value assumed.",
|
|
||||||
tag,
|
|
||||||
vi,
|
|
||||||
)
|
|
||||||
v = vo[tag] - vi.get(tag, 0)
|
v = vo[tag] - vi.get(tag, 0)
|
||||||
masterValues.append(fl2fi(v, 14))
|
masterValues.append(fl2fi(v, 14))
|
||||||
varIdxes[tag] = storeBuilder.storeMasters(masterValues)[1]
|
varIdxes[tag] = storeBuilder.storeMasters(masterValues)[1]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user