Simon Cozens
2cef07af80
[doc] Add help options to fonttools CLI ( #1920 )
...
This adds a `help` verb (and `--help` option) to the `fonttools` command line tool. Submodules will be listed in the help text if they have an importable `main` function with a docstring, and `main`'s docstring will be used as the one-line description for the help text.
2020-05-12 06:31:13 +01:00
Simon Cozens
eda4a2717e
Use Python3 inheritance style for super.___init__
...
Avoids cases where super() argument is not enclosing class: https://help.semmle.com/wiki/display/PYTHON/First+argument+to+super%28%29+is+not+enclosing+class
2020-05-07 21:09:20 +01:00
Cosimo Lupo
d91724d76c
Revert "[doc] Add help options to fonttools CLI"
2020-05-04 17:37:24 +01:00
Simon Cozens
02f23a214c
[doc] Add help options to fonttools CLI
2020-05-03 22:59:54 +01:00
Cosimo Lupo
7cc4c7eb46
cu2qu: clarify DEFAULT_MAX_ERR is relative to EM, Cu2QuPen.max_err is absolute
2020-04-06 13:12:37 +01:00
Cosimo Lupo
0dd76bb98c
cu2qu.cli: try use defcon if ufoLib2 is not installed
2020-04-03 16:58:01 +01:00
Cosimo Lupo
868348c9c0
cu2qu.cli: use multiProcessing.Pool.starmap
2020-04-03 16:45:47 +01:00
Cosimo Lupo
c4aeec87dc
use ufoLib2 for cu2qu.cli and tests
...
the tests are skipped if ufoLib2 is not installed.
2020-04-01 19:23:57 +01:00
Cosimo Lupo
76cc29dda4
cu2qu: fix up imports for cu2qu.ufo, cli, and related tests
2020-04-01 19:01:32 +01:00
Cosimo Lupo
71b254fcdb
Revert "cu2qu.errors: remove unused exceptions"
...
This reverts commit 2e51226dedc6a03f3de8a70220e52d0026cc0d95.
2020-04-01 18:49:12 +01:00
Cosimo Lupo
6ebc8249be
Move ufo.py, cli.py, __main__.py to fontTools/cu2qu
2020-04-01 18:46:48 +01:00
Cosimo Lupo
97941ad7a5
cu2qu: restore sub-package folder
2020-04-01 18:31:47 +01:00
Cosimo Lupo
3f414cdb08
cu2qu: remove sub-package, make single module
2020-03-31 13:42:18 +01:00
Cosimo Lupo
c2e8403937
cu2qu: remove from __future__ imports
2020-03-31 13:38:51 +01:00
Cosimo Lupo
00058833f2
Move cu2qu.pens to fontTools.pens.cu2quPen
2020-03-31 13:34:46 +01:00
Cosimo Lupo
080c565b5c
cu2qu: remove __version__ from cu2qu module
...
use fontTools own version now
2020-03-31 13:25:32 +01:00
Cosimo Lupo
5d5cddfc08
Replace cu2qu.cython shadow module with mock namespace
2020-03-31 13:23:19 +01:00
Cosimo Lupo
2e51226ded
cu2qu.errors: remove unused exceptions
2020-03-31 12:53:17 +01:00
Cosimo Lupo
731b4944a6
cu2qu: fix up imports
2020-03-31 12:48:51 +01:00
Cosimo Lupo
f9a3961c66
cu2qu: move all modules to Lib/fontTools/cu2qu
2020-03-31 12:32:50 +01:00