FOP-TTFREADER(1) User Contributed Perl Documentation FOP-TTFREADER(1)NAME
fop-ttfreader -- A tool which reads TTF files and generates XML font metrics file for use in FOP.
SYNOPSIS
fop-ttfreader [options] fontfile.ttf xmlfile.xml
OPTIONS -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.
-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.
-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.
EXAMPLES
"fop-ttfreader /usr/share/fonts/truetype/freefont/FreeSerif.ttf freeserif.xml"
generates freeserif.xml file containing XML font metrics from FreeSerif.ttf
JAVA-WRAPPERS NOTE
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.
AUTHOR
Wrapper author: Arnaud Vandyck <avdyk@debian.org>
SEE ALSO fop(1), java-wrappers(7)Fop-TTFReader Sun Jan 15 11:24:34 UTC 2012 FOP-TTFREADER(1)
Check Out this Related Man Page
fntsample(1) General Commands Manual fntsample(1)NAME
fntsample - PDF and PostScript font samples generator
SYNOPSIS
fntsample [ OPTIONS ] -f FONT-FILE -o OUTPUT-FILE
fntsample -h
DESCRIPTION
fntsample program can be used to generate font samples that show Unicode coverage of the font and are similar in appearance to Unicode
charts. Samples can be saved into PDF (default) or PostScript file.
OPTIONS
fntsample supports the following options.
--font-file, -f FONT-FILE
Make samples of FONT-FILE.
--font-index, -n IDX
Font index for FONT-FILE specified using --font-file option. Useful for files that contain multiple fonts, like TrueType Collec-
tions (.ttc). By default font with index 0 is used.
--output-file, -o OUTPUT-FILE
Write output to OUTPUT-FILE.
--other-font-file, -d OTHER-FONT
Compare FONT-FILE with OTHER-FONT. Glyphs added to FONT-FILE will be highlighted.
--other-index, -m IDX
Font index for OTHER-FONT specified using --other-font-file option.
--postscript-output, -s
Use PostScript format for output instead of PDF.
--svg, -g
Use SVG format for output. The generated document contains one page. Use range selection options to specify which.
--print-outline, -l
Print document outlines data to standard output. This data can be used to add outlines (aka bookmarks) to resulting PDF file with
pdfoutline program.
--include-range, -i RANGE
Show characters in RANGE.
--exclude-range, -x RANGE
Do not show characters in RANGE.
--style, -t "STYLE: VAL"
Set STYLE to value VAL. Run fntsample with option --help to see list of styles and default values.
--help, -h
Display help text and exit.
Parameter RANGE for -i and -x can be given as one integer or a pair of integers delimited by minus sign (-). Integers can be specified in
decimal, hexadecimal (0x...) or octal (0...) format. One integer of a pair can be missing (-N can be used to specify all characters with
codes less or equal to N, and N- for all characters with codes greather or equal to N). Multiple -i and -x options can be used.
EXAMPLES
Make PDF samples for font.ttf and write them to file samples.pdf:
fntsample -f font.ttf -o samples.pdf
Make PDF samples for font.ttf, compare it with oldfont.ttf and highlight new glyphs. Write output to file samples.pdf:
fntsample -f font.ttf -d oldfont.ttf -o samples.pdf
Make PostScript samples for font.ttf and write output to file samples.ps. Show only glyphs for characters with codes less or equal to
U+04FF but exclude U+0370-U+03FF:
fntsample -f font.ttf -s -o samples.ps -i -0x04FF -x 0x0370-0x03FF
Make PDF samples for font.ttf and save output to file samples.pdf adding outlines to it:
fntsample -f font.ttf -o temp.pdf -l > outlines.txt
pdfoutline temp.pdf outlines.txt samples.pdf
AUTHOR
Copyright (C) 2007 Eugeniy Meshcheryakov <eugen@debian.org>
Homepage: <http://fntsample.sourceforge.net/>
SEE ALSO pdfoutline(1)
2010-10-14 fntsample(1)