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

NAME

6       fontforge - create and modify PostScript, TrueType and SVG fonts
7

SYNOPSIS

9       fontforge  [-c  string]  [-cmap maptype] [-depth pixeld] [-display str]
10       [-last] [-help] [-keyboard ktype]  [-new]  [-nosplash  [-recover  mode]
11       [-script file] [-sync [-usage] [-vc vclass] [-version] fontfile ...
12

DESCRIPTION

14       The  program  fontforge  allows  you  to  create and modify font files,
15       accepting input in the following formats (with associated  file  exten‐
16       sions appearing in parentheses):
17
18       Glyph Bitmap Distribution (.bdf)
19
20       Macintosh resource fonts (.dfont, .bin, .hqx)
21
22       OpenType (.otf)
23
24       fontforgespline font database (.sfd)
25
26       POSTSCRIPT, which includes:
27
28              ASCII format (.pfa)
29
30              Binary format (.pfb)
31
32              CID-keyed fonts, Adobe convention used primarily for Asian char‐
33              acters (.cid, .otf)
34
35              POSTSCRIPT Type 0 (.ps)
36
37              POSTSCRIPT Type 3 (.ps)
38
39       Scaleable vector graphics fonts (.svg)
40
41       TeX bitmap (.pk)
42
43       TrueType (.ttf, .ttc)
44
45       X11 bitmap (.pcf)
46
47       If the argument list contains a font file name (or several),  fontforge
48       opens  a fontview window for each font displaying the characters of the
49       that font.  In the absence of options or arguments, the program opens a
50       file-picker  window,  allowing  you  to browse your disk to find a font
51       file, or create a new one.
52
53       This manual page is intended only as a rudimentary  overview;  see  the
54       HTML Users Manual for more complete information.
55

OPTIONS

57       -cstring
58              Must  be  the  first  argument.  Executes  "string"  as a set of
59              scripting commands.  Any additional arguments will be passed  to
60              the script.
61
62       -cmapmaptype
63              Employ  the  specified  method to control 8-bit colormaps, where
64              maptype assumes one of these three values:
65
66              current
67                     Attempt to allocate colors in the current  (shared)  col‐
68                     ormap.   The  program  will likely not find everything it
69                     requires.
70
71              copy   Allocate what can be allocated,  then  copy  the  current
72                     colormap;  it  can  thus make use of cells other programs
73                     are using.
74
75              private
76                     Create a new colormap and fill it with the required  col‐
77                     ors.
78
79       -depth pixeld
80              Attempt  to  employ  a  visual  that matches the specified pixel
81              depth, pixeld.
82
83       -display str
84              Employ the X display specified by the string str  (for  example:
85              localhost:0).
86
87       -help  Display  the usage description and start a web client displaying
88              the online documentation.
89
90       -keyboard ktype
91              Alter the displayed menus to employ modifier keys appropriate to
92              the specified keyboard type, where ktype assumes one of the fol‐
93              lowing four values:
94
95              ibm    IBM PC type keyboard.
96
97              mac    Apple Macintosh keyboard.
98
99              sun    Sun workstation keyboard.
100
101              ppc    Macintosh keyboard, but on a system  running  SuSe  linux
102                     (the mappings differ from those used under MacOS X).
103
104       -last  Opens  whatever  font  you  last  edited with fontforge.  If you
105              specify n -last fontforge will open the last n fonts.
106
107       -new   Create a new font with the ISO  8859-1  encoding  (the  interna‐
108              tional  encoding  standard  for western Europe, and the standard
109              for most X fonts).
110
111       -nosplash
112              Suppress display of the splash screen.
113
114       -recover mode
115              Control the crash recovery mechanism (helpful if crash  recovery
116              causes  problems), where mode takes on one of three allowed set‐
117              tings:
118
119              auto   perform  automatic  recovery  (default)  if  the  program
120                     crashed before saving changes.
121
122              clean  Delete recovery information.
123
124              none   Suppress crash recovery.
125
126       -script file
127              Execute  the  script  named  file.  Does not open the X display.
128              This must be the first argument passed to fontforge.  Any  other
129              arguments  are handled by the scriptfile itself.  Any other com‐
130              mand line arguments will be passed to the script.   The  program
131              contains  a  command interpreter which allows access to most but
132              not all of its interactive features.  If a  scriptfile  is  exe‐
133              cutable,  and if its first line contains the string "fontforge",
134              then the argument -script may be omitted. This means that  font‐
135              forge can be used as an interpreter.
136
137       -sync  Make  X  synchronous.  Used primarily for debugging, this option
138              slows X down.
139
140       -usage Display the usage description.
141
142       -vc vclass
143              Attempt to use a visual that matches the class,  vclass,  speci‐
144              fied  as either the name of a visual class or an integer enumer‐
145              ating a visual class.
146
147       -version
148              Display the current version (a six digit string  containing  the
149              date stamp of the source files).
150

ENVIRONMENT

152       If any of the following environment variables exist, they are used:
153
154       BROWSER
155              Specifies the name of a browser program for examining documenta‐
156              tion.
157
158       AUTOTRACE
159              Specifies the location of the autotrace program  (usually  Font‐
160              Forge can figure this out without help, but not always).
161
162       MF     Specifies the location of the metafont program.
163
164       FONTFORGE_VERBOSE
165              Turns on verbose mode in scripting. Each statement is printed as
166              it is executed.
167

FILES

169       ~/.PfaEdit/autosave/
170              crash recovery directory
171
172       /usr/local/share/fontforge/*.ui
173              translations for the user interface
174
175       /usr/local/share/doc/fontforge/*.html
176              optional location for online documentation.
177
178       /usr/local/share/fontforge/*.cidmap
179              "encoding" files  for  Adobe's  cid  formats  from  http://font
180              forge.sourceforge.net/cidmaps.tgz
181

SEE ALSO

183       sfddiff(1)
184
185       The HTML version of the fontforge manual, available online at:
186
187       http://fontforge.sourceforge.net/
188

NOTE

190       fontforge used to be called pfaedit.
191

AUTHOR

193       Copyright  (C) 2000-2004 by George Williams (gww@silcom.com).  Original
194       manual page by Tom Harvey, subsequently modified  by  George  Williams.
195       Heavily   rewritten   and   modified  to  use  standard  -man(5)macros‐
196       byR.P.C.Rodgers(rodgers@nlm.nih.gov),23October2002.
197

BUGS

199       Undoubtedly many, but unknown and ever changing.  See
200
201              http://fontforge.sourceforge.net/#known-bugs for a current list.
202
203
204
205                                 2 March 2004                     FONTFORGE(1)
Impressum