| 1 |
.cmchar "The Fraktur numeral 1"; |
| 2 |
.beginchar("1",2.778u#,1.2x_height#,0); |
| 3 |
.adjust_fit(0.05alpha*w#+usual_left#,0.05alpha*w#+usual_right#); |
| 4 |
penpos2(w,0); z2=(0.5w,0); |
| 5 |
penpos1(stem,0); z1=(0.5w,foot); |
| 6 |
penpos3(hair,90); penpos4(hair,90); |
| 7 |
z3l=z2l; z4l=z2r; penpos5(stem,0); |
| 8 |
z5=(x1,0.79h); penpos6(hair,0); |
| 9 |
z6r=(x5r,h); penpos7(1.5hair,90); |
| 10 |
z7=(0,0.9h); |
| 11 |
filldraw z4l--z4r...z1r---z6r-- |
| 12 |
z6l..z7r{left}--z7l{right}... |
| 13 |
z5l---z1l...z3r--z2l--z4l & cycle; |
| 14 |
.endchar; |
| 15 |
|
| 16 |
.cmchar "The Fraktur numeral 2"; |
| 17 |
.beginchar("2",5.694u#,1.2x_height#,0); |
| 18 |
.adjust_fit(0.05alpha*w#+usual_left#,0.05alpha*w#+usual_right#); |
| 19 |
penpos1(0.625stem,-90); penpos2(stem,-90); |
| 20 |
penpos3(4/3stem,-115); |
| 21 |
z1r=(0,0); z2r=(0.722w,0.026h); |
| 22 |
x3l=w; y3r=-apex_o; |
| 23 |
penstroke z1e..z2e{right}..z3e; |
| 24 |
penpos4(0.917stem,20); |
| 25 |
z4r=(0.966w,0.721h); |
| 26 |
z5=(0.478w,0.848h); |
| 27 |
z6=(0.244w,h+apex_o); |
| 28 |
z7=(0.093w,0.822h); |
| 29 |
penpos8(hair,13); z8=(0.146w,3/4h); |
| 30 |
penstroke z1e{dir44}..z4e{up}; |
| 31 |
filldraw z8r..z5{right}..z4l{down} |
| 32 |
--z4r{up}..z6{dir173} & z6--z7--z8l--z8r & |
| 33 |
cycle; |
| 34 |
.endchar; |
| 35 |
|
| 36 |
.cmchar "The Fraktur numeral 3"; |
| 37 |
.beginchar("3",5.5u#,1.2x_height#,0); |
| 38 |
.adjust_fit(0.05alpha*w#+usual_left#,0.05alpha*w#+usual_right#); |
| 39 |
penpos1(1.5hair,-90); penpos2(stem,18); |
| 40 |
penpos3(1.833stem,35); |
| 41 |
penpos4(hair,-90); penpos5(0.625stem,0); |
| 42 |
z1r=(0,-apex_o); z2=(0.788w,0.353h); |
| 43 |
z4r=(0.167w,0.489h); z5r=(w,h); |
| 44 |
z3l=z4r; |
| 45 |
penstroke z1e{dir12}..z2e{up}..z3e{left}; |
| 46 |
penstroke z4e{dir30}..z5e{up}; |
| 47 |
penpos7(0.917stem,-90); |
| 48 |
penpos8(0.417stem,-17); |
| 49 |
penpos9(hair,0); |
| 50 |
z8l=(0,0.796h); z9l-z8l=whatever*dir73; |
| 51 |
y9=h+apex_o; z7l=(0.273w,h-apex_o); |
| 52 |
z6=(z4l{dir30}..z5l{up}) intersectionpoint |
| 53 |
((0,y7r+apex_o)--(w,y7r+apex_o)); |
| 54 |
filldraw z8l--z9l--z9r..z7l{right}... |
| 55 |
z5l---z5r--z6..z7r{left}..z8r{z8l-z9l} |
| 56 |
--z8l & cycle; |
| 57 |
.endchar; |
| 58 |
|
| 59 |
.cmchar "The Fraktur numeral 4"; |
| 60 |
.beginchar("4",7.361u#,1.2x_height#,0); |
| 61 |
.adjust_fit(0.05alpha*w#+usual_left#,0.05alpha*w#+usual_right#); |
| 62 |
penpos1(stem,0); penpos2(stem,0); |
| 63 |
z1=(0.619w,foot); z2=(x1,0.831h); |
| 64 |
z3=(x1,h); z4=(0,0.444h); |
| 65 |
penpos6(0.521stem,90); z6=(0.796w,0.45h); |
| 66 |
y5=y6l; (x2r,h)-z5=whatever*dir50; |
| 67 |
z4'=(1/45w,y6r); z3'-z4'=whatever*dir50; |
| 68 |
x3'=x2l; penpos9(hair,90); |
| 69 |
penpos10(hair,-90); z9l=(x1-stem,0); |
| 70 |
z10r=(x1+stem,0); |
| 71 |
z8=(w,0.521h); z7=(0.921w,0.376h); |
| 72 |
filldraw z9l--z9r...z1l---z2l-- |
| 73 |
z2r---z1r...z10l--z10r--z9l & cycle; |
| 74 |
z3''=whatever[z5,(x2r,h)]; x3''=x2l; |
| 75 |
filldraw z2l--z3''--z5--z4'---z3'... |
| 76 |
z3{right}..{down}z2r--z2l & cycle; |
| 77 |
filldraw z6l---z5...z4{up}..z4'{z3'-z4'} |
| 78 |
& z4'---z6r...z8{right}--z7.. |
| 79 |
z6l{left} & cycle; |
| 80 |
.endchar; |
| 81 |
|
| 82 |
.cmchar "The Fraktur numeral 5"; |
| 83 |
.beginchar("5",5.528u#,1.2x_height#,0); |
| 84 |
.adjust_fit(0.05alpha*w#+usual_left#,0.05alpha*w#+usual_right#); |
| 85 |
penpos1(0.458stem,-60); penpos2(1.125stem,25); |
| 86 |
penpos3(1.125stem,65); penpos4(1.167stem,53); |
| 87 |
penpos5(1.5hair,-25); penpos6(0.958stem,-77); |
| 88 |
z1=(0.221w,-apex_o); z2=(0.729w,0.417h); |
| 89 |
z3=(0.462w,0.578h); z4l=(0,0.618h); |
| 90 |
z5=(0.161w,0.814h); z6l=(0.349w,h); |
| 91 |
z7=(0.673w,0.98h); z8=(w,h); |
| 92 |
z9=(0.851w,0.828h); |
| 93 |
penstroke z1e{dir30}..z2e{up}.. |
| 94 |
z3e{dir169}..z4e{up}..z5e{dir65}..z6e{right}; |
| 95 |
filldraw z6l{right}..z7..z8 & z8--z9 & |
| 96 |
z9..{left}z6r--z6l & cycle; |
| 97 |
.endchar; |
| 98 |
|
| 99 |
.cmchar "The Fraktur numeral 6"; |
| 100 |
.beginchar("6",6.056u#,1.2x_height#,0); |
| 101 |
.adjust_fit(0.05alpha*w#+usual_left#,0.05alpha*w#+usual_right#); |
| 102 |
penpos1(1.4hair,-42); penpos2(1.208stem,40); |
| 103 |
penpos3(1.125stem,54); penpos4(1.2hair,-36); |
| 104 |
penpos5(stem,30); penpos7(hair,-45); |
| 105 |
z1l=(0.716w,h+apex_o); z2l=(0,0.342h); |
| 106 |
z3l=(0.674w,-apex_o); |
| 107 |
penstroke z3e..z2e{up}..z1e{dir48}; |
| 108 |
z4r=z3; z5r=(w,0.362h); z6=(0.573w,0.753h); |
| 109 |
z6-z7l=whatever*dir45; y7l=0.555h; |
| 110 |
z8=(0.477w,0.566h); |
| 111 |
filldraw z4r---z3r...z5r{up}..z6{dir135} |
| 112 |
--z7l--z7r{z6-z7l}..z8{right}..z5l{down} |
| 113 |
..z4l{z3l-z3r}--z4r & cycle; |
| 114 |
.endchar; |
| 115 |
|
| 116 |
.cmchar "The Fraktur numeral 7"; |
| 117 |
.beginchar("7",5.906u#,1.2x_height#,0); |
| 118 |
.adjust_fit(0.05alpha*w#+usual_left#,0.05alpha*w#+usual_right#); |
| 119 |
penpos1(1.417stem,0); z1=(0.466w,0); |
| 120 |
penpos2(hair,-57); y2l=h; x2r=w; |
| 121 |
penstroke z1e{up}..z2e{dir64}; |
| 122 |
penpos3(hair,-20); penpos5(stem,-90); |
| 123 |
z3l=(0,0.776h); z5l=(0.24w,h); |
| 124 |
z4-z3l=whatever*dir70; y4=h+apex_o; |
| 125 |
z6=(z5r--(w,y5r)) intersectionpoint |
| 126 |
(z1{up}..z2{dir64}); |
| 127 |
filldraw z3r{z4-z3l}...z5r---z6-- |
| 128 |
z2--z2l---z5l...z4 & z4--z3l--z3r & |
| 129 |
cycle; |
| 130 |
.endchar; |
| 131 |
|
| 132 |
.cmchar "The Fraktur numeral 8"; |
| 133 |
.beginchar("8",6.722u#,1.2x_height#,0); |
| 134 |
.adjust_fit(0.05alpha*w#+usual_left#,0.05alpha*w#+usual_right#); |
| 135 |
penpos1(1.042stem,61.5); |
| 136 |
penpos2(hair,110); |
| 137 |
z1=z2=(0.5w,0.51h); |
| 138 |
penpos3(0.917stem,24); |
| 139 |
z3l=(0.083w,0.721h); |
| 140 |
penpos5(0.917stem,-204); |
| 141 |
z5l=(w-x3l,y3l); |
| 142 |
penpos4(hair,-90); z4l=(0.5w,h+apex_o); |
| 143 |
penpos6(stem,180); z6r=(0,0.245h); |
| 144 |
penpos7(2hair,-90); z7r=(0.5w,-apex_o); |
| 145 |
penpos8(stem,0); z8r=(w,y6); |
| 146 |
penstroke z1e{dir151.5}..z3e{up}.. |
| 147 |
z4e{right}..z5e{down}..z2e{dir200}.. |
| 148 |
z6e{down}..z7e{right}..z8e{up}.. |
| 149 |
z1e{dir151.5}; |
| 150 |
.endchar; |
| 151 |
|
| 152 |
.cmchar "The Fraktur numeral 9"; |
| 153 |
.beginchar("9",6.056u#,1.2x_height#,0); |
| 154 |
.adjust_fit(0.05alpha*w#+usual_left#,0.05alpha*w#+usual_right#); |
| 155 |
penpos1(1.4hair,-42); penpos2(1.208stem,40); |
| 156 |
penpos3(1.125stem,54); penpos4(1.2hair,-36); |
| 157 |
penpos5(stem,30); penpos7(hair,-45); |
| 158 |
z1l=(0.716w,h+apex_o); z2l=(0,0.342h); |
| 159 |
z3l=(0.674w,-apex_o); |
| 160 |
penstroke z3e..z2e{up}..z1e{dir48}; |
| 161 |
z4r=z3; z5r=(w,0.362h); z6=(0.573w,0.753h); |
| 162 |
z6-z7l=whatever*dir45; y7l=0.555h; |
| 163 |
z8=(0.477w,0.566h); |
| 164 |
filldraw z4r---z3r...z5r{up}..z6{dir135} |
| 165 |
--z7l--z7r{z6-z7l}..z8{right}..z5l{down} |
| 166 |
..z4l{z3l-z3r}--z4r & cycle; |
| 167 |
transform gurisma; |
| 168 |
gurisma=identity |
| 169 |
rotatedaround ((0.5w,0.5h),180); |
| 170 |
picture krufo; |
| 171 |
krufo:= currentpicture transformed |
| 172 |
gurisma; |
| 173 |
picture currentpicture; |
| 174 |
currentpicture=krufo; |
| 175 |
.endchar; |
| 176 |
|
| 177 |
.cmchar "The Fraktur numeral 0"; |
| 178 |
.beginchar("0",7.332u#,1.2x_height#,0); |
| 179 |
.adjust_fit(0.05alpha*w#+usual_left#,0.05alpha*w#+usual_right#); |
| 180 |
penpos1(1.059stem,-143); |
| 181 |
penpos2(stem,-140); |
| 182 |
penpos3(1.05stem,-136); |
| 183 |
penpos4(1.1stem,-142); |
| 184 |
penpos5(hair,128); |
| 185 |
penpos6(hair,127); |
| 186 |
z1l=(0.535w,h+apex_o); z4r=(w-x1l,-apex_o); |
| 187 |
z2l=(w,0.528h); x3r=0; y3=y2l+apex_o; |
| 188 |
z5l=z4; z6r=z1; |
| 189 |
penstroke z1e{dir-25}..z2e{down}.. |
| 190 |
z5e{z4r-z4l}; |
| 191 |
penstroke z6e{z1r-z1l}..z3e{down}.. |
| 192 |
z4e{dir-31}; |
| 193 |
.endchar; |
| 194 |
|