| 1 |
.\" $XFree86$ |
| 2 |
.TH FONTTOSFNT 1 __vendorversion__ |
| 3 |
.SH NAME |
| 4 |
fonttosfnt \- Wrap a bitmap font in a sfnt (OpenType) wrapper |
| 5 |
.SH SYNOPSIS |
| 6 |
.B fonttosfnt |
| 7 |
[ |
| 8 |
.I options |
| 9 |
] |
| 10 |
.B \-o |
| 11 |
.I file.otb |
| 12 |
[ |
| 13 |
.B \-\- |
| 14 |
] [ |
| 15 |
.IR font |
| 16 |
] ... |
| 17 |
.SH DESCRIPTION |
| 18 |
Wrap a bitmap font or a set of bitmap fonts in a sfnt (TrueType or |
| 19 |
OpenType) wrapper. |
| 20 |
If no font is specified, a BDF font is read from standard input (stdin). |
| 21 |
.SH OPTIONS |
| 22 |
.TP |
| 23 |
.B \-v |
| 24 |
Be verbose. |
| 25 |
.TP |
| 26 |
.B \-c |
| 27 |
Do not crop glyphs. This usually increases file size, but may |
| 28 |
sometimes yield a modest decrease in file size for small character |
| 29 |
cell fonts (terminal fonts). |
| 30 |
.TP |
| 31 |
.B \-b |
| 32 |
Write byte-aligned glyph data. By default, unaligned data is written, |
| 33 |
which yields a smaller file size. |
| 34 |
.TP |
| 35 |
.B \-r |
| 36 |
Do not reencode fonts. By default, fonts are reencoded to Unicode |
| 37 |
whenever possible. |
| 38 |
.TP |
| 39 |
.BI \-g " n" |
| 40 |
Set the type of scalable glyphs that we write. If |
| 41 |
.I n |
| 42 |
is 0, no scalable glyphs are written; this is legal but confuses |
| 43 |
most current software. If |
| 44 |
.I n |
| 45 |
is 1, a single scalable glyph (the undefined glyph) is written; this |
| 46 |
is recommended, but triggers a bug in current versions of |
| 47 |
.BR FreeType . |
| 48 |
If |
| 49 |
.I n |
| 50 |
is 2 (the default), a sufficiently high number of blank glyphs are |
| 51 |
written, which works with |
| 52 |
.B FreeType |
| 53 |
but increases file size. |
| 54 |
.TP |
| 55 |
.BI \-m " n" |
| 56 |
Set the type of scalable metrics that we write. If |
| 57 |
.I n |
| 58 |
is 0, no scalable metrics are written, which may or may not be legal. |
| 59 |
If |
| 60 |
.I n |
| 61 |
is 1, full metrics for a single glyph are written, and only left |
| 62 |
sidebearing values are written for the other glyphs. If |
| 63 |
.I n |
| 64 |
is 2, scalable metrics for all glyphs are written, which increases |
| 65 |
file size and is not recommended. The default is 1. |
| 66 |
.TP |
| 67 |
.B \-\- |
| 68 |
End of options. |
| 69 |
.SH BUGS |
| 70 |
Some of the font-level values, notably sub- and superscript positions, |
| 71 |
are dummy values. |
| 72 |
.SH SEE ALSO |
| 73 |
X(__miscmansuffix__), Xserver(__appmansuffix__), Xft(__libmansuffix__). |
| 74 |
.I Fonts in X11. |
| 75 |
.SH AUTHOR |
| 76 |
The version of |
| 77 |
.B Fonttosfnt |
| 78 |
included in this X.Org Foundation release was originally written by |
| 79 |
Juliusz Chroboczek <[email protected]> for the XFree86 project. |