DOKK / manpages / debian 10 / fop / fop-ttfreader.1.en
FOP-TTFREADER(1) User Contributed Perl Documentation FOP-TTFREADER(1)

fop-ttfreader -- A tool which reads TTF files and generates XML font metrics file for use in FOP.

fop-ttfreader [options] fontfile.ttf xmlfile.xml

with this option you can 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.
if you're reading data from 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.
default 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.

"fop-ttfreader /usr/share/fonts/truetype/freefont/FreeSerif.ttf freeserif.xml"
generates freeserif.xml file containing XML font metrics from FreeSerif.ttf

This program is a shell script wrapper based on java-wrappers(7). You therefore benefit from several features; please see the java-wrappers(7) manual page for more information about them.

Wrapper author: Arnaud Vandyck <avdyk@debian.org>

fop(1), java-wrappers(7)

2018-11-28 Fop-TTFReader