1COMPREFFOR(1)                    User Commands                   COMPREFFOR(1)
2
3
4

NAME

6       compreffor - CFF table subroutinizer for FontTools
7

SYNOPSIS

9       compreffor  [-h]  [-v]  [-c] [-d] [-n NROUNDS] [-m MAX_SUBRS] [--gener‐
10       ate-cff] [--py] [--chunk-ratio CHUNK_RATIO] [-p PROCESSES] INPUT  [OUT‐
11       PUT]
12

DESCRIPTION

14       FontTools  Compreffor  will take a CFF-flavored OpenType font and auto‐
15       matically detect repeated routines and generate subroutines to minimize
16       the disk space needed to represent a font.
17

OPTIONS

19   POSITIONAL ARGUMENTS
20       INPUT  Path to the input font file
21
22       OUTPUT Path to the compressed file (default: *.compressed.otf)
23
24   OPTIONAL ARGUMENTS
25       -h, --help
26              Show a help message and exit
27
28       -v, --verbose
29              Print more messages to stdout; use it multiple times to increase
30              the level of verbosity
31
32       -c, --check
33              Verify that the outputted font is valid and functionally equiva‐
34              lent to the input
35
36       -d, --decompress
37              Decompress  source  before  compressing  (necessary if there are
38              subroutines in the source)
39
40       -n NROUNDS, --nrounds NROUNDS
41              The number of iterations to run the algorithm (default: 4)
42
43       -m MAX_SUBRS, --max_subrs MAX_SUBRS
44              Limit to the number of subroutines per INDEX (default: 65533)
45
46       --generate-cff
47              Also save binary CFF table data as INPUT.cff
48
49       --py   Use pure Python method, instead of C++ extension
50
51   OPTIONS FOR PURE PYTHON METHOD
52       --chunk-ratio CHUNK_RATIO
53              Specify the percentage size of the job chunks used for  parallel
54              processing (0 < float <= 1; default: 0.1)
55
56       -p PROCESSES, --processes PROCESSES
57              Specify  number  of concurrent processes to run.  Use value 1 to
58              perform operation serially (default: 12)
59
60
61
62                                  August 2021                    COMPREFFOR(1)
Impressum