| 1 |
%% |
| 2 |
%% This is file `unilow.mf', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% universa.dtx (with options: `low') |
| 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 |
if not caps : |
| 21 |
|
| 22 |
beginchar("a",x_w#,x_h#,0); "The letter a"; |
| 23 |
uniarc(w/2,p_t,(w/2,h/2),0,290,10); |
| 24 |
pickup unipensqu ; |
| 25 |
z1 = ((cosd(290)*(w-p_t)+w)/2,(sind(290)*(w-p_t)+w)/2); |
| 26 |
z2 = (w-p_t/2,2h/5) ; penpos1(p_t,-70); penpos2(p_t,-45); |
| 27 |
fill z1l{dir(20)}..z2l{dir(45)}-- |
| 28 |
z2r{dir(225)}..z1r{dir(200)}--cycle; |
| 29 |
top rt z3 = (w,.5h) ; bot rt z4 = (w,0) ; draw z3{down}--z4 ; |
| 30 |
penlabels(1,2,3,4); |
| 31 |
a_pic := currentpicture ; |
| 32 |
endchar; |
| 33 |
|
| 34 |
beginchar("b",x_w#,l_h#,0); "The letter b"; |
| 35 |
unicir(w/2,p_t,(w/2,w/2),10); |
| 36 |
pickup unipensqu ; |
| 37 |
lft bot z1 = (0,w/2) ; lft top z2 = (0,h) ; draw z1{up}--z2 ; |
| 38 |
penlabels(1,2); |
| 39 |
endchar; |
| 40 |
|
| 41 |
beginchar("c",x_w#*(1+cosd(30))/2,x_h#,0); "The letter c"; |
| 42 |
uniarc(h/2,p_t,(h/2,h/2),30,330,10); |
| 43 |
endchar; |
| 44 |
|
| 45 |
beginchar("d",x_w#,l_h#,0); "The letter d"; |
| 46 |
unicir(w/2,p_t,(w/2,w/2),10); |
| 47 |
pickup unipensqu ; |
| 48 |
rt bot z1 = (w,w/2) ; rt top z2 = (w,h) ; draw z1{up}--z2 ; |
| 49 |
penlabels(1,2); |
| 50 |
endchar; |
| 51 |
|
| 52 |
beginchar("e",x_w#,x_h#,0); "The letter e"; |
| 53 |
uniarc(w/2,p_t,(w/2,h/2),0,330,10); |
| 54 |
temp := p_t/2 ; |
| 55 |
pickup pensquare xscaled p_t yscaled temp slanted slantratio ; |
| 56 |
top rt z1 = (w,h/2) ; drawdot z1 ; |
| 57 |
pickup unipensqu ; |
| 58 |
z2 = (p_t,h/2) ; z3 = (w-p_t,h/2) ; draw z2--z3 ; |
| 59 |
penlabels(1,2,3); |
| 60 |
e_pic := currentpicture ; |
| 61 |
endchar; |
| 62 |
|
| 63 |
beginchar("f",4p_t#,l_h#,0); "The letter f"; |
| 64 |
uniarc(3/4w,p_t,(3/4w,h-3/4w),90,180,10); |
| 65 |
pickup unipensqu ; |
| 66 |
top rt z1 = (w,h) ; drawdot z1 ; |
| 67 |
lft top z2 = (0,h-3/4w) ; bot lft z3 = (0,0) ; draw z2--z3 ; |
| 68 |
top lft z4 = (0,x_h) ; top rt z5 = (w,x_h) ; draw z4--z5 ; |
| 69 |
penlabels(1,2,3,4,5); |
| 70 |
endchar; |
| 71 |
|
| 72 |
beginchar("g",x_w#,x_h#,p_d#); "The letter g" ; |
| 73 |
uniarc(w/2,p_t,(w/2,h/2),30,360,10) ; |
| 74 |
pickup unipensqu ; |
| 75 |
top rt z1 = (w,h/2) ; bot rt z2 = (w,-d) ; draw z1--z2; |
| 76 |
penlabels(1,2); |
| 77 |
endchar; |
| 78 |
|
| 79 |
beginchar("h",x_w#,l_h#,0); "The letter h" ; |
| 80 |
uniarc(w/2,p_t,(w/2,w/2),0,180,10) ; |
| 81 |
pickup unipensqu ; |
| 82 |
top lft z1 = (0,h) ; bot lft z2 = (0,0) ; draw z1--z2 ; |
| 83 |
top rt z3 = (w,x_h-w/2) ; bot rt z4 = (w,0) ; draw z3--z4 ; |
| 84 |
penlabels(1,2,3,4) ; |
| 85 |
endchar; |
| 86 |
|
| 87 |
beginchar("i",p_t#,l_h#,0) ; "The letter i" ; |
| 88 |
pickup unipensqu ; |
| 89 |
top lft z1 = (0,x_h) ; bot lft z2 = (0,0) ; draw z1--z2 ; |
| 90 |
pickup unipencir ; |
| 91 |
top lft z3 = (0,h) ; drawdot z3 ; |
| 92 |
penlabels(1,2,3) ; |
| 93 |
endchar; |
| 94 |
|
| 95 |
beginchar("j",p_t#,l_h#,p_d#); "The letter j" ; |
| 96 |
pickup unipensqu ; |
| 97 |
top lft z1 = (0,x_h) ; bot lft z2 = (0,-d) ; draw z1--z2 ; |
| 98 |
pickup unipencir ; |
| 99 |
top lft z3 = (0,h) ; drawdot z3 ; |
| 100 |
penlabels(1,2,3) ; |
| 101 |
endchar; |
| 102 |
|
| 103 |
beginchar("k",(x_h#+3p_t#)/2,x_h#,0) ; "The letter k" ; |
| 104 |
uniarc((h+p_t)/2,p_t,(p_t,h),270,360,10) ; |
| 105 |
uniarc((h+p_t)/2,p_t,(p_t,0),0,90,20) ; |
| 106 |
pickup unipensqu ; |
| 107 |
top lft z1 = (0,h) ; bot lft z2 = (0,0) ; draw z1--z2 ; |
| 108 |
penlabels(1,2); |
| 109 |
endchar; |
| 110 |
|
| 111 |
beginchar("l",p_t#,l_h#,0) ; "The letter l" ; |
| 112 |
pickup unipensqu ; |
| 113 |
top lft z1 = (0,h) ; bot lft z2 = (0,0) ; draw z1--z2; |
| 114 |
penlabels(1,2); |
| 115 |
endchar; |
| 116 |
|
| 117 |
beginchar("m",m_w#,x_h#,0) ; "The letter m" ; |
| 118 |
temp := .25*(w+p_t); |
| 119 |
uniarc(temp,p_t,(temp,h-temp),0,180,10) ; |
| 120 |
uniarc(temp,p_t,(w-temp,h-temp),0,180,20) ; |
| 121 |
pickup unipensqu ; |
| 122 |
top lft z1 = (0,h-temp) ; bot lft z2 = (0,0) ; draw z1--z2 ; |
| 123 |
top z3 = (w/2,h-temp) ; bot z4 = (w/2,0) ; draw z3--z4 ; |
| 124 |
top rt z5 = (w,h-temp) ; bot rt z6 = (w,0) ; draw z5--z6 ; |
| 125 |
penlabels(1,2,3,4,5,6); |
| 126 |
endchar; |
| 127 |
|
| 128 |
beginchar("n",x_w#,x_h#,0); "The letter n" ; |
| 129 |
uniarc(w/2,p_t,(w/2,h-w/2),0,180,10) ; |
| 130 |
pickup unipensqu ; |
| 131 |
top lft z1 = (0,h-w/2) ; bot lft z2 = (0,0) ; draw z1--z2 ; |
| 132 |
top rt z3 = (w,h-w/2) ; bot rt z4 = (w,0) ; draw z3--z4 ; |
| 133 |
penlabels(1,2,3,4) ; |
| 134 |
endchar; |
| 135 |
|
| 136 |
beginchar("o",x_w#,x_h#,0) ; "The letter o"; |
| 137 |
unicir(w/2,p_t,(w/2,h/2),10); |
| 138 |
endchar; |
| 139 |
|
| 140 |
beginchar("p",x_w#,x_h#,p_d#) ; "The letter p" ; |
| 141 |
unicir(w/2,p_t,(w/2,w/2),10); |
| 142 |
pickup unipensqu ; |
| 143 |
lft top z1 = (0,h/2) ; lft bot z2 = (0,-d) ; draw z1--z2 ; |
| 144 |
penlabels(1,2); |
| 145 |
endchar; |
| 146 |
|
| 147 |
beginchar("q",x_w#,x_h#,p_d#) ; "The letter q" ; |
| 148 |
unicir(w/2,p_t,(w/2,w/2),10); |
| 149 |
pickup unipensqu ; |
| 150 |
rt top z1 = (w,h/2) ; rt bot z2 = (w,-d) ; draw z1--z2 ; |
| 151 |
penlabels(1,2); |
| 152 |
endchar; |
| 153 |
|
| 154 |
beginchar("r",3p_t#,x_h#,0) ; "The letter r" ; |
| 155 |
uniarc(w,p_t,(w,h-w),90,180,10) ; |
| 156 |
pickup unipensqu ; |
| 157 |
top lft z1 = (0,h-w) ; bot lft z2 = (0,0) ; draw z1--z2; |
| 158 |
penlabels(1,2); |
| 159 |
endchar; |
| 160 |
|
| 161 |
beginchar("s",x_w#,x_h#,0) ; "The letter s" ; |
| 162 |
temp := (h+p_t)/4 ; |
| 163 |
uniarc(temp,p_t,(temp,temp),180,270,10) ; |
| 164 |
uniarc(temp,p_t,(w-temp,temp),270,450,20) ; |
| 165 |
uniarc(temp,p_t,(temp,h-temp),90,270,30) ; |
| 166 |
uniarc(temp,p_t,(w-temp,h-temp),0,90,40) ; |
| 167 |
pickup unipensqu ; |
| 168 |
bot lft z1 = (temp,0) ; bot rt z2 = (w-temp,0) ; draw z1--z2 ; |
| 169 |
lft z3 = (temp,h/2) ; rt z4 = (w-temp,h/2) ; draw z3--z4 ; |
| 170 |
top lft z5 = (temp,h) ; top rt z6 = (w-temp,h) ; draw z5--z6 ; |
| 171 |
penlabels(1,2,3,4,5,6) ; |
| 172 |
endchar; |
| 173 |
|
| 174 |
beginchar("t",p_t#+2c_d#,l_h#,0); "The letter t" ; |
| 175 |
pickup unipensqu ; |
| 176 |
top z1 = (w/2,h) ; bot z2 = (w/2,0) ; draw z1--z2 ; |
| 177 |
top lft z3 = (0,x_h) ; top rt z4 = (w,x_h) ; draw z3--z4 ; |
| 178 |
penlabels(1,2,3,4); |
| 179 |
endchar; |
| 180 |
|
| 181 |
beginchar("u",x_w#,x_h#,0); "The letter u" ; |
| 182 |
uniarc(w/2,p_t,(w/2,w/2),180,360,10) ; |
| 183 |
pickup unipensqu ; |
| 184 |
top lft z1 = (0,h) ; bot lft z2 = (0,w/2) ; draw z1--z2 ; |
| 185 |
top rt z3 = (w,h) ; bot rt z4 = (w,w/2) ; draw z3--z4 ; |
| 186 |
penlabels(1,2,3,4) ; |
| 187 |
endchar; |
| 188 |
|
| 189 |
beginchar("v",x_w#,x_h#,0); "The letter v" ; |
| 190 |
unilne(p_t,(0,h),(w/2,p_t),1,1,10); |
| 191 |
unilne(p_t,(w/2,p_t),(w,h),1,1,20); |
| 192 |
uniarc(p_t,p_t,(w/2,p_t),180,360,30); |
| 193 |
endchar; |
| 194 |
|
| 195 |
beginchar("w",m_w#,x_h#,0) ; "The letter w" ; |
| 196 |
temp := .25*(w+p_t); |
| 197 |
uniarc(temp,p_t,(temp,temp),180,360,10) ; |
| 198 |
uniarc(temp,p_t,(w-temp,temp),180,360,20) ; |
| 199 |
pickup unipensqu ; |
| 200 |
top lft z1 = (0,h) ; bot lft z2 = (0,temp) ; draw z1--z2 ; |
| 201 |
top z3 = (w/2,h) ; bot z4 = (w/2,temp) ; draw z3--z4 ; |
| 202 |
top rt z5 = (w,h) ; bot rt z6 = (w,temp) ; draw z5--z6 ; |
| 203 |
penlabels(1,2,3,4,5,6); |
| 204 |
endchar; |
| 205 |
|
| 206 |
beginchar("x",x_w#,x_h#,0) ; "The letter x" ; |
| 207 |
uniarc(h/2,p_t,(p_t/2,h/2),270,90,10); |
| 208 |
uniarc(h/2,p_t,(w-p_t/2,h/2),90,270,20); |
| 209 |
temp := (w-h+p_t)/2 ; |
| 210 |
pickup pensquare xscaled temp yscaled p_t slanted slantratio ; |
| 211 |
lft top z1 = (0,h) ; drawdot z1 ; |
| 212 |
lft bot z2 = (0,0) ; drawdot z2 ; |
| 213 |
rt top z3 = (w,h) ; drawdot z3 ; |
| 214 |
rt bot z4 = (w,0) ; drawdot z4 ; |
| 215 |
penlabels(1,2,3,4); |
| 216 |
endchar; |
| 217 |
|
| 218 |
beginchar("y",x_w#,x_h#,p_d#); "The letter y" ; |
| 219 |
uniarc(w/2,p_t,(w/2,w/2),180,360,10) ; |
| 220 |
pickup unipensqu ; |
| 221 |
top lft z1 = (0,h) ; bot lft z2 = (0,w/2); draw z1--z2 ; |
| 222 |
top rt z3 = (w,h) ; bot rt z4 = (w,-d) ; draw z3--z4 ; |
| 223 |
penlabels(1,2,3,4) ; |
| 224 |
endchar; |
| 225 |
|
| 226 |
beginchar("z",x_w#,x_h#,0) ; "The letter z" ; |
| 227 |
pickup unipensqu ; |
| 228 |
top lft z1 = (0,h) ; top rt z2 = (w-p_t,h) ; draw z1--z2 ; |
| 229 |
bot lft z3 = (p_t,0) ; bot rt z4 = (w,0) ; draw z3--z4 ; |
| 230 |
phi := angle((w,h-p_t)-(0,p_t)) ; % Uuuuupps !?!!!!!! |
| 231 |
z5 = (p_t,p_t) ; z6 = z5 + p_t*(-sind(phi),cosd(phi)) ; |
| 232 |
z7 = (w-p_t,h-p_t) ; z8 = z7 + p_t*(sind(phi),-cosd(phi)) ; |
| 233 |
uniend(p_t,z5,90+phi,270,10); |
| 234 |
uniend(p_t,z7,-90+phi,90,20); |
| 235 |
fill z5--z6--z7--z8--cycle ; |
| 236 |
penlabels(range 1 thru 8); |
| 237 |
endchar; |
| 238 |
|
| 239 |
else : |
| 240 |
do_caps(ASCII"a" - ASCII"A") ; |
| 241 |
input uniupp ; |
| 242 |
end_do_caps ; |
| 243 |
fi ; |
| 244 |
|
| 245 |
\endinput |
| 246 |
%% |
| 247 |
%% End of file `unilow.mf'. |