summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-01-19 10:06:55 -0500
committerGaetan Nadon <memsize@videotron.ca>2011-01-19 10:06:55 -0500
commit5b55964119d97ed763efa76bcc09dc918b6ab8be (patch)
tree93f6b66fafb27ad59c62758f659c1f66480b4737 /man
parent98469be392fcb4bc45e14b449e3576248e5bc558 (diff)
config: move man pages into their own directory
Use services provided by XORG_MANPAGE_SECTIONS. Use standard Makefile for man pages. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am12
-rw-r--r--man/fonttosfnt.man77
2 files changed, 89 insertions, 0 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
new file mode 100644
index 0000000..ddc3a3b
--- /dev/null
+++ b/man/Makefile.am
@@ -0,0 +1,12 @@
+
+appmandir = $(APP_MAN_DIR)
+appman_PRE = fonttosfnt.man
+appman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX))
+
+EXTRA_DIST = $(appman_PRE)
+CLEANFILES = $(appman_DATA)
+SUFFIXES = .$(APP_MAN_SUFFIX) .man
+
+# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
+.man.$(APP_MAN_SUFFIX):
+ $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
diff --git a/man/fonttosfnt.man b/man/fonttosfnt.man
new file mode 100644
index 0000000..4b05058
--- /dev/null
+++ b/man/fonttosfnt.man
@@ -0,0 +1,77 @@
+.\" $XFree86$
+.TH FONTTOSFNT 1 __vendorversion__
+.SH NAME
+fonttosfnt \- Wrap a bitmap font in a sfnt (TrueType) wrapper
+.SH SYNOPSIS
+.B fonttosfnt
+[
+.I options
+]
+.B \-o
+.I file.ttf
+[
+.B \-\-
+]
+.IR font ...
+.SH DESCRIPTION
+Wrap a bitmap font or a set of bitmap fonts in a sfnt (TrueType or
+OpenType) wrapper.
+.SH OPTIONS
+.TP
+.B \-v
+Be verbose.
+.TP
+.B \-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).
+.TP
+.B \-b
+Write byte-aligned glyph data. By default, unaligned data is written,
+which yields a smaller file size.
+.TP
+.B \-r
+Do not reencode fonts. By default, fonts are reencoded to Unicode
+whenever possible.
+.TP
+.BI \-g " n"
+Set the type of scalable glyphs that we write. If
+.I n
+is 0, no scalable glyphs are written; this is legal but confuses
+most current software. If
+.I n
+is 1, a single scalable glyph (the undefined glyph) is written; this
+is recommended, but triggers a bug in current versions of
+.BR FreeType .
+If
+.I n
+is 2 (the default), a sufficiently high number of blank glyphs are
+written, which works with
+.B FreeType
+but increases file size.
+.TP
+.BI \-m " n"
+Set the type of scalable metrics that we write. If
+.I n
+is 0, no scalable metrics are written, which may or may not be legal.
+If
+.I n
+is 1, full metrics for a single glyph are written, and only left
+sidebearing values are written for the other glyphs. If
+.I n
+is 2, scalable metrics for all glyphs are written, which increases
+file size and is not recommended. The default is 1.
+.TP
+.B \-\-
+End of options.
+.SH BUGS
+Some of the font-level values, notably sub- and superscript positions,
+are dummy values.
+.SH SEE ALSO
+X(__miscmansuffix__), Xserver(__appmansuffix__), Xft(__libmansuffix__).
+.I Fonts in X11.
+.SH AUTHOR
+The version of
+.B Fonttosfnt
+included in this X.Org Foundation release was originally written by
+Juliusz Chroboczek <jch@freedesktop.org> for the XFree86 project.