mirror of
https://github.com/google/fonts.git
synced 2024-12-18 14:21:47 +03:00
1f5d64a60b
4e862682
Merge pull request #36 from googlefonts/davelab6-tooltip-fixes948129a4
Merge pull request #39 from googlefonts/tox81aa9727
run black15b9f574
update tox80e36bf3
weight and width textprotos updated to say stroke weight796f577b
y_transparent_descender.textproto Use depth, not heighted29279d
Creating `flair.svg` git-subtree-dir: axisregistry git-subtree-split:4e86268272
15 lines
494 B
Python
15 lines
494 B
Python
from axisregistry import AxisRegistry
|
|
|
|
|
|
def test_AxisRegistry():
|
|
registry = AxisRegistry()
|
|
assert "GRAD" in registry.keys()
|
|
for axis_tag in registry.keys():
|
|
assert len(axis_tag) == 4
|
|
for f in range(len(registry[axis_tag].fallback)):
|
|
fallback = registry[axis_tag].fallback[f]
|
|
|
|
# fallback names should not be space-separated.
|
|
# (see: https://github.com/googlefonts/axisregistry/issues/7)
|
|
assert " " not in fallback.name
|