6 This file is part of groff, the GNU roff type-setting system.
8 Copyright (C) 2005, 2006 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 2, or (at your option) any later
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 groff; see the file COPYING. If not, write to the Free
23 Software Foundation, 51 Franklin St - Fifth Floor, Boston, MA
29 .\" ******************************************************************
30 .\" ** groff glyphs vs. character codes: **
31 .\" ** .fontdump [font1 font2 ...] **
32 .\" ** Print glyphs of font1, font2, ..., versus **
33 .\" ** character code. **
34 .\" ** `all' as fontname prints all fonts in the **
35 .\" ** specified string `fontpath'. **
36 .\" ** without arg: glyphs and codes of active font. **
37 .\" ******************************************************************
42 . ds fontpath @fontdir@
52 ls \\*[fontpath]/dev\*[.T] \
54 . \" This dummy line is necessary; the preceding line eats it.
56 . while !"\\*[*args]"" \{\
59 . if "\\*[*$1]"all" \{\
60 . ds *args \\*[*f] \\*[*args]
72 . index "\\*[*f]" \\*[*$1]
76 . tm \\n[.F]:\\n[.c]: Font \\*[*$1] not found.
81 . tm \\n[.F]:\\n[.c]: Font \\*[*$1] not found.
90 . if (\\n[**] == \\n[*]) \
97 . tm listing font `\\*[*$1]'...
99 . TBL border=.1n bc=red cpd=0 csp=.1n bgc=
100 . CPTN groff font \\*[*$1] \
102 val=b ".pso grep -e internalname \\*[fontpath]/dev\*[.T]/\\*[*$1]"
105 . TBL cols=18 border=.1n bc=red csp=.1n cpd=.2n fgc=red4 bgc=beige \
106 hal=c fsz='1.2 1.7' fst=\\*[*$1]
112 . while (\\n+[x#] < 16) \{\
120 . while (\\n+[y#] < 17) \{\
126 . while (\\n+[x#] < 16) \{\
128 . if c \N'\\n+[c#]' \
139 . while (\\n+[x#] < 16) \{\
155 .\" 466MHz Celeron CPU, 384MB RAM
156 .\" WindowsXP/cygwin groff18.1: 107s
157 .\" WindowsXP/cygwin groff19.2: 390s
158 .\" Suse Linux 9.3 groff19.2: 66s