.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "FOP-TTFREADER 1" .TH FOP-TTFREADER 1 2024-02-18 "Fop-TTFReader " "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME fop\-ttfreader \-\- A tool which reads TTF files and generates XML font metrics file for use in FOP. .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBfop-ttfreader\fR [options] \fIfontfile.ttf\fR \fIxmlfile.xml\fR .SH OPTIONS .IX Header "OPTIONS" .IP "\fB\-enc\fR ansi" 4 .IX Item "-enc ansi" 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. .IP "\fB\-ttcname\fR fontname" 4 .IX Item "-ttcname fontname" 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. .IP "\fB\-fn\fR fontname" 4 .IX Item "-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. .SH EXAMPLES .IX Header "EXAMPLES" .ie n .IP """fop\-ttfreader /usr/share/fonts/truetype/freefont/FreeSerif.ttf freeserif.xml""" 4 .el .IP "\f(CWfop\-ttfreader /usr/share/fonts/truetype/freefont/FreeSerif.ttf freeserif.xml\fR" 4 .IX Item "fop-ttfreader /usr/share/fonts/truetype/freefont/FreeSerif.ttf freeserif.xml" generates freeserif.xml file containing XML font metrics from FreeSerif.ttf .SH "JAVA-WRAPPERS NOTE" .IX Header "JAVA-WRAPPERS NOTE" This program is a shell script wrapper based on \&\fBjava-wrappers\fR(7). You therefore benefit from several features; please see the \&\fBjava-wrappers\fR(7) manual page for more information about them. .SH AUTHOR .IX Header "AUTHOR" Wrapper author: Arnaud Vandyck .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBfop\fR(1), \fBjava-wrappers\fR(7)