| 1 |
.cmchar "The gothic numeral 1"; |
| 2 |
.beginchar("1",4.591u#,1.242x_height#,0); |
| 3 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 4 |
penpos1(cap_stem,0); penpos2(cap_stem,0); |
| 5 |
x1=x2=0.68w; y1=0.211h; y2=0.827h; |
| 6 |
y6=y1; x6=x1r+0.235cap_stem; |
| 7 |
penpos5(hair,-45); y5=0; x5=0.08w; |
| 8 |
penpos4(cap_hair,-26); y4=h; x4r=x1r; |
| 9 |
penpos3(hair,-72); x3=0; y3=0.704h; |
| 10 |
penpos7(cap_stem,0); x7=x1; y7=0.289h; |
| 11 |
z8=(z3{dir18}..{dir64}z4) intersectionpoint |
| 12 |
(z7l--(x7l,h)); |
| 13 |
penstroke z3e{dir18}..{dir64}z4e; |
| 14 |
filldraw z1l--z8..z4--z4r--z1r--z1l & |
| 15 |
cycle; |
| 16 |
filldraw z5l{z1-z5}..z7l{up} & z7l--z7r & |
| 17 |
z7r{down}..z6 & z6{left}..{z5-z1}z5r & |
| 18 |
z5r--z5l & cycle; |
| 19 |
.endchar; |
| 20 |
|
| 21 |
.cmchar "The gothic numeral 2"; |
| 22 |
.beginchar("2",7.591u#,1.242x_height#,0); |
| 23 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 24 |
penpos1(hair,25); z1=(0.171w,0.514h); |
| 25 |
z1'=(0.293w,0.88h); z2=(0.624w,h+apex_o); |
| 26 |
penpos4(cap_stem,180); z4r=(0.673w,0.676h); |
| 27 |
penpos5(cap_hair,-32); penpos6(hair,-15); |
| 28 |
z7=(0.38w,0.077h); z3=(0.424w,0.82h); |
| 29 |
z8=(0.624w,0.225h); z6=(0,0); |
| 30 |
z5=(0.229w,0.225h); |
| 31 |
penpos9(1.15cap_stem,-128); |
| 32 |
x9l=w; y9r=-apex_o; |
| 33 |
filldraw z6l{dir75}..z5l..z4r{up}..z3{left} |
| 34 |
..z1r{dir-65} & z1r--z1l & |
| 35 |
z1l{dir115}...z1'---z2 & z2{dir-40}.. |
| 36 |
z4l{down}..z5r..z6r{dir-105} & z6r--z6l & |
| 37 |
cycle; |
| 38 |
filldraw z6l{dir75}..z8{right}..z9l & |
| 39 |
z9l--z9r & z9r..z7{left}..z6r{dir-105} & |
| 40 |
z6r--z6l & cycle; |
| 41 |
.endchar; |
| 42 |
|
| 43 |
.cmchar "The gothic numeral 3"; |
| 44 |
.beginchar("3",7.517u#,1.242x_height#,0); |
| 45 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 46 |
penpos1(hair,0); z1=(0.177w,0.729h); |
| 47 |
z1'=(0.281w,0.9h); z2=(0.645w,h+apex_o); |
| 48 |
penpos3(1.15cap_stem,-164); |
| 49 |
z3=(0.837w,0.676h); penpos4(cap_hair,-90); |
| 50 |
z4=(0.232w,0.521h); z5=(w-1.13cap_stem,0.232h); |
| 51 |
z6=(w,0.303h); penpos7(cap_hair,90); |
| 52 |
z7l=(0.448w,-apex_o); z8=(0,0.134h); |
| 53 |
penpos10(hair,-45); x10l=x1; |
| 54 |
z10l-z8=whatever*dir57; |
| 55 |
filldraw z1l{up}...z1'---z2 & |
| 56 |
z2..{dir-74}z3l & z3l..{left}z4r & |
| 57 |
z4r--z4l & z4l{right}..z3r & |
| 58 |
z3r{dir106}..z1r{down} & z1r--z1l & cycle; |
| 59 |
filldraw z4l{right}..z6{down}..z7l..z8 |
| 60 |
& z8--z10l--z10r & z10r{dir-95}..z7r.. |
| 61 |
z5{up}..z4r{left} & z4r--z4l & cycle; |
| 62 |
.endchar; |
| 63 |
|
| 64 |
.cmchar "The gothic numeral 4"; |
| 65 |
.beginchar("4",8.813u#,1.242x_height#,0); |
| 66 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 67 |
penpos1(hair,-47); z2=(0,0.345h); |
| 68 |
z1r-z2=whatever*dir47; y1r=h; |
| 69 |
z2'-z1l=whatever*(z2-z1r); x2'=x2; |
| 70 |
penpos4(stem,-90); x4=.5[x1r,w]; y4r=y2; |
| 71 |
z3=whatever[z2,z1r]; y3=y4l; |
| 72 |
penpos7(cap_stem,0); x7r=x1r; |
| 73 |
y7=0.197h; z6=whatever[z2,z1r]; |
| 74 |
x6=x7l; penpos5(hair,-30); |
| 75 |
x5r=w; z5r-z4r=whatever*dir55; |
| 76 |
penpos8(cap_hair,-90); |
| 77 |
z8=(0.273w,0); z9=(x8+1/3cap_stem,y8r); |
| 78 |
penpos10(cap_hair,-90); z10=(0.782w,0.077h); |
| 79 |
filldraw z2'--z1l--z1r---z7r...z10l & |
| 80 |
z10l--z10r & z10r{left}...z9---z8r & |
| 81 |
z8r--z8l{right}..z7l{up}--z6--z2--z2' & |
| 82 |
cycle; |
| 83 |
filldraw z2--z3---z4l...z5l{z5-z4r} & |
| 84 |
z5l--z5r--z4r--z2 & cycle; |
| 85 |
.endchar; |
| 86 |
|
| 87 |
.cmchar "The gothic numeral 5"; |
| 88 |
.beginchar("5",7.332u#,1.242x_height#,0); |
| 89 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 90 |
penpos1(hair,-68); penpos2(1.17cap_stem,62); |
| 91 |
z1=(w,h); z1r=z2r; |
| 92 |
penpos5(1.5cap_hair,-10); z5l=(0.354w,h+apex_o); |
| 93 |
penpos6(hair,-34); |
| 94 |
z6=(0.0707w,0.458h); |
| 95 |
z2'-z5l=whatever*(z5r-z5l); |
| 96 |
z2'=whatever[z2l,z2r]; |
| 97 |
z4'-z2l=whatever*(z5-z2'); |
| 98 |
z4'=whatever[z6r,z5r]; |
| 99 |
penpos7(cap_stem,-90); z7=(0.439w,0.637h); |
| 100 |
z9=(w,0.394h); z8=(0.783w,0.285h); |
| 101 |
penpos10(1.5cap_hair,90); |
| 102 |
z10l=(x7,-apex_o); penpos11(1.06cap_stem,40); |
| 103 |
z11l=(-apex_o,0.183h); penpos12(hair,-50); |
| 104 |
z12l=z11r; |
| 105 |
z3=2/3[z5,z2']; |
| 106 |
penstroke z6e--z5e; filldraw z4'--z5r--- |
| 107 |
z3...z1l & z1l--z1r--z2l--z4' & cycle; |
| 108 |
filldraw z6r{dir56}..z7r..z8{down}..z10r |
| 109 |
{left}..z12r{up} & z12r--z11r--z11l & |
| 110 |
z11l..z10l{right}..z9{up}..z7l..z6l{dir-124} |
| 111 |
& z6l--z6r & cycle; |
| 112 |
.endchar; |
| 113 |
|
| 114 |
.cmchar "The gothic numeral 6"; |
| 115 |
.beginchar("6",7.332u#,1.242x_height#,0); |
| 116 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 117 |
penpos1(hair,90); z1=(0.889w,h); |
| 118 |
penpos2(1.059cap_stem,-153); |
| 119 |
z2r=(0,0.465h); penpos3(1.1cap_stem,-133); |
| 120 |
z3r=(0.535w,-apex_o); penpos4(cap_hair,-43); |
| 121 |
z4r=z3; penpos5(1.059cap_stem,35); |
| 122 |
z5r=(w,0.387h); |
| 123 |
z6=(0.394w,0.549h); z7=(0.586w,0.746h); |
| 124 |
penpos8(cap_hair,-50); |
| 125 |
z7-z8l=whatever*dir40; x8=x2; |
| 126 |
penstroke z1e{left}..z2e..z3e; |
| 127 |
filldraw z4r---z3l...z5r{up}..z7 & |
| 128 |
z7--z8l--z8r{z7-z8l}..z6{right}..z5l{down}.. |
| 129 |
z4l{z3r-z3l} & z4l--z4r & cycle; |
| 130 |
.endchar; |
| 131 |
|
| 132 |
.cmchar "The gothic numeral 7"; |
| 133 |
.beginchar("7",7.591u#,1.242x_height#,0); |
| 134 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 135 |
penpos4(1.765cap_stem,23); x4=0.39w; |
| 136 |
y4l=-hair; penpos5(hair,-45); z5r=(w,h); |
| 137 |
penpos1(cap_hair,-20); penpos2(cap_hair,-20); |
| 138 |
z1l=(0,0.729h); z2-z1=whatever*dir70; |
| 139 |
y2r=h; penpos3(1.078cap_stem,70); |
| 140 |
z3=whatever[z1,z2]; y3r=h; |
| 141 |
z6=(z3l--(w,y3l)) intersectionpoint |
| 142 |
(z4..z5{dir45}); |
| 143 |
z3'=0.284[z3l,z6]; |
| 144 |
filldraw z1r{z2-z1}..z3'{right} & |
| 145 |
z3'--z2r--z2l--z1l--z1r & cycle; |
| 146 |
filldraw z3l--z6..z5r--z3r--z3l & cycle; |
| 147 |
filldraw z4r{z3'-z4r}..z5r{dir45} & |
| 148 |
z5r--z5l & z5l{dir225}..z4l & z4l--z4r & |
| 149 |
cycle; |
| 150 |
.endchar; |
| 151 |
|
| 152 |
.cmchar "The gothic numeral 8"; |
| 153 |
.beginchar("8",7.332u#,1.242x_height#,0); |
| 154 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 155 |
penpos1(1.176cap_stem,-142); |
| 156 |
penpos2(0.824cap_stem,-147); |
| 157 |
penpos3(cap_hair,117); |
| 158 |
penpos4(0.824cap_stem,-151); |
| 159 |
penpos5(1.412cap_stem,-126); |
| 160 |
z1l=(0.465w,h+apex_o); z2l=(w-hair,0.796h); |
| 161 |
z3=(0.5w,0.531h); z4r=(0,0.248h); |
| 162 |
z5r=(2/3w,-apex_o); |
| 163 |
penstroke z1e{dir-10}.. |
| 164 |
z2e{down}..z3e{dir203}.. |
| 165 |
z4e{down}..z5e{right}; |
| 166 |
penpos6(cap_hair,-36); z6r=z5; |
| 167 |
penpos7(0.824cap_stem,41); x7r=w; y7l=y4; |
| 168 |
z8=z3; penpos8(cap_stem,75); |
| 169 |
penpos9(0.853cap_stem,45); |
| 170 |
x9l=hair; y9=y2r; penpos10(cap_hair,-52); |
| 171 |
z10l=z1r; z11=(z1r..z2r{down}) |
| 172 |
intersectionpoint ((x1l,0)--(x1l,h)); |
| 173 |
penstroke z6e{z5l-z5r}..z7e{up}..z8e{dir165} |
| 174 |
..z9e{up}..z10e{z1l-z1r}; |
| 175 |
filldraw z10r{z1l-z1r}..z11..z2r{down} & |
| 176 |
z2r--z2 & z2{up}..z1 & z1--z10l--z10r & |
| 177 |
cycle; .endchar; |
| 178 |
|
| 179 |
.cmchar "The gothic numeral 9"; |
| 180 |
.beginchar("9",7.332u#,1.242x_height#,0); |
| 181 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 182 |
penpos1(hair,90); z1=(0.889w,h); |
| 183 |
penpos2(1.059cap_stem,-153); |
| 184 |
z2r=(0,0.465h); penpos3(1.1cap_stem,-133); |
| 185 |
z3r=(0.535w,-apex_o); penpos4(cap_hair,-43); |
| 186 |
z4r=z3; penpos5(1.059cap_stem,35); |
| 187 |
z5r=(w,0.387h); |
| 188 |
z6=(0.394w,0.549h); z7=(0.586w,0.746h); |
| 189 |
penpos8(cap_hair,-50); |
| 190 |
z7-z8l=whatever*dir40; x8=x2; |
| 191 |
penstroke z1e{left}..z2e..z3e; |
| 192 |
filldraw z4r---z3l...z5r{up}..z7 & |
| 193 |
z7--z8l--z8r{z7-z8l}..z6{right}..z5l{down}.. |
| 194 |
z4l{z3r-z3l} & z4l--z4r & cycle; |
| 195 |
transform metatopish; |
| 196 |
metatopish=identity |
| 197 |
reflectedabout ((0,0.5h),(w,0.5h)); |
| 198 |
picture krufo; |
| 199 |
krufo:= currentpicture transformed |
| 200 |
metatopish; |
| 201 |
picture currentpicture; |
| 202 |
currentpicture=krufo; |
| 203 |
transform metatopish; |
| 204 |
metatopish=identity |
| 205 |
reflectedabout ((0.5w,0),(0.5w,h)); |
| 206 |
picture krufo; |
| 207 |
krufo:= currentpicture transformed |
| 208 |
metatopish; |
| 209 |
picture currentpicture; |
| 210 |
currentpicture=krufo; |
| 211 |
.endchar; |
| 212 |
|
| 213 |
.cmchar "The gothic numeral 0"; |
| 214 |
.beginchar("0",7.332u#,1.242x_height#,0); |
| 215 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 216 |
penpos1(1.059cap_stem,-143); |
| 217 |
penpos2(cap_stem,-140); |
| 218 |
penpos3(1.05cap_stem,-136); |
| 219 |
penpos4(1.1cap_stem,-142); |
| 220 |
penpos5(cap_hair,128); |
| 221 |
penpos6(cap_hair,127); |
| 222 |
z1l=(0.535w,h+apex_o); z4r=(w-x1l,-apex_o); |
| 223 |
z2l=(w,0.528h); x3r=0; y3=y2l+apex_o; |
| 224 |
z5l=z4; z6r=z1; |
| 225 |
penstroke z1e{dir-25}..z2e{down}.. |
| 226 |
z5e{z4r-z4l}; |
| 227 |
penstroke z6e{z1r-z1l}..z3e{down}.. |
| 228 |
z4e{dir-31}; |
| 229 |
.endchar; |