MirBSD manpage: fonttosfnt(1)


FONTTOSFNT(1)       UNIX Programmer's Manual        FONTTOSFNT(1)

NAME

     fonttosfnt - Wrap a bitmap font in a sfnt (TrueType) wrapper

SYNOPSIS

     fonttosfnt [ options ] -o file.ttf [ -- ] font...

DESCRIPTION

     Wrap a bitmap font or a set of bitmap fonts in a sfnt (True-
     Type or OpenType) wrapper.

OPTIONS

     -v   Be verbose.

     -c   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).

     -b   Write byte-aligned glyph data.  By default, bit-aligned
          data is written, which yields a smaller file size.

     -r   Do not reencode fonts.  By default, fonts are reencoded
          to Unicode whenever possible.

     -g n Set the type of scalable glyphs that we write.  If n is
          0, no scalable glyphs are written; this is legal but
          confuses most current software.  If n is 1, a single
          scalable glyph (the undefined glyph) is written; this
          is recommended, but triggers a bug in current versions
          of FreeType. If n is 2 (the default), a sufficiently
          high number of blank glyphs are written, which works
          with FreeType but increases file size.

     -m n Set the type of scalable metrics that we write.  If n
          is 0, no scalable metrics are written, which may or may
          not be legal. If n is 1, full metrics for a single
          glyph are written, and only left sidebearing values are
          written for the other glyphs.  If n is 2, scalable
          metrics for all glyphs are written, which increases
          file size and is not recommended.  The default is 1.

     --   End of options.

BUGS

     Some of the font-level values, notably sub- and superscript
     positions, are dummy values.

SEE ALSO

     X(7), Xserver(1), Xft(3x). Fonts in XFree86.

AUTHOR

     Fonttosfnt was written by Juliusz Chroboczek
     <jch@pps.jussieu.fr> for the XFree86 project.

XFree86                   Version 4.5.0                         1

Generated on 2021-12-07 11:07:08 by $MirOS: src/scripts/roff2htm,v 1.103 2021/01/23 20:24:35 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2021 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.