1TTMKFDIR(1)                 General Commands Manual                TTMKFDIR(1)
2
3
4

NAME

6       ttmkfdir - Utility to create fonts.scale files for truetype fonts
7

SYNOPSIS

9       ttmkfdir [OPTION]
10

DESCRIPTION

12           Originally  written by Joerg Pommnitz, ttmkfdir is a tool to create
13       valid and complete fonts.scale file from TrueType  fonts.  It  is  very
14       useful  when  you  plan  to  use a TrueType enabled font server that is
15       based on the X11R6 sample implementation (xfsft  for  instance).  Great
16       care  has  been  taken to correctly identify the encodings that a given
17       TrueType font supports.
18
19       The ttmkfdir comes with Red Hat Linux has experienced quite some  modi‐
20       fications or improvements, include:
21
22       - migration to FreeType 2 library
23
24       - more accurate checking for big font files
25
26       - support for both two X core font backends, Freetype and XTT
27
28       - Truetype collection(ttc) font file support
29
30       - additional CJK friendly features
31
32       - bug fixes
33
34
35

OPTIONS

37       Here is the detailed usage of Red Hat version of ttmkfdir.
38
39       -h, --help
40              It shows the menus and combo box in iok UI
41
42       -e, --encoding <encodings.dir>
43              ttmkfdir  is  doing  its job by checking each TrueType font file
44              against  fontenc  layer,   please   refer   www.xfree86.org/cur‐
45              rent/fonts.html  for  details.  Default  encodings.dir  file  is
46              /usr/X11R6/lib/X11/fonts/encodings/encodings.dir
47
48       -o, --output
49              Specify output, default is fonts.scale in the current directory
50
51       -d, --font-dir
52              Specify TrueType font directory, default is the  current  direc‐
53              tory
54
55       -f, --default-foundry
56              Specify name of the default font foundry, default is "misc"
57
58       -m, --max-missing
59              Specify  the  maximum number of missing characters per encoding,
60              default is 5. This option applies to the encoding that has  less
61              than 256 codepoint definitions.
62
63       -a, --max-missing-percentage
64              Specify  the maximum percentage of missing characters per encod‐
65              ing, default is 2. This option applies to the encoding that  has
66              more than 256 codepoint definitions.
67
68       -b, --font-backend
69              For X FreeType backend, use value "1", for XTT backend use value
70              "2", default value is  1.  When  you  have  TrueType  Collection
71              font(.ttc), you need to use this option.
72
73       -x, --additional-entries
74              Additional  entries  mean those extra TTCaps stuff for XTT back‐
75              end, mainly for bold and italic font support.  Or  for  FreeType
76              backend,  because FreeType still doesn't support bold and italic
77              font, ttmkfdir can generate extra "dummy" XLFDs, so applications
78              who asking those fonts won't complain.
79
80              Default  value  is  "0" means off,otherwise use "1" to switch it
81              on.
82
83       -c, --completeness
84              use less strict completeness tests for encoding tables
85
86       -p, --panose
87              use panose information
88
89

AUTHOR

91       Yu Shao <yshao@redhat.com> and Pravin Satpute <psatpute@redhat.com>
92

LICENSE

94       GNU Library General Public License
95
96
97
98                                March 28, 2013                     TTMKFDIR(1)
Impressum