|
|
6414e4 |
.TH TTMKFDIR 1 "March 28, 2013"
|
|
|
6414e4 |
.SH NAME
|
|
|
6414e4 |
\fBttmkfdir\fR\ - Utility to create fonts.scale files for truetype fonts
|
|
|
6414e4 |
.SH SYNOPSIS
|
|
|
6414e4 |
.B ttmkfdir
|
|
|
6414e4 |
.RB [OPTION]
|
|
|
6414e4 |
.SH DESCRIPTION
|
|
|
6414e4 |
.PP
|
|
|
6414e4 |
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.
|
|
|
6414e4 |
|
|
|
6414e4 |
The ttmkfdir comes with Red Hat Linux has experienced quite some modifications or improvements, include:
|
|
|
6414e4 |
|
|
|
6414e4 |
\fR\- migration to FreeType 2 library
|
|
|
6414e4 |
.TP
|
|
|
6414e4 |
\fR\- more accurate checking for big font files
|
|
|
6414e4 |
.TP
|
|
|
6414e4 |
\fR\- support for both two X core font backends, Freetype and XTT
|
|
|
6414e4 |
.TP
|
|
|
6414e4 |
\fR\- Truetype collection(ttc) font file support
|
|
|
6414e4 |
.TP
|
|
|
6414e4 |
\fR\- additional CJK friendly features
|
|
|
6414e4 |
.TP
|
|
|
6414e4 |
\fR\- bug fixes
|
|
|
6414e4 |
|
|
|
6414e4 |
|
|
|
6414e4 |
.SH OPTIONS
|
|
|
6414e4 |
Here is the detailed usage of Red Hat version of ttmkfdir.
|
|
|
6414e4 |
.TP
|
|
|
6414e4 |
.B -h, --help
|
|
|
6414e4 |
It shows the menus and combo box in iok UI
|
|
|
6414e4 |
.TP
|
|
|
6414e4 |
.B -e, --encoding <encodings.dir>
|
|
|
6414e4 |
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
|
|
|
6414e4 |
.TP
|
|
|
6414e4 |
.B -o, --output
|
|
|
6414e4 |
Specify output, default is fonts.scale in the current directory
|
|
|
6414e4 |
.TP
|
|
|
6414e4 |
.B -d, --font-dir
|
|
|
6414e4 |
Specify TrueType font directory, default is the current directory
|
|
|
6414e4 |
.TP
|
|
|
6414e4 |
.B -f, --default-foundry
|
|
|
6414e4 |
Specify name of the default font foundry, default is "misc"
|
|
|
6414e4 |
.TP
|
|
|
6414e4 |
.B -m, --max-missing
|
|
|
6414e4 |
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.
|
|
|
6414e4 |
.TP
|
|
|
6414e4 |
.B -a, --max-missing-percentage
|
|
|
6414e4 |
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.
|
|
|
6414e4 |
.TP
|
|
|
6414e4 |
.B -b, --font-backend
|
|
|
6414e4 |
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.
|
|
|
6414e4 |
.TP
|
|
|
6414e4 |
.B -x, --additional-entries
|
|
|
6414e4 |
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.
|
|
|
6414e4 |
|
|
|
6414e4 |
Default value is "0" means off,otherwise use "1" to switch it on.
|
|
|
6414e4 |
.TP
|
|
|
6414e4 |
.B -c, --completeness
|
|
|
6414e4 |
use less strict completeness tests for encoding tables
|
|
|
6414e4 |
.TP
|
|
|
6414e4 |
.B -p, --panose
|
|
|
6414e4 |
use panose information
|
|
|
6414e4 |
|
|
|
6414e4 |
.SH AUTHOR
|
|
|
6414e4 |
Yu Shao <yshao@redhat.com> and Pravin Satpute <psatpute@redhat.com>
|
|
|
6414e4 |
.PP
|
|
|
6414e4 |
.SH LICENSE
|
|
|
6414e4 |
GNU Library General Public License
|