1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300
|
% Blackboard bold numerals, Alan Jeffrey, 12--18 Dec 1989.
% -------------------------------------------------------------------
bbnum ("0");
"The number 0";
% The curve.
var (path) zeropath;
zeropath
= oabove Top~Middle {left}
.. Horizon~Left {down}
.. obelow Bottom~Middle {right}
.. Horizon~Right {up}
.. cycle;
% The emphasis.
draw
fatcliptwice
(obelow rightof Bottom~Left -- oabove rightof Top~Left)
(zeropath);
% The curve.
draw zeropath;
endchar;
% -------------------------------------------------------------------
bbnum ("1");
fatsymmetric;
"The number 1";
% The top serif.
draw
rightof Top~Middle
-- (Top - CCurl)~Left;
% The vertical, clipped by the top serif.
draw
fatcliponce
(Bottom~Middle -- Top~Middle)
(rightof Top~Middle -- (Top - CCurl)~Left);
% The bottom serif.
draw
Bottom~Left
-- Bottom~Right
endchar;
% -------------------------------------------------------------------
bbnum ("2");
"The number 2";
% The outline.
var (path) twopath;
twopath
= (Top-CCurl)~Left
.. oabove Top~Middle {right}
.. (Top -+- threeBar)~Right {down}
.. Bottom~Left {down};
% The emphasis.
draw
fatcliptwice
(leftof Bottom~Right -- oabove leftof Top~Right)
(twopath);
% The curve.
draw twopath;
% The base line.
draw
Bottom~Left
-- Bottom~Right
endchar;
% -------------------------------------------------------------------
bbnum ("3");
"The number 3";
% The curve.
var (path) threepath;
threepath
= (Top - CCurl)~Left
.. oabove Top~Middle {right}
.. (Top -+- threeBar)~Right {down}
.. threeBar~Middle {left}
& threeBar~Middle {right}
.. (threeBar -+- Bottom)~Right {down}
.. obelow Bottom~Middle {left}
.. (Bottom + CCurl)~Left;
% The top emphasis.
draw
fatcliptwice
(leftof threeBar~Right -- oabove leftof Top~Right)
(threepath);
% The bottom emphasis.
draw
fatcliptwice
(obelow leftof Bottom~Right -- leftof threeBar~Right)
(threepath);
% The curve.
draw threepath
endchar;
% -------------------------------------------------------------------
bbnum ("4");
"The number 4";
% The right of the vertical is jut away from the right of the character.
var (numeric) verticalRight;
verticalRight + jut = Right;
% The bar.
draw
ABar~Left
-- ABar~Right;
% The vertical, fattened and clipped by the diagonal.
outline
fatcliponce
(leftof Bottom~verticalRight -- leftof Top~verticalRight)
(Top~verticalRight -- ABar~Left);
% The diagonal.
draw
Top~verticalRight
-- ABar~Left
endchar;
% -------------------------------------------------------------------
bbnum ("5");
"The number 5";
% The top horizontal.
draw
Top~Left
-- Top~Right;
% The vertical, fattened.
draw
fatten
rightof (Bottom + sixBowl)~Left
-- rightof Top~Left;
% The curve.
draw
(Bottom + sixBowl)~Left
--- (Bottom + sixBowl)~Middle
.. (Bottom + 1/2sixBowl)~Right {down}
.. obelow Bottom~Middle {left}
.. (Bottom + CCurl)~Left
endchar;
% -------------------------------------------------------------------
bbnum ("6");
"The number 6";
% The bowl.
var (path) sixpath;
sixpath
= (Bottom + 1/2sixBowl)~Right {up}
.. (Bottom + sixBowl)~Middle {left}
.. (Bottom + 1/2sixBowl)~Left {down}
.. obelow Bottom~Middle {right}
.. cycle;
% The tail.
draw
(Bottom + 1/2sixBowl)~Left
--- (Bottom + sixBowl)~Left
.. oabove Top~Middle {right}
.. (Top - CCurl)~Right;
% The emphasis.
draw
fatcliptwice
(obelow rightof Bottom~Left -- rightof (Bottom + sixBowl)~Left)
(sixpath);
% The bowl.
draw sixpath
endchar;
% -------------------------------------------------------------------
bbnum ("7");
"The number 7";
% The vertical.
draw
Top~Left
-- Top~Right;
% The diagonal.
draw
fatten
rightof Bottom~Left
-- leftof Top~Right
endchar;
% -------------------------------------------------------------------
bbnum ("8");
"The number 8";
% The bowls.
var (path) eighttop, eightbottom;
eighttop
= oabove Top~Middle {left}
.. (Top -+- threeBar)~Left {down}
.. threeBar~Middle {right}
.. (threeBar -+- Top)~Right {up}
.. cycle;
eightbottom
= threeBar~Middle {left}
.. (threeBar -+- Bottom)~Left {down}
.. obelow Bottom~Middle {right}
.. (Bottom -+- threeBar)~Right {up}
.. cycle;
% The top emphasis.
draw
fatcliptwice
(obelow rightof Bottom~Left -- oabove rightof Top~Left)
(eighttop);
% The bottom emphasis.
draw
fatcliptwice
(obelow rightof Bottom~Left -- oabove rightof Top~Left)
(eightbottom);
% The top bowl.
draw eighttop;
% The bottom bowl.
draw eightbottom
endchar;
% -------------------------------------------------------------------
bbnum ("9");
"The number 9";
% The bowl.
var (path) ninepath;
ninepath
= (Top - sixBowl)~Middle {left}
.. (Top - 1/2sixBowl)~Left {up}
.. oabove Top~Middle {right}
.. (Top - 1/2sixBowl)~Right {down}
.. cycle;
% The tail.
draw
(Top - 1/2sixBowl)~Right
--- (Top - sixBowl)~Right
.. obelow Bottom~Middle {left}
.. (Bottom + CCurl)~Left;
% The emphasis.
draw
fatcliptwice
(oabove rightof Top~Left -- rightof (Top - sixBowl)~Left)
(ninepath);
% The bowl.
draw ninepath
endchar;
% -------------------------------------------------------------------
|