Created
August 24, 2015 09:37
-
-
Save marcdama/fdda55b5debc28fa1a71 to your computer and use it in GitHub Desktop.
Check if Sidebearings equal specified amount
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from robofab.world import * | |
| f = CurrentFont() | |
| sidebearing = 50 | |
| l = [] | |
| for i in f: | |
| if i.leftMargin != sidebearing: | |
| l.append(i.name) | |
| if i.rightMargin != sidebearing: | |
| l.append(i.name) | |
| for i in set(l): | |
| print i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment