Debian Codegraph @

texmf-dist/fonts/source/public/universa/unipun.mf

raw
1 %%
2 %% This is file `unipun.mf',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% universa.dtx (with options: `pun')
8 %%
9 %% Copyright (C) 1998 Christian Holm.
10 %%
11 %% The universal font and package is distributed in the hope that
12 %% it will be useful, but WITHOUT ANY WARRANTY; without even the
13 %% implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 %% PURPOSE. See the GNU General Public License for more details.
15 %%
16 %% See the file universa.dtx for further comments and documentation.
17 %%
18 %%
19
20 beginchar("!",P_T#,l_h#,0) ; "The exclamation mark (!)" ;
21 pickup UniPensqu ;
22 top lft z1 = (0,h) ; bot lft z2 = (0,2P_T) ; draw z1--z2 ;
23 pickup UniPencir ;
24 bot lft z3 = (0,0) ; drawdot z3 ;
25 penlabels(1,2,3) ;
26 endchar;
27
28 beginchar("(",x_w#/2,l_h#,p_d#) ; "The left paranthesis (()" ;
29 z1 = (w,h) ; z2 = (p_t,(h-d)/2) ; z3 = (w,-d) ;
30 z4 = (w-p_t,-d) ; z5 = (0,(h-d)/2) ; z6 = (w-p_t,h) ;
31 fill z1..z2..z3--z4..z5..z6--cycle ;
32 penlabels(range 1 thru 6) ;
33 endchar;
34
35 beginchar(")",x_w#/2,l_h#,p_d#) ; "The right paranthesis ())" ;
36 z1 = (p_t,h) ; z2 = (w,(h-d)/2) ; z3 = (p_t,-d) ;
37 z4 = (0,-d) ; z5 = (w-p_t,(h-d)/2) ; z6 = (0,h) ;
38 fill z1..z2..z3--z4..z5..z6--cycle ;
39 penlabels(range 1 thru 6) ;
40 endchar;
41
42 beginchar("#",x_w#,x_h#,0) ; "The hash mark (#)" ;
43 unilne(p_t,(0,0),(w/2,h),1,1,10) ;
44 unilne(p_t,(w/2,0),(w,h),1,1,20) ;
45 pickup unipensqu ;
46 top lft z1 = (0,(h-c_d)/2) ; top rt z2 = (w,(h-c_d)/2) ;
47 bot lft z3 = (0,(h+c_d)/2) ; bot rt z4 = (w,(h+c_d)/2) ;
48 draw z1--z2 ; draw z3--z4 ;
49 penlabels(1,2,3,4) ;
50 endchar;
51
52 beginchar("%",x_w#,l_h#,0) ; "The percent sign (%)" ;
53 temp := 3c_d/2 ;
54 unicir(temp,p_t,(temp,h-temp),10) ;
55 unicir(temp,p_t,(w-temp,temp),20) ;
56 unilne(p_t,(0,0),(w,h),1,1,30) ;
57 endchar;
58
59 beginchar("'",2P_T#,l_h#,0) ; "The apostrophe (')" ;
60 uniend(w/2,(w/2,h-w/2),0,180,10) ;
61 z1 = (0,h-w/2) ; z2 = (w,h-w/2) ; z3 = (0,h-3w/2) ;
62 fill z1--z2--z3--cycle ; penlabels(1,2,3) ;
63 endchar;
64
65 beginchar("*",x_w#,l_h#,0) ; "The ast (*)" ;
66 path rect ;
67 temp := h-(w*sind(60)-p_t*cosd(60))/2 ;
68 pickup unipensqu ;
69 lft z1 = (0,temp) ; rt z2 = (w,temp) ; draw z1--z2 ;
70 rect = (bot lft z1)--(top lft z1)--(top rt z2)--(bot rt z2)--cycle ;
71 fill rect rotatedabout((w/2,temp),60) ;
72 fill rect rotatedabout((w/2,temp),120) ;
73 penlabels(1,2) ;
74 endchar;
75
76 beginchar("+",x_w#,x_h#,0) ; "The plus sign (+)" ;
77 pickup unipensqu ;
78 lft z1 = (0,w/2) ; rt z2 = (w,w/2) ; draw z1--z2 ;
79 bot z3 = (w/2,0) ; top z4 = (w/2,w) ; draw z3--z4 ;
80 endchar;
81
82 beginchar(",",2P_T#,2P_T#,2P_T#) ; "The punctuation ," ;
83 uniend(w/2,(w/2,0),0,180,10) ;
84 z1 = (0,0) ; z2 = (w,0) ; z3 = (0,-d) ;
85 fill z1--z2--z3--cycle ; penlabels(1,2,3) ;
86 endchar;
87
88 beginchar("-",4x_w#/5,x_h#,0) ; "The hyphen (-)" ;
89 pickup unipensqu ;
90 lft z1 = (0,h/2) ; rt z2 = (w,h/2) ; draw z1--z2 ;
91 penlabels(1,2);
92 endchar;
93
94 beginchar(".",2P_T#,2P_T#,0) ; "The punctuation ." ;
95 uniend(w/2,(w/2,h/2),0,360,10) ;
96 endchar;
97
98 beginchar("/",x_w#,l_h#,0) ; "The slash (/)" ;
99 unilne(p_t,(0,0),(w,h),1,1,10) ;
100 endchar;
101
102 beginchar(":",2P_T#,x_h#,0) ; "The punctuation :" ;
103 uniend(w/2,(w/2,h-w/2),0,360,10) ;
104 uniend(w/2,(w/2,w/2),0,360,20) ;
105 endchar;
106
107 beginchar(";",2P_T#,x_h#,2P_T#) ; "The punctuation ;" ;
108 uniend(w/2,(w/2,h-w/2),0,360,10) ;
109 uniend(w/2,(w/2,0),0,180,20) ;
110 z2 = (0,0) ; z3 = (w,0) ; z4 = (0,-d) ; fill z2--z3--z4--cycle ;
111 penlabels(1,2,3,4) ;
112 endchar;
113
114 beginchar("=",x_w#,x_h#,0) ; "The equal sign (=)" ;
115 pickup unipensqu ;
116 top lft z1 = (0,(h-p_t)/2) ; top rt z2 = (w,(h-p_t)/2) ;
117 bot lft z3 = (0,(h+p_t)/2) ; bot rt z4 = (w,(h+p_t)/2) ;
118 draw z1--z2 ; draw z3--z4 ;
119 penlabels(1,2,3,4) ;
120 endchar;
121
122 beginchar("@",l_h#,l_h#,0) ; "The at sign (@)" ;
123 uniarc(w/2,p_t,(w/2,h/2),0,240,10) ;
124 unicir(w/3,p_t,(2w/3,w/3),20) ;
125 pickup unipensqu ;
126 top rt z1 = (w,w/2) ; bot rt z2 = (w,0) ; draw z1--z2 ;
127 penlabels(1,2) ;
128 endchar;
129
130 beginchar("[",3p_t#,l_h#,p_d#) ; "The left bracket ([)" ;
131 uniend(p_t,(p_t,h-p_t),90,180,10) ;
132 uniend(p_t,(p_t,-d+p_t),180,270,20) ;
133 pickup unipensqu ;
134 top lft z1 = (p_t,h) ; top rt z2 = (w,h) ; draw z1--z2 ;
135 top lft z3 = (0,h-p_t) ; bot lft z4 = (0,-d+p_t) ; draw z3--z4 ;
136 bot lft z5 = (p_t,-d) ; bot rt z6 = (w,-d) ; draw z5--z6 ;
137 penlabels(range 1 thru 6) ;
138 endchar;
139
140 beginchar("]",3p_t#,l_h#,p_d#) ; "The right braket (])" ;
141 uniend(p_t,(w-p_t,h-p_t),0,90,10) ;
142 uniend(p_t,(w-p_t,-d+p_t),270,360,20) ;
143 pickup unipensqu ;
144 top lft z1 = (0,h) ; top rt z2 = (w-p_t,h) ; draw z1--z2 ;
145 top rt z3 = (w,h-p_t) ; bot rt z4 = (w,-d+p_t) ; draw z3--z4 ;
146 bot lft z5 = (0,-d) ; bot rt z6 = (w-p_t,-d) ; draw z5--z6 ;
147 penlabels(range 1 thru 6) ;
148 endchar;
149
150 beginchar("`",2P_T#,l_h#,0) ; "The reversed apostroph (`)" ;
151 uniend(w/2,(w/2,h-w),180,360,10) ;
152 z1 = (0,h) ; z2 = (0,h-w) ; z3 = (w,h-w) ; fill z1--z2--z3--cycle ;
153 penlabels(1,2,3) ;
154 endchar;
155
156 beginchar(hex"7B",m_w#,x_h#,0) ; "The en-dash (--)" ;
157 pickup unipensqu ;
158 lft z1 = (0,h/2) ; rt z2 = (w,h/2) ; draw z1--z2 ;
159 penlabels(1,2) ;
160 endchar;
161
162 beginchar(hex"7C",M_w#,x_h#,0) ; "The em-dash (---)" ;
163 pickup unipensqu ;
164 lft z1 = (0,h/2) ; rt z2 = (w,h/2) ; draw z1--z2 ;
165 penlabels(1,2) ;
166 endchar;
167
168 \endinput
169 %%
170 %% End of file `unipun.mf'.