- 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.
This commit is contained in:
matthieu 2007-05-05 10:32:29 +00:00
parent 48a65bbad1
commit 5c6404f005
8 changed files with 402 additions and 8 deletions

View File

@ -41,10 +41,10 @@ EXTRA_DIST=fc-cache.sgml
fc_cache_LDADD = ${top_builddir}/src/libfontconfig.la $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS)
if USEDOCBOOK
man_MANS=fc-cache.1
if USEDOCBOOK
${man_MANS}: ${SGML}
$(RM) $@
$(DOC2MAN) ${SGML}

View File

@ -0,0 +1,114 @@
...\" $Header: /home/cvs/xenocara/lib/fontconfig/fc-cache/Attic/fc-cache.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-cache" "1"
.SH "NAME"
fc-cache \(em build font information cache files
.SH "SYNOPSIS"
.PP
\fBfc-cache\fR [\fB-fsvV?\fP] [\fB\-\-force\fP] [\fB\-\-system-only\fP] [\fB\-\-verbose\fP] [\fB\-\-version\fP] [\fB\-\-help\fP] [\fB\fIdirs\fR\fP]
.SH "DESCRIPTION"
.PP
\fBfc-cache\fR scans the font directories on
the system and builds font information cache files for
applications using fontconfig for their font handling\&.
.PP
If directory arguments are not given,
\fBfc-cache\fR uses each directory in the
current font configuration\&. Each directory is scanned for
font files readable by FreeType\&. A cache is created which
contains properties of each font and the associated filename\&.
This cache is used to speed up application startup when using
the fontconfig library\&.
.PP
Note that \fBfc-cache\fR must be executed
once per architecture to generate font information customized
for that architecture\&. On a subsequent run,
\fBfc-cache\fR will augment the cache
information files with the information for the new
architecture\&.
.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-f\fP \fB\-\-force\fP " 10
Force re-generation of apparently up-to-date cache files,
overriding the timestamp checking\&.
.IP "\fB-s\fP \fB\-\-system-only\fP " 10
Only scan system-wide directories, omitting the places
located in the user\&'s home directory\&.
.IP "\fB-v\fP \fB\-\-verbose\fP " 10
Display status information while busy\&.
.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\&.
.IP "\fB\fIdirs\fR\fP " 10
A list of directories to scan for fonts\&.
.SH "FILES"
.IP "\fBfonts\&.cache-2\fP" 10
These files are generated by \fBfc-cache\fR and contain maps from file names to font properties\&. They are
read by the fontconfig library at application startup to locate
appropriate fonts\&.
.SH "SEE ALSO"
.PP
\fBfc-list\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 Keith Packard
keithp@keithp\&.com and Josselin Mouette joss@debian\&.org\&.
...\" created by instant / docbook-to-man, Sat 05 May 2007, 11:42

View File

@ -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}

View File

@ -0,0 +1,87 @@
...\" $Header: /home/cvs/xenocara/lib/fontconfig/fc-cat/Attic/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

View File

@ -35,10 +35,10 @@ EXTRA_DIST=fc-list.sgml
fc_list_LDADD = ${top_builddir}/src/libfontconfig.la $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS)
if USEDOCBOOK
man_MANS=fc-list.1
if USEDOCBOOK
${man_MANS}: ${SGML}
$(RM) $@
$(DOC2MAN) ${SGML}

View File

@ -0,0 +1,100 @@
...\" $Header: /home/cvs/xenocara/lib/fontconfig/fc-list/Attic/fc-list.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-list" "1"
.SH "NAME"
fc-list \(em list available fonts
.SH "SYNOPSIS"
.PP
\fBfc-list\fR [\fB-vV?\fP] [\fB\-\-verbose\fP] [\fB\-\-version\fP] [\fB\-\-help\fP] [\fB\fIpattern\fR\fP] [\fB\fIelement\fR\fP]
.SH "DESCRIPTION"
.PP
\fBfc-list\fR lists fonts and styles
available on the system for applications using fontconfig\&.
.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-v\fP \fB\-\-verbose\fP " 10
Display status information while busy\&.
.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\&.
.IP "\fB\fIpattern\fR\fP " 10
If this argument is set, only fonts matching
\fIpattern\fR are displayed\&.
.IP "\fB\fIelement\fR\fP " 10
If set, the \fIelement\fR property
is displayed for matching fonts\&.
.SH "EXAMPLES"
.IP "fc-list" 10
Lists all font faces\&.
.IP "fc-list :lang=hi" 10
Lists font faces that cover Hindi\&.
.IP "fc-list : family style file spacing " 10
Lists the filename and spacing value for each font
face\&. ``\fI:\fP'' is an empty pattern that matches all
fonts\&.
.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 Keith Packard
keithp@keithp\&.com and Josselin Mouette joss@debian\&.org\&.
...\" created by instant / docbook-to-man, Sat 05 May 2007, 11:43

View File

@ -35,10 +35,10 @@ EXTRA_DIST=fc-match.sgml
fc_match_LDADD = ${top_builddir}/src/libfontconfig.la $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS)
if USEDOCBOOK
man_MANS=fc-match.1
if USEDOCBOOK
${man_MANS}: ${SGML}
$(RM) $@
$(DOC2MAN) ${SGML}

View File

@ -0,0 +1,93 @@
...\" $Header: /home/cvs/xenocara/lib/fontconfig/fc-match/Attic/fc-match.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-match" "1"
.SH "NAME"
fc-match \(em match available fonts
.SH "SYNOPSIS"
.PP
\fBfc-match\fR [\fB-svV?\fP] [\fB\-\-sort\fP] [\fB\-\-verbose\fP] [\fB\-\-version\fP] [\fB\-\-help\fP] [\fB\fIfont-pattern\fR\fP]
.SH "DESCRIPTION"
.PP
\fBfc-match\fR matches font-pattern (empty
pattern by default) using the normal fontconfig matching rules to find
the best font available\&. If \-\-sort is given, the sorted list of best
matching fonts is displayed\&. With \-\-verbose, the whole font pattern
for each match is printed, otherwise only the file, family and style
are printed\&.\&.
.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-v\fP \fB\-\-verbose\fP " 10
Print whole font pattern for each match\&.
.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\&.
.IP "\fB-s\fP \fB\-\-sort\fP " 10
Displays sorted list of best matching fonts\&.
.IP "\fB\fIfont-pattern\fR\fP " 10
Displays fonts matching
\fIfont-pattern\fR (uses empty pattern by default)\&.
.SH "SEE ALSO"
.PP
\fBfc-list\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 updated by Patrick Lam plam@csail\&.mit\&.edu\&.
...\" created by instant / docbook-to-man, Sat 05 May 2007, 11:44