summaryrefslogtreecommitdiff
path: root/lib/fontconfig/fc-cat
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-05-05 10:32:30 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-05-05 10:32:30 +0000
commit2c065c8a2b1702ac0ea7631a0cb7cd135df400dd (patch)
tree8d84b758230295231bd2d7fc8f3a120aff2d79ef /lib/fontconfig/fc-cat
parent9db94b6758eaa6477eaeb32cc95982d77ae8ae15 (diff)
- generate manual pages for the tools from their sgml sources,
- unbreak Makefiles.am so that if the nroff man pages are present they get installed, even without docbook tools.
Diffstat (limited to 'lib/fontconfig/fc-cat')
-rw-r--r--lib/fontconfig/fc-cat/Makefile.am4
-rw-r--r--lib/fontconfig/fc-cat/fc-cat.187
2 files changed, 89 insertions, 2 deletions
diff --git a/lib/fontconfig/fc-cat/Makefile.am b/lib/fontconfig/fc-cat/Makefile.am
index 42ee546b6..2102ef02f 100644
--- a/lib/fontconfig/fc-cat/Makefile.am
+++ b/lib/fontconfig/fc-cat/Makefile.am
@@ -35,10 +35,10 @@ EXTRA_DIST=fc-cat.sgml
fc_cat_LDADD = ${top_builddir}/src/libfontconfig.la $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS)
-if USEDOCBOOK
-
man_MANS=fc-cat.1
+if USEDOCBOOK
+
${man_MANS}: ${SGML}
$(RM) $@
$(DOC2MAN) ${SGML}
diff --git a/lib/fontconfig/fc-cat/fc-cat.1 b/lib/fontconfig/fc-cat/fc-cat.1
new file mode 100644
index 000000000..afecd9e84
--- /dev/null
+++ b/lib/fontconfig/fc-cat/fc-cat.1
@@ -0,0 +1,87 @@
+...\" $Header: /cvs/OpenBSD/xenocara/lib/fontconfig/fc-cat/fc-cat.1,v 1.1 2007/05/05 10:32:29 matthieu Exp $
+...\"
+...\" transcript compatibility for postscript use.
+...\"
+...\" synopsis: .P! <file.ps>
+...\"
+.de P!
+\\&.
+.fl \" force out current output buffer
+\\!%PB
+\\!/showpage{}def
+...\" the following is from Ken Flowers -- it prevents dictionary overflows
+\\!/tempdict 200 dict def tempdict begin
+.fl \" prolog
+.sy cat \\$1\" bring in postscript file
+...\" the following line matches the tempdict above
+\\!end % tempdict %
+\\!PE
+\\!.
+.sp \\$2u \" move below the image
+..
+.de pF
+.ie \\*(f1 .ds f1 \\n(.f
+.el .ie \\*(f2 .ds f2 \\n(.f
+.el .ie \\*(f3 .ds f3 \\n(.f
+.el .ie \\*(f4 .ds f4 \\n(.f
+.el .tm ? font overflow
+.ft \\$1
+..
+.de fP
+.ie !\\*(f4 \{\
+. ft \\*(f4
+. ds f4\"
+' br \}
+.el .ie !\\*(f3 \{\
+. ft \\*(f3
+. ds f3\"
+' br \}
+.el .ie !\\*(f2 \{\
+. ft \\*(f2
+. ds f2\"
+' br \}
+.el .ie !\\*(f1 \{\
+. ft \\*(f1
+. ds f1\"
+' br \}
+.el .tm ? font underflow
+..
+.ds f1\"
+.ds f2\"
+.ds f3\"
+.ds f4\"
+.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
+.TH "fc-cat" "1"
+.SH "NAME"
+fc-cat \(em read font information cache files
+.SH "SYNOPSIS"
+.PP
+\fBfc-cat\fR [\fB-rvV?\fP] [\fB\-\-recurse\fP] [\fB\-\-verbose\fP] [\fB\-\-version\fP] [\fB\-\-help\fP] [\fB\fIfonts-cache-2-files\fR\fP] [\fB\fIdirs\fR\fP]
+.SH "DESCRIPTION"
+.PP
+\fBfc-cat\fR reads the font information from
+cache files or related to font directories
+and emits it in ASCII form\&.
+.SH "OPTIONS"
+.PP
+This program follows the usual GNU command line syntax,
+with long options starting with two dashes (`\-\&')\&. A summary of
+options is included below\&.
+.IP "\fB-r\fP \fB\-\-recurse\fP " 10
+Recurse into subdirectories\&.
+.IP "\fB-v\fP \fB\-\-verbose\fP " 10
+Be verbose\&.
+.IP "\fB-?\fP \fB\-\-help\fP " 10
+Show summary of options\&.
+.IP "\fB-V\fP \fB\-\-version\fP " 10
+Show version of the program and exit\&.
+.SH "SEE ALSO"
+.PP
+\fBfc-cache\fR (1)\&.
+.PP
+The fontconfig user\&'s guide, in HTML format:
+\fB/usr/share/doc/fontconfig/fontconfig-user\&.html\fP\&.
+.SH "AUTHOR"
+.PP
+This manual page was written by Patrick Lam plam@mit\&.edu\&.
+...\" created by instant / docbook-to-man, Sat 05 May 2007, 11:43