|
|
b26d18 |
.TH TTMKFDIR 1 "March 28, 2013"
|
|
|
b26d18 |
.SH NAME
|
|
|
b26d18 |
\fBttmkfdir\fR\ - Utility to create fonts.scale files for truetype fonts
|
|
|
b26d18 |
.SH SYNOPSIS
|
|
|
b26d18 |
.B ttmkfdir
|
|
|
b26d18 |
.RB [OPTION]
|
|
|
b26d18 |
.SH DESCRIPTION
|
|
|
b26d18 |
.PP
|
|
|
b26d18 |
Originally written by Joerg Pommnitz, ttmkfdir is a tool to create valid and complete fonts.scale file from TrueType fonts. It is very useful when you plan to use a TrueType enabled font server that is based on the X11R6 sample implementation (xfsft for instance). Great care has been taken to correctly identify the encodings that a given TrueType font supports.
|
|
|
b26d18 |
|
|
|
b26d18 |
The ttmkfdir comes with Red Hat Linux has experienced quite some modifications or improvements, include:
|
|
|
b26d18 |
|
|
|
b26d18 |
\fR\- migration to FreeType 2 library
|
|
|
b26d18 |
.TP
|
|
|
b26d18 |
\fR\- more accurate checking for big font files
|
|
|
b26d18 |
.TP
|
|
|
b26d18 |
\fR\- support for both two X core font backends, Freetype and XTT
|
|
|
b26d18 |
.TP
|
|
|
b26d18 |
\fR\- Truetype collection(ttc) font file support
|
|
|
b26d18 |
.TP
|
|
|
b26d18 |
\fR\- additional CJK friendly features
|
|
|
b26d18 |
.TP
|
|
|
b26d18 |
\fR\- bug fixes
|
|
|
b26d18 |
|
|
|
b26d18 |
|
|
|
b26d18 |
.SH OPTIONS
|
|
|
b26d18 |
Here is the detailed usage of Red Hat version of ttmkfdir.
|
|
|
b26d18 |
.TP
|
|
|
b26d18 |
.B -h, --help
|
|
|
b26d18 |
It shows the menus and combo box in iok UI
|
|
|
b26d18 |
.TP
|
|
|
b26d18 |
.B -e, --encoding <encodings.dir>
|
|
|
b26d18 |
ttmkfdir is doing its job by checking each TrueType font file against fontenc layer, please refer www.xfree86.org/current/fonts.html for details. Default encodings.dir file is /usr/X11R6/lib/X11/fonts/encodings/encodings.dir
|
|
|
b26d18 |
.TP
|
|
|
b26d18 |
.B -o, --output
|
|
|
b26d18 |
Specify output, default is fonts.scale in the current directory
|
|
|
b26d18 |
.TP
|
|
|
b26d18 |
.B -d, --font-dir
|
|
|
b26d18 |
Specify TrueType font directory, default is the current directory
|
|
|
b26d18 |
.TP
|
|
|
b26d18 |
.B -f, --default-foundry
|
|
|
b26d18 |
Specify name of the default font foundry, default is "misc"
|
|
|
b26d18 |
.TP
|
|
|
b26d18 |
.B -m, --max-missing
|
|
|
b26d18 |
Specify the maximum number of missing characters per encoding, default is 5. This option applies to the encoding that has less than 256 codepoint definitions.
|
|
|
b26d18 |
.TP
|
|
|
b26d18 |
.B -a, --max-missing-percentage
|
|
|
b26d18 |
Specify the maximum percentage of missing characters per encoding, default is 2. This option applies to the encoding that has more than 256 codepoint definitions.
|
|
|
b26d18 |
.TP
|
|
|
b26d18 |
.B -b, --font-backend
|
|
|
b26d18 |
For X FreeType backend, use value "1", for XTT backend use value "2", default value is 1. When you have TrueType Collection font(.ttc), you need to use this option.
|
|
|
b26d18 |
.TP
|
|
|
b26d18 |
.B -x, --additional-entries
|
|
|
b26d18 |
Additional entries mean those extra TTCaps stuff for XTT backend, mainly for bold and italic font support. Or for FreeType backend, because FreeType still doesn't support bold and italic font, ttmkfdir can generate extra "dummy" XLFDs, so applications who asking those fonts won't complain.
|
|
|
b26d18 |
|
|
|
b26d18 |
Default value is "0" means off,otherwise use "1" to switch it on.
|
|
|
b26d18 |
.TP
|
|
|
b26d18 |
.B -c, --completeness
|
|
|
b26d18 |
use less strict completeness tests for encoding tables
|
|
|
b26d18 |
.TP
|
|
|
b26d18 |
.B -p, --panose
|
|
|
b26d18 |
use panose information
|
|
|
b26d18 |
|
|
|
b26d18 |
.SH AUTHOR
|
|
|
b26d18 |
Yu Shao <yshao@redhat.com> and Pravin Satpute <psatpute@redhat.com>
|
|
|
b26d18 |
.PP
|
|
|
b26d18 |
.SH LICENSE
|
|
|
b26d18 |
GNU Library General Public License
|