FOP-TTFREADER(1)
π FOP-TTFREADER π
okay so bestie, welcome to FOP-TTFREADER, a lil gem from the User Contributed Perl Documentation section of your man pages β¨
πΈ NAME πΈ
fop-ttfreader β a tool that reads TTF files and generates an XML font metrics file, for use in FOP π
π¦ SYNOPSIS π¦
fop-ttfreader [options] fontfile.ttf xmlfile.xml
β¨ OPTIONS β¨
-enc ansiβ pass this and you get a WinAnsi encoded font. default behavior is to create a CID keyed font instead. so like, if you're not gonna use characters outside the pdfencoding range (basically the same asiso-8889-1), you can totally add this option π«Ά-ttcname fontnameβ reading from a TrueType Collection (.ttcfile)? then you must specify which font from the collection you want the metrics from. and if you read a.ttcfile without this option, the fontnames get listed for you, so at least you're not left guessing π-fn fontnameβ default is to use the fontname that's sitting inside the.ttffile, but you can override that name to make sure the embedded font gets used (yes, when you're embedding fonts) instead of installed fonts when people view documents in Acrobat Reader. lowkey important. π
π EXAMPLES π
"fop-ttfreader /usr/share/fonts/truetype/freefont/FreeSerif.ttf freeserif.xml"
this one generates a freeserif.xml file holding the XML font metrics from FreeSerif.ttf β iconic behavior fr fr
π JAVA-WRAPPERS NOTE π
this program is a shell script wrapper built on top of java-wrappers(7) π
so you get to enjoy several features for free, no cap β just peek at the java-wrappers(7) manual page for all the deets on those π¦
π AUTHOR π
Wrapper author: Arnaud Vandyck <avdyk@debian.org> π«Ά
π SEE ALSO π
okay that's the whole thing, you ate it π this was Fop-TTFReader, dated 2025-05-07, and it lives under FOP-TTFREADER(1) β go read some fonts bestie, mwah πβ¨
π¦ where this page comes from
- debian trixie: fop 1:2.10+dfsg-2 Β· Apache-2.0
- ubuntu resolute: fop 1:2.10+dfsg-2 Β· Apache-2.0
- ubuntu stonking: fop 1:2.10+dfsg-2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms