fix style linking of ital axis
This commit is contained in:
parent
e718f73fde
commit
a3b96751a4
1 changed files with 3 additions and 2 deletions
|
|
@ -80,9 +80,10 @@ def stat_axes_format_3(is_italic):
|
||||||
dict(name="ExtraBold", value=800 ),
|
dict(name="ExtraBold", value=800 ),
|
||||||
dict(name="Black", value=900 ),
|
dict(name="Black", value=900 ),
|
||||||
]),
|
]),
|
||||||
|
# Note: OK to have two 'linkedValue's here since we make two separate VFs
|
||||||
dict(name="Italic", tag="ital", values=[
|
dict(name="Italic", tag="ital", values=[
|
||||||
dict(value=1, name="Italic") if is_italic else \
|
dict(value=1, name="Italic", linkedValue=0) if is_italic else \
|
||||||
dict(value=0, name="Roman", flags=FLAG_DEFAULT),
|
dict(value=0, name="Roman", linkedValue=1, flags=FLAG_DEFAULT),
|
||||||
]),
|
]),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue