Skip to content

Commit

Permalink
WIP on issue fonttools#1121: small python script to test usage of
Browse files Browse the repository at this point in the history
fontbakery_check_ttf as a python module. It will soon be used also to validate passing font files as in-memory ByteIO objects instead of filepaths.
  • Loading branch information
felipesanches committed Oct 27, 2016
1 parent ddfafcf commit 0c0c87e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test_inmem_check_ttf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env python

check_ttf = __import__("fontbakery-check-ttf").fontbakery_check_ttf

config = {
'verbose': True,
'ghm': True,
'json': False,
'error': False,
'autofix': False,
'filepaths': ['/home/felipe/devel/github_felipesanches/Arsenal/fonts/ttf/*.ttf']
}

check_ttf(config)

0 comments on commit 0c0c87e

Please sign in to comment.