1
- .\" $MirOS: X11/extras/bdfctool/bdfctool.1,v 1.10 2013/05/17 21:51:40 tg Exp $
1
+ .\" $MirOS: X11/extras/bdfctool/bdfctool.1,v 1.14 2016/02/11 20:16:24 tg Exp $
2
2
.\" -
3
- .\" Copyright © 2012, 2013
4
- .\" Thorsten “ mirabilos” Glaser <tg @mirbsd.org>
3
+ .\" Copyright (c) 2008, 2009, 2010, 2012, 2013, 2015, 2016
4
+ .\" mirabilos <m @mirbsd.org>
5
5
.\" -
6
6
.\" Try to make GNU groff and AT&T nroff more compatible
7
7
.\" * ` generates ‘ in gnroff, so use \`
12
12
.\" * ^ is size-reduced and placed atop in groff, so use \*(ha
13
13
.\" * \(en does not work in nroff, so use \*(en
14
14
.\" * <>| are problematic, so redefine and use \*(Lt\*(Gt\*(Ba
15
- .\" Also make sure to use \& especially with two-letter words.
15
+ .\" Also make sure to use \& *before* a punctuation char that is to not
16
+ .\" be interpreted as punctuation, and especially with two-letter words
17
+ .\" but also (after) a period that does not end a sentence (“e.g.\&”).
16
18
.\" The section after the "doc" macropackage has been loaded contains
17
19
.\" additional code to convene between the UCB mdoc macropackage (and
18
20
.\" its variant as BSD mdoc in groff) and the GNU mdoc macropackage.
57
59
.\" with -mandoc, it might implement .Mx itself, but we want to
58
60
.\" use our own definition. And .Dd must come *first*, always.
59
61
.\"
60
- .Dd $Mdocdate : May 17 2013 $
62
+ .Dd $Mdocdate : February 11 2016 $
61
63
.\"
62
64
.\" Check which macro package we use, and do other -mdoc setup.
63
65
.\"
140
142
.Fl c
141
143
.Nm
142
144
.Fl d
143
- .Op Fl F
145
+ .Op Fl FGg
144
146
.Nm
145
147
.Fl e
146
148
.Op Fl a
@@ -171,7 +173,9 @@ and the line end separator
171
173
.It Ic +a
172
174
In edit mode, emit Unicode (1:1) encoding (default).
173
175
.It Fl d
174
- Decompress the font from bdfc into
176
+ Decompress the font from bdfc
177
+ .Pq or Tn BDF
178
+ into
175
179
.Tn BDF .
176
180
.It Fl c
177
181
Compress the font from
@@ -191,12 +195,17 @@ Revert selected glyphs from edit form back to compressed form
191
195
Do a fast decompression with no error checking.
192
196
Run this on files passed through
193
197
.Nm
194
- .Fl c
198
+ .Fl c ,
199
+ without any subsequent manual or automated changes,
195
200
.Em only .
196
201
Used by the
197
202
.Mx
198
203
.Tn XFree86 \(rg
199
204
build process.
205
+ .It Fl G
206
+ Output a big-endian .gdf (libgd font) instead.
207
+ .It Fl g
208
+ Output a little-endian .gdf (libgd font) instead.
200
209
.El
201
210
.Sh BDFC FORMAT DESCRIPTION
202
211
A
@@ -241,7 +250,7 @@ is put in
241
250
Finally, there is the character block, which is somewhat stateless.
242
251
There are two types of entries for that block, glyph defaults and glyph data.
243
252
The block is ended with a period
244
- .Pq Dq Li . \&
253
+ .Pq Dq Li \& .
245
254
on a line by itself.
246
255
.Pp
247
256
Glyphs are sorted by their font encoding / Unicode code point, and each
372
381
.Tn XFree86 \(rg
373
382
.Ic Bitmap Distribution Format ,
374
383
version 2.1, specification
384
+ .Pp
385
+ .Pa http://php.net/manual/en/function.imageloadfont.php
375
386
.Sh AUTHORS
376
- .An Thorsten Glaser Aq tg @mirbsd.org
387
+ .An mirabilos Aq m @mirbsd.org
377
388
wrote this tool because
378
389
.Xr cvs 1
379
390
does not scale for multi-thousand-line files,
@@ -396,3 +407,16 @@ is mandatory.
396
407
The current practical limit on glyph width is 32.
397
408
0-bit wide glyphs cause an error; those with height 0 are
398
409
silently converted to an unset 1x1 bitmap.
410
+ .Pp
411
+ Passing a
412
+ .Tn BDF
413
+ file through
414
+ .Nm
415
+ .Fl d
416
+ is not equivalent to compressing then decompressing it.
417
+ The position of the
418
+ .Li STARTPROPERTIES
419
+ line can change, if bordering comments, for example.
420
+ .Pp
421
+ There is no support for padding BDF fonts yet.
422
+ Output to gdf fonts requires padded input.
0 commit comments