1UNIFONTPIC(1) General Commands Manual UNIFONTPIC(1)
2
3
4
6 unifontpic - Convert GNU Unifont .hex input to a bitmap image of the
7 whole font
8
10 unifontpic [-dnnn] [-l] [-t] [-Pplane] < input-font.hex > output-
11 font.bmp
12
14 unifontpic reads a GNU Unifont .hex file from STDIN and writes a two
15 dimensional rendering for each glyph to STDOUT. The output displays an
16 entire Unicode plane of 65,536 glyphs as one large graphic image, show‐
17 ing a grid of 256 glyphs by 256 glyphs as the default, or (at your
18 option) a long version of 16 glyphs across by 4,096 glyphs down.
19
20 Input can be one or more files in Unifont .hex format. They don't have
21 to be sorted, as unifontpic will populate the entire glyph array of
22 65,536 code points before writing its output. The input glyph code
23 points should all be unique, as feeding in duplicate code points will
24 produce unpredictable results. Use unidup (1) on a sorted input of
25 .hex files to guarantee no code point duplication.
26
28 -d Specify a Dots per Inch (DPI) resolution of nnn. For example,
29 specifying -d120 will encode the bitmap graphics file output as
30 having a resolution of 120 DPI.
31
32 -l Produce a long chart, 16 glyphs wide by 4,096 glyphs tall. The
33 default is a wide chart, 256 glyphs wide by 256 glyphs tall.
34
35 -t Use tiny numbers for the row and column code point labels. Tiny
36 numbers are on a 4 by 5 pixel grid. Only tiny code point labels
37 appear on the long chart variant; this option only has effect for
38 wide charts (the default, of 256 by 256 glyphs). If this option
39 is not specified for the default 256-by-256 grid, row and column
40 code point labels are taken from Unifont's glyphs for `0' to `9'
41 and `A' to `F'.
42
43 -P Print a chart for Unicode plane number plane. The default is
44 Plane 0, the Unicode Basic Multilingual Plane (BMP). The range
45 of Unicode plane range is 0 through 17, inclusive. The plane
46 number is printed on the chart title line.
47
49 Sample usage:
50
51 cat *.hex | unifontpic -d120 > unifontpic.bmp
52
53 To generate a bitmap that shows combining circles, from the font/ sub‐
54 directory:
55
56 sort plane00/*.hex | unigencircles ttfsrc/combining.txt | uni‐
57 fontpic -d120 >unifontpic.bmp
58
60 *.hex GNU Unifont font files
61
63 bdfimplode(1), hex2bdf(1), hex2sfd(1), hexbraille(1), hexdraw(1),
64 hexkinya(1), hexmerge(1), johab2ucs2(1), unibdf2hex(1), unibmp2hex(1),
65 unibmpbump(1), unicoverage(1), unidup(1), unifont(5), unifont-
66 viewer(1), unifont1per(1), unifontchojung(1), unifontksx(1), unigencir‐
67 cles(1), unigenwidth(1), unihex2bmp(1), unihex2png(1), unihexfill(1),
68 unihexgen(1), unihexrotate(1), unipagecount(1), unipng2hex(1)
69
71 unifontpic was written by Paul Hardy.
72
74 unifontpic is Copyright © 2013 Paul Hardy.
75
76 This program is free software; you can redistribute it and/or modify it
77 under the terms of the GNU General Public License as published by the
78 Free Software Foundation; either version 2 of the License, or (at your
79 option) any later version.
80
82 No known bugs exist.
83
84
85
86 2013 Sep 07 UNIFONTPIC(1)