Last active
November 1, 2020 00:15
-
-
Save erraticgenerator/6b9bc56248d18f75a6d03f7f6e0060bb 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
import glob | |
# change the root directory according to your setup | |
ROOT = '../../input/fonts/ofl' | |
# some fonts are within /ofl/fontname/static directory (2 levels deep) | |
all_fonts_path = glob.glob(ROOT + '/**/**/*.ttf', recursive=True) | |
print('number of font files in total: ', len(all_fonts_path)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment