summaryrefslogtreecommitdiff
path: root/update-xfonts-traditional.8
blob: 420d55f6c6a0e856f1d1e77d4deb2aa71e644e8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
.\" Hey, Emacs!  This is an -*- nroff -*- source file.
.TH UPDATE\-XFONTS\-TRADITIONAL 8 "2012" "Greenend" "chiark utilities"
.SH NAME
update\-xfonts\-traditional \- generate traditional ASCII fixed-with fonts
.SH SYNOPSIS
.B update\-xfonts\-traditional --bdf-filter
.LP
.B update\-xfonts\-traditional --process-pcf \fIin.pcf.gz\fP \fIout.pcf.gz\fP
.LP
.B update\-xfonts\-traditional --process-fontdirs \fIfontdir\fR ...
.LP
.B update\-xfonts\-traditional --process-fonttrees \fIfonttree\fR ...
.SH DESCRIPTION
.B update\-xfonts\-traditional
generates versions of X11 PCF fonts which have been edited to restore
compatibility with traditional versions of US-ASCII, and to restore
some of the glyphs to more traditional appearance.
.SH MODES
.TP
.BI --bdf-filter
Takes a BDF on standard input and tries to generate an edited BDF on
standard output.
.TP
.BI --process-pcf
Takes to PCF filename arguments; the input PCF is uncompressed,
decompiled to a BDF, processed, recompiled to a PCF and recompressed.
.TP
.BI --process-fontdirs
In each
.I fontdir
all files
.IB font .pcf.gz
are processed, to generate where applicable corresponding
.BI trad-- font .pcf.gz
files.  The mtime, ctime and inode number of the input files are
recorded so that reprocessing the same directory later will be fast.
.TP
.BI --process-fonttrees
Each
.I fonttree
is searched for font directories which are processed as above.
.TP
.BI --update
Each built in font tree location is searched for font directories
which are processed as above.
.SH OPTIONS
.TP
\fB-R\fP|\fB--rules-path\fP \fIrulespath\fP
Prepend
.I rulespath
to the path of directories from which to load glyph editing rules.
.TP
\fB--share-dir\fP \fIshare-dir\fP
Use
.I share-dir
instead of
.BR "/usr[/local]/share/xfonts-traditional" .
.TP
\fB--parallel\fP|\fB-j\fP \fIcpus\fP
Use up to
.I cpus
cores for processing fonts.  The default is all the cpus available.
.TP
\fB--always-reprocess
When scanning font directories, always reprocess all the fonts,
regardless of whether we think they have been done already.
.TP
\fB--no-tolerate-bad-fonts
Treat bad input fonts (eg, ones for which pcf2bdf crashes, or ones
with other problems) as a fatal error.  Normally they just produce
a warning.
.SH FILES
.TP
.B xfonts-traditional.done
In each font directory, records information about processed fonts, so
as to optimise away unnecessary reprocessing.
.TP
.B xfonts-traditional.log
In each font directory, records a lot of which fonts were processed
and to a certain extent if not why not.
.TP
.B /usr/share/fonts/X11 /usr/local/share/fonts/X11
Default font tree paths for --update.
.TP
.BI trad-- font .pcf.gz
In any font directory, our output files.  Any other files matching
this pattern may be overwritten or deleted.
.SH EXIT STATUS
.TP
.B 0
All went well and there were no warnings.
.TP
.B 2
With
.B --bdf-filter
and
.B --process-pcf
only, indicates that the input font did not need to
be edited, or was not suitable for editing, and has
.B not
been written out, so the output is incomplete, but this is not an
error.
.TP
any other
There were problems.
.SH BUGS
Only the 6x13 font conventionally called \"fixed\" is currently
supported.  This package comes too late to rescue Unix from an
incompatible change to its character set.