1UNIFONTPIC(1)               General Commands Manual              UNIFONTPIC(1)
2
3
4

NAME

6       unifontpic  -  Convert  GNU Unifont .hex input to a bitmap image of the
7       whole font
8

SYNOPSIS

10       unifontpic [-dnnn][-l][-t] [-Pplane] < input-font.hex > output-font.bmp
11

DESCRIPTION

13       unifontpic reads a GNU Unifont .hex file from STDIN and  writes  a  two
14       dimensional rendering for each glyph to STDOUT.  The output displays an
15       entire Unicode plane of 65,536 glyphs as one large graphic image, show‐
16       ing  a  grid  of  256  glyphs by 256 glyphs as the default, or (at your
17       option) a long version of 16 glyphs across by 4,096 glyphs down.
18
19       Input can be one or more files in Unifont .hex format.  They don't have
20       to  be  sorted,  as  unifontpic will populate the entire glyph array of
21       65,536 code points before writing its output.   The  input  glyph  code
22       points  should  all be unique, as feeding in duplicate code points will
23       produce unpredictable results.  Use unidup (1) on  a  sorted  input  of
24       .hex files to guarantee no code point duplication.
25

OPTIONS

27       -dnnn       Specify a Dots per Inch (DPI) resolution of nnn.  For exam‐
28                   ple, specifying -d120 will encode the bitmap graphics  file
29                   output as having a resolution of 120 DPI.
30
31       -l          Produce  a long chart, 16 glyphs wide by 4,096 glyphs tall.
32                   The default is a wide chart, 256 glyphs wide by 256  glyphs
33                   tall.
34
35       -t          Use  tiny numbers for the row and column code point labels.
36                   Tiny numbers are on a 4 by 5 pixel grid.   Only  tiny  code
37                   point  labels appear on the long chart variant; this option
38                   only has effect for wide charts (the default, of 256 by 256
39                   glyphs).   If  this option is not specified for the default
40                   256-by-256 grid, row and column code point labels are taken
41                   from Unifont's glyphs for `0' to `9' and `A' to `F'.
42
43       -Pplane     Print  a chart for Unicode plane number plane.  The default
44                   is Plane 0, the Unicode  Basic  Multilingual  Plane  (BMP).
45                   The  range  of  Unicode plane range is 0 through 17, inclu‐
46                   sive.  The plane number is printed on the chart title line.
47

EXAMPLES

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

FILES

60       *.hex GNU Unifont font files
61

SEE ALSO

63       bdfimplode(1),  hex2bdf(1),  hex2sfd(1),   hexbraille(1),   hexdraw(1),
64       hexkinya(1),  hexmerge(1), johab2ucs2(1), unibdf2hex(1), unibmp2hex(1),
65       unicoverage(1),   unidup(1),   unifont(5),   unifont-viewer(1),    uni‐
66       font1per(1),  unifontchojung(1),  unifontksx(1), unigencircles(1), uni‐
67       genwidth(1), unihex2bmp(1), unihex2png(1), unihexfill(1), unihexgen(1),
68       unipagecount(1), unipng2hex(1)
69

AUTHOR

71       unifontpic was written by Paul Hardy.
72

LICENSE

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

BUGS

82       No known bugs exist.
83
84
85
86                                  2013 Sep 07                    UNIFONTPIC(1)
Impressum