のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

"tx -u" コマンドライン オプション

% tx -u
tx {[mode][mode options][shared options][files]}*
tx [other options]
[modes: default -dump]
-dump           write text dump of font data            (-dump -h for help)
-ps             write PostScript dump of font data      (-ps -h for help)
-pdf            write PDF dump of font data             (-pdf -h for help)
-dcf            write text dump of CFF font data        (-dcf -h for help)
-mtx            write metrics dump of font data         (-mtx -h for help)
-cff            write CFF (Compact Font Format) FontSet (-cff -h for help)
-cff2           write CFF2 FontSet                      (-cff2 -h for help)
-t1             write Type 1 font                       (-t1 -h for help)
-cef            write CEF (Compact Embedded Font) font  (-cef -h for help)
-afm            write AFM representation of font data   (-afm -h for help)
-svg            write SVG font                          (-svg -h for help)
-ufo            write UFO font                          (-ufo -h for help)
-path           test path handling code                 (-path -h for help)
[shared options]
-g <list>       comma separated glyph selector: tag, cid, or glyph name.
                May use ranges. Example: '-g Aacute,three.superior,100-123'

-gx <list>      comma separated glyph exclusion selector: tag, cid, or glyph name.
                May use ranges. All glyphs except those listed are copied.
                The '.notdef' glyph will never be excluded.

-fd <index>     only select glyphs belonging to specified font dict
-fdx <index>    only select glyphs not belonging to specified font dict
                font dict index list arg may be a range or comma-delimited list.
                '-fd 1' or '-fd 3,4,7' or '-fd 3-5' are all valid.

-p <percent>    select random <percent> of src glyphs [repeatable]
-P <percent>    select random <percent> of src glyphs [unrepeatable]

-U <list>       user design vector (to instantiate an MM or CFF2 font)
-UNC            don't clamp the design vector to min/max of font's design space

-i <resid>      FFIL sfnt resource or TTC index selector
-y              select every font in FFIL or TTC

-x              use exact quadratic to cubic curve conversion (TrueType)
-X              generate combined approximate and exact conversions (TrueType)

-t              dump PostScript tokens from Type 1/CID font
-m <arg>        simulate memory allocation failure
-N              print filename and FontName to stderr before processing
-pg             preserve GIDs when subsetting
-n              remove hints
[files]
*none*          input from stdin, output to stdout
<src>           input from <src>, output to stdout
<src> <dst>     input from <src>, output to <dst>
-f <src>+       input from <src>+, output to stdout
-o <dst> -f <src>+
                input from <src>+, output to <dst>
-a <src>+       input from <src>+, output to <filename>.<mode>
-A <src>+       input from <src>+, output to <FontName>.<mode>
-sr <srcroot>   read files from <srcroot> (combine with above options)
-sd <srcdir>    read files from <srcdir> (combine with above options)
-dd <dstdir>    write files to <dstdir> (combine with above options)
[other options]
-s <script>     read options from <script>
-u              print usage
-h              print general help
-v              print component versions
-r              dump Macintosh resource map
-R              dump AppleSingle/Double entry descriptors