6 This file is part of groff, the GNU roff type-setting system.
8 Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc.
9 written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>.
11 groff is free software; you can redistribute it and/or modify it under
12 the terms of the GNU General Public License as published by the Free
13 Software Foundation, either version 3 of the License, or
14 (at your option) any later version.
16 groff is distributed in the hope that it will be useful, but WITHOUT
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 You should have received a copy of the GNU General Public License
22 along with this program. If not, see <http://www.gnu.org/licenses/>.
27 .\" ******************************************************************
28 .\" ** groff glyphs vs. character codes: **
29 .\" ** .fontdump [font1 font2 ...] **
30 .\" ** Print glyphs of font1, font2, ..., versus **
31 .\" ** character code. **
32 .\" ** `all' as fontname prints all fonts in the **
33 .\" ** specified string `fontpath'. **
34 .\" ** without arg: glyphs and codes of active font. **
35 .\" ******************************************************************
40 . ds fontpath @fontdir@
50 ls \\*[fontpath]/dev\*[.T] \
52 . \" This dummy line is necessary; the preceding line eats it.
54 . while !"\\*[*args]"" \{\
57 . if "\\*[*$1]"all" \{\
58 . ds *args \\*[*f] \\*[*args]
70 . index "\\*[*f]" \\*[*$1]
74 . tm \\n[.F]:\\n[.c]: Font \\*[*$1] not found.
79 . tm \\n[.F]:\\n[.c]: Font \\*[*$1] not found.
88 . if (\\n[**] == \\n[*]) \
95 . tm listing font `\\*[*$1]'...
97 . TBL border=.1n bc=red cpd=0 csp=.1n bgc=
98 . CPTN groff font \\*[*$1] \
100 val=b ".pso grep -e internalname \\*[fontpath]/dev\*[.T]/\\*[*$1]"
103 . TBL cols=18 border=.1n bc=red csp=.1n cpd=.2n fgc=red4 bgc=beige \
104 hal=c fsz='1.2 1.7' fst=\\*[*$1]
110 . while (\\n+[x#] < 16) \{\
118 . while (\\n+[y#] < 17) \{\
124 . while (\\n+[x#] < 16) \{\
126 . if c \N'\\n+[c#]' \
137 . while (\\n+[x#] < 16) \{\
153 .\" 466MHz Celeron CPU, 384MB RAM
154 .\" WindowsXP/cygwin groff18.1: 107s
155 .\" WindowsXP/cygwin groff19.2: 390s
156 .\" Suse Linux 9.3 groff19.2: 66s