(argv)
| 388 | |
| 389 | |
| 390 | def main(argv): |
| 391 | optlist, args = getopt.gnu_getopt(argv, '', [ |
| 392 | 'string=', 'strip_names', 'opentype-features', 'simplify', 'new', |
| 393 | 'script', 'nmr', 'roundtrip', 'subset=', 'namelist', 'null', 'nd', |
| 394 | 'move-display']) |
| 395 | |
| 396 | font_in, font_out = args |
| 397 | opts = dict(optlist) |
| 398 | if '--string' in opts: |
| 399 | subset = map(ord, opts['--string']) |
| 400 | else: |
| 401 | subset = getsubset(opts.get('--subset', 'latin'), font_in) |
| 402 | subset_font(font_in, font_out, subset, opts) |
| 403 | |
| 404 | |
| 405 | if __name__ == '__main__': |
no test coverage detected
searching dependent graphs…