some reformatting of the usage msg.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@198 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
parent
aeed5693a1
commit
7b31570b70
@ -1,12 +1,13 @@
|
|||||||
#! /usr/bin/env python
|
#! /usr/bin/env python
|
||||||
|
|
||||||
"""\
|
"""\
|
||||||
usage: ttcompile [-hvbf] [-d output-dir] [-i TTF-input-file] [TTX-file...]
|
usage: ttcompile [-hvbf] [-d output-dir] [-i TTF-input-file] TTX-1 ... TTX-N
|
||||||
|
|
||||||
Translate a TTX file (as output by ttDump) to a TrueType font file.
|
Translate one or more TTX files (as output by ttDump) to a TrueType
|
||||||
If a TTX-file argument is a directory instead of a file, all files in
|
font file. If a TTX-file argument is a directory instead of a file, all
|
||||||
that directory ending in '.ttx' will be merged into one TrueType file.
|
files in that directory ending in '.ttx' will be merged into one
|
||||||
This is mostly useful in conjunction with the -s option of ttDump.py.
|
TrueType file. This is mostly useful in conjunction with the -s option
|
||||||
|
of ttDump.py.
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-h Help: print this message
|
-h Help: print this message
|
||||||
|
13
Tools/ttdump
13
Tools/ttdump
@ -1,9 +1,10 @@
|
|||||||
#! /usr/bin/env python
|
#! /usr/bin/env python
|
||||||
|
|
||||||
"""\
|
"""\
|
||||||
usage: ttdump [-hvisf] [-t <table>] [-x <table>] [-d <output-dir>] TrueType-file(s)
|
usage: ttdump [-hvisf] [-t <table>] [-x <table>] [-d <output-dir>] TTF-1 ... TTF-N
|
||||||
|
|
||||||
Dump TrueType fonts as TTX files (an XML-based text format).
|
Dump one or more TrueType/OpenType fonts as TTX files (an XML-based
|
||||||
|
text format).
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-h Help: print this message
|
-h Help: print this message
|
||||||
@ -11,10 +12,10 @@ usage: ttdump [-hvisf] [-t <table>] [-x <table>] [-d <output-dir>] TrueType-file
|
|||||||
being done.
|
being done.
|
||||||
-i Disassemble TT instructions: when this option is given, all
|
-i Disassemble TT instructions: when this option is given, all
|
||||||
TrueType programs (glyph programs, the font program and the
|
TrueType programs (glyph programs, the font program and the
|
||||||
pre-program) will be written to the TTX file as assembly instead
|
pre-program) will be written to the TTX file as assembly
|
||||||
of hex data.
|
instead of hex data.
|
||||||
-s Split tables: save the TTX data into separate TTX files per table.
|
-s Split tables: save the TTX data into separate TTX files per
|
||||||
The files will be saved in a directory. The name of this
|
table. The files will be saved in a directory. The name of this
|
||||||
directory will be constructed from the input filename (by
|
directory will be constructed from the input filename (by
|
||||||
dropping the extension) or can be specified by the optional
|
dropping the extension) or can be specified by the optional
|
||||||
TTX-output-file argument. This option implies -f.
|
TTX-output-file argument. This option implies -f.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user