[justify-demo] Fix crash if font has no variation axis
This commit is contained in:
parent
ab249fd24b
commit
5c334b9686
|
@ -186,6 +186,7 @@ class Line:
|
|||
if not ret:
|
||||
return False
|
||||
|
||||
if tag:
|
||||
self._variation = hb.variation_t()
|
||||
self._variation.tag = tag
|
||||
self._variation.value = value
|
||||
|
|
Loading…
Reference in New Issue