diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2021-08-13 17:03:28 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2021-08-13 17:03:28 -0400 |
commit | 5b1c4639f058d04a0089b3b323c8fad39c4a97a3 (patch) | |
tree | fe3c58bd38080b0f3728d3cc740dfe222b408df9 /config.py | |
parent | dd3a70f877edd807bd2ab5184b831c2f4335e3e7 (diff) | |
download | wfs-5b1c4639f058d04a0089b3b323c8fad39c4a97a3.tar.xz wfs-5b1c4639f058d04a0089b3b323c8fad39c4a97a3.zip |
accept command-line args
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/config.py b/config.py deleted file mode 100644 index 6ee0c29..0000000 --- a/config.py +++ /dev/null @@ -1,46 +0,0 @@ -from fontTools.subset import Options - -config = { - # chrome or firefox - 'selenium_driver_name': 'chrome', - - # take screenshots before and after and check that they are identical - 'screenshots': True, - - # pyftsubset options, see pyftsubset --help - 'ftsubset_options': [ - '--desubroutinize', - '--layout-scripts=latn', - '--layout-features-=curs,dnom,frac,locl,mark,mkmk', - '--name-IDs=', - '--with-zopfli', - ], - - # font configuration table. - # family: no default, mandatory - # weight: must be string, mandatory - # fontfile: must be string, mandatory - # extratext: non-DOM text to add to subset (e.g. CSS content). default: none - # outfile: dict of {woff, woff2} output filenames. default: s/.[ot]tf$/.subset.woff(2)/ - 'fonts': [ - { - 'family': 'EB Garamond', - 'weight': '400', - 'style': 'italic', - 'fontfile': 'EBGaramond-Italic.otf', - 'extratext': '@' - }, - { - 'family': 'EB Garamond', - 'weight': '400', - 'style': 'normal', - 'fontfile': 'EBGaramond-Regular.otf' - }, - { - 'family': 'EB Garamond', - 'weight': '500', - 'style': 'normal', - 'fontfile': 'EBGaramond-Medium.otf' - } - ], -} |