XMLGRAPHICS-FOP-FO(1)
π 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 theTrueTypeReader-pactivates thePostSriptReaderπ«Ά
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 aWinAnsiencoded font. the default is to create a CID keyed font. if you're not going to use characters outside thepdfencodingrange (almost the same asiso-8889-1) you can add this option. lowkey simple. π-fn FONTNAMEβ default is to use the fontname in the.ttffile, 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 (.ttcfile) you must specify which font from the collection you will read metrics from. and if you read from a.ttcfile 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
- opensuse-leap 16.0: xmlgraphics-fop 2.10-160000.3.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms