man-pages/man1/fonttosfnt.1.html
2021-03-31 01:06:50 +01:00

143 lines
3.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of FONTTOSFNT</TITLE>
</HEAD><BODY>
<H1>FONTTOSFNT</H1>
Section: User Commands (1)<BR>Updated: fonttosfnt 1.0.4<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
fonttosfnt - Wrap a bitmap font in a sfnt (TrueType) wrapper
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>fonttosfnt</B>
[
<I>options</I>
]
<B>-o</B>
<I>file.ttf</I>
[
<B>--</B>
]
<I>font</I>...
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Wrap a bitmap font or a set of bitmap fonts in a sfnt (TrueType or
OpenType) wrapper.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-v</B>
<DD>
Be verbose.
<DT id="2"><B>-c</B>
<DD>
Do not crop glyphs. This usually increases file size, but may
sometimes yield a modest decrease in file size for small character
cell fonts (terminal fonts).
<DT id="3"><B>-b</B>
<DD>
Write byte-aligned glyph data. By default, unaligned data is written,
which yields a smaller file size.
<DT id="4"><B>-r</B>
<DD>
Do not reencode fonts. By default, fonts are reencoded to Unicode
whenever possible.
<DT id="5"><B>-g</B><I> n</I>
<DD>
Set the type of scalable glyphs that we write. If
<I>n</I>
is 0, no scalable glyphs are written; this is legal but confuses
most current software. If
<I>n</I>
is 1, a single scalable glyph (the undefined glyph) is written; this
is recommended, but triggers a bug in current versions of
<B>FreeType</B>.
If
<I>n</I>
is 2 (the default), a sufficiently high number of blank glyphs are
written, which works with
<B>FreeType</B>
but increases file size.
<DT id="6"><B>-m</B><I> n</I>
<DD>
Set the type of scalable metrics that we write. If
<I>n</I>
is 0, no scalable metrics are written, which may or may not be legal.
If
<I>n</I>
is 1, full metrics for a single glyph are written, and only left
sidebearing values are written for the other glyphs. If
<I>n</I>
is 2, scalable metrics for all glyphs are written, which increases
file size and is not recommended. The default is 1.
<DT id="7"><B>--</B>
<DD>
End of options.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>BUGS</H2>
Some of the font-level values, notably sub- and superscript positions,
are dummy values.
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<A HREF="/cgi-bin/man/man2html?7+X">X</A>(7), <A HREF="/cgi-bin/man/man2html?1+Xserver">Xserver</A>(1), <A HREF="/cgi-bin/man/man2html?3x+Xft">Xft</A>(3x).
<I>Fonts in X11.</I>
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>
The version of
<B>Fonttosfnt</B>
included in this X.Org Foundation release was originally written by
Juliusz Chroboczek &lt;<A HREF="mailto:jch@freedesktop.org">jch@freedesktop.org</A>&gt; for the XFree86 project.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="8"><A HREF="#lbAB">NAME</A><DD>
<DT id="9"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="10"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="11"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="12"><A HREF="#lbAF">BUGS</A><DD>
<DT id="13"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="14"><A HREF="#lbAH">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:12 GMT, March 31, 2021
</BODY>
</HTML>