xmlgraphics-fop-fontmetrics — Reads TTF files and Generates Appropriate Font Metrics
Classnames:
org.apache.fop.fonts.apps.PFMReader and
org.apache.fop.fonts.apps.TTFReader
xmlgraphics-fop-fontmetrics [ -t | -p ] [options] [fontfile.ttf] [xmlfile.xml]
The first argument has to be -t or
-p. The option -t (default)
activates the TrueTypeReader, option -p activates
the PostSriptReader.
The following options in alphabetical order are available:
-ddebug mode
-enc ansiWith this option you create a WinAnsi encoded font. The default is to create a CID keyed font. If you're not going to use characters outside the pdfencoding range (almost the same as iso-8889-1) you can add this option.
-fn FONTNAMEdefault is to use the fontname in the .ttf file, but you can
override that name to make sure that the embedded font is
used (if you're embedding fonts) instead of installed fonts
when viewing documents with Acrobat Reader.
-ttcname FONTNAMEIf you're reading data from a TrueType Collection
(.ttc file) you
must specify which font from the collection you will read
metrics from. If you read from a .ttc file without this option, the fontnames
will be listed for you.
-qquiet mode