1FONTTOSFNT(1) General Commands Manual FONTTOSFNT(1)
2
3
4
6 fonttosfnt - Wrap a bitmap font in a sfnt (OpenType) wrapper
7
9 fonttosfnt [ options ] -o file.otb [ -- ] [ font ] ...
10
12 Wrap a bitmap font or a set of bitmap fonts in a sfnt (TrueType or
13 OpenType) wrapper. If no font is specified, a BDF font is read from
14 standard input (stdin).
15
17 -v Be verbose.
18
19 -c Do not crop glyphs. This usually increases file size, but may
20 sometimes yield a modest decrease in file size for small charac‐
21 ter cell fonts (terminal fonts).
22
23 -b Write byte-aligned glyph data. By default, unaligned data is
24 written, which yields a smaller file size.
25
26 -r Do not reencode fonts. By default, fonts are reencoded to Uni‐
27 code whenever possible.
28
29 -g n Set the type of scalable glyphs that we write. If n is 0, no
30 scalable glyphs are written; this is legal but confuses most
31 current software. If n is 1, a single scalable glyph (the unde‐
32 fined glyph) is written; this is recommended, but triggers a bug
33 in current versions of FreeType. If n is 2 (the default), a
34 sufficiently high number of blank glyphs are written, which
35 works with FreeType but increases file size.
36
37 -m n Set the type of scalable metrics that we write. If n is 0, no
38 scalable metrics are written, which may or may not be legal. If
39 n is 1, full metrics for a single glyph are written, and only
40 left sidebearing values are written for the other glyphs. If n
41 is 2, scalable metrics for all glyphs are written, which
42 increases file size and is not recommended. The default is 1.
43
44 -- End of options.
45
47 Some of the font-level values, notably sub- and superscript positions,
48 are dummy values.
49
51 X(7), Xserver(1), Xft(3). Fonts in X11.
52
54 The version of Fonttosfnt included in this X.Org Foundation release was
55 originally written by Juliusz Chroboczek <jch@freedesktop.org> for the
56 XFree86 project.
57
58
59
60X Version 11 fonttosfnt 1.2.1 FONTTOSFNT(1)