Skip to content

Instantly share code, notes, and snippets.

@rememberlenny
Forked from eliheuer/font-var.py
Created November 6, 2018 17:27
Show Gist options
  • Save rememberlenny/46d57e09407ffce3d989c3d78dd136c0 to your computer and use it in GitHub Desktop.
Save rememberlenny/46d57e09407ffce3d989c3d78dd136c0 to your computer and use it in GitHub Desktop.
get axes from a variable font
font("fonts/Font-VF.ttf")
for axis, data in listFontVariations().items():
print((axis, data)) # Get axis info from font
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment