Last active
August 29, 2015 14:26
-
-
Save marcdama/849c9bebf3d0a4660b20 to your computer and use it in GitHub Desktop.
This file contains 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 * | |
'''Transfer the first loaded fonts names to the second loaded font''' | |
f = AllFonts() | |
good_names = {} | |
for i in f[0]: | |
good_names[i.index] = i.name | |
for i in f[1]: | |
if i.index in good_names: | |
i.name = good_names[i.index] | |
i.mark = 40 | |
f[1].update() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment