XMLGRAPHICS-FOP-FO(1)

πŸ“¦ version 2.10, in opensuse-leap 16.0

πŸ’… NAME

ok bestie, so this page is all about xmlgraphics-fop-fontmetrics β€” it reads TTF files and generates the appropriate font metrics. That's the whole vibe: in goes a font, out comes the metrics. ✨

(it lives under the XMLGRAPHICS-FOP-FO(1) manual, and honestly? iconic of it.)


🌸 SYNOPSIS

the classnames in play are, literally:

Classnames: org.apache.fop.fonts.apps.PFMReader and
org.apache.fop.fonts.apps.TTFReader

and here's the usage line, exactly as it comes:

xmlgraphics-fop-fontmetrics [-t | -p] [options] [fontfile.ttf]
                            [xmlfile.xml]

πŸŽ€ OPTIONS

okay so first things first β€” the first argument has to be -t or -p. no skipping, no swapping, it's giving main character energy and it's first for a reason.

  • -t (this is the default) activates the TrueTypeReader
  • -p activates the PostSriptReader 🫢

then, the following options in alphabetical order, are available:

  • -d β€” debug mode. turn it on when you need to see what's actually happening in there. πŸ•΅οΈβ€β™€οΈ
  • -enc ansi β€” with 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. lowkey simple. πŸ’…
  • -fn FONTNAME β€” 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. no cap, this one saves you from a whole situation later. πŸ”₯
  • -ttcname FONTNAME β€” if you're reading data from a TrueType Collection (.ttc file) you must specify which font from the collection you will read metrics from. and if you read from a .ttc file without this option, the fontnames will be listed for you β€” cute of it, honestly. πŸŽ€
  • -q β€” quiet mode. shhh. 🀫

πŸ‘‘ AUTHORS

  • Apache Foundation
  • Thomas Schraitle β€” Manpage

and that's the whole page, bestie! this one's xmlgraphics-fop-fontmetrics version 1, dated 02/06/2026 β€” go forth and read those fonts πŸ¦‹πŸ’–πŸ“

πŸ“¦ where this page comes from