| 1 |
%% SEMAPHORE ALPHABET FONT, METAFONT driver file "semaf.mf" |
| 2 |
%% |
| 3 |
%% Font znaku semaforove abecedy, ridici soubor pro METAFONT. |
| 4 |
%% |
| 5 |
%% Copyright (C) 1998-2008 Vit ZYKA, [email protected] |
| 6 |
%% |
| 7 |
%% The SIL Open Font License (ofl) |
| 8 |
%% This font is copyright but you are granted a license which gives you, |
| 9 |
%% the "user" of the font, legal permission to copy, distribute, |
| 10 |
%% and/or modify the font. However, if you modify the font you must |
| 11 |
%% change the name of the font, unless you have the copyright holder's |
| 12 |
%% permission to do otherwise. |
| 13 |
%% |
| 14 |
%% Please check the font's license before using the software. |
| 15 |
%% http://scripts.sil.org/OFL |
| 16 |
%% |
| 17 |
%% 1998 1.0 metafont |
| 18 |
%% 2008 1.1 metatype1 (sources for Type1 and OpenType) |
| 19 |
%% |
| 20 |
|
| 21 |
% ------------------------------------------------------- fontdimen parameters |
| 22 |
pf_info_designsize 10pt; |
| 23 |
designsize:=8pt; |
| 24 |
pf_info_familyname "Semafor"; |
| 25 |
pf_info_author "Vit Zyka, OFL"; |
| 26 |
pf_info_version "2.0"; |
| 27 |
pf_info_space if proportional: 6u, 3u, 1.5u else: 10u, 0u, 0u fi; % base,stretch,shrink |
| 28 |
pf_info_xheight 10u; |
| 29 |
pf_info_quad if proportional: 12u else: 20u fi; |
| 30 |
pf_info_extra_space if proportional: 5u else: 10u fi; |
| 31 |
pf_info_capheight 10u; |
| 32 |
pf_info_ascender 10u; |
| 33 |
pf_info_descender 0u; |
| 34 |
%pf_info_fixedpitch ; |
| 35 |
%pf_info_stdvstem ; |
| 36 |
%pf_info_stdhstem ; |
| 37 |
%pf_info_forcebold ; |
| 38 |
pf_info_adl 10u, 0, 0; |
| 39 |
pf_info_overshoots (1000,10), (0, -10); |
| 40 |
pf_info_encoding "ec"; |
| 41 |
pf_info_underline -2u, .4u; |
| 42 |
%pf_info_overshoots (0, -o), (ht,o); |
| 43 |
pf_info_weight if series=1: "Normal" else: "Bold" fi; |
| 44 |
pf_info_pfm jobname, if series=1: 0 else: 1 fi, if slant=0: 0 else: 1 fi; |
| 45 |
pf_info_creationdate; |
| 46 |
|
| 47 |
u# := 1pt; % for kerning pairs !?! |
| 48 |
|
| 49 |
if false: |
| 50 |
font_identifier:="SEMAF"; |
| 51 |
font_coding_scheme:="TEX CS TEXT"; |
| 52 |
designsize := 10pt; %10u; |
| 53 |
font_slant:=slant; % fontdimen 1 |
| 54 |
font_height:=10u#; % 5 |
| 55 |
if proportional: |
| 56 |
font_normal_space:=8u#; % 2 |
| 57 |
font_normal_stretch:=4u#; % 3 |
| 58 |
font_normal_shrink:=2u#; % 4 |
| 59 |
font_extra_space:=5u#; % 7 |
| 60 |
font_quad:=16u#; % 6 |
| 61 |
else: |
| 62 |
font_normal_space:=10u#; % 2 |
| 63 |
font_normal_stretch:=0u#; % 3 |
| 64 |
font_normal_shrink:=0u#; % 4 |
| 65 |
font_extra_space:=10u#; % 7 |
| 66 |
font_quad:=20u#; % 6 |
| 67 |
fi; |
| 68 |
fi; |
| 69 |
|
| 70 |
% ----------------------------------------------------------------------- CODE |
| 71 |
L:=4.75u; % left width |
| 72 |
C:=1u; % center width |
| 73 |
R:=4.75u; % right width |
| 74 |
H:=10u; % character height |
| 75 |
HC:=H/2; % center height |
| 76 |
%% |width#|, |height#|, |WC#|, |HC#| (center width, height) |
| 77 |
%% is evaluated in macro |beginchar| |
| 78 |
%define_pixels(u,C); |
| 79 |
|
| 80 |
% ----------------------------------------------------------------------- BASE |
| 81 |
%def base_empty= |
| 82 |
% pickup pencircle scaled (series*1*u); |
| 83 |
% drawdot origin slanted slant; |
| 84 |
%enddef; |
| 85 |
def base_empty= |
| 86 |
default_nib := fix_nib( series*1*u, series*1*u, 0 ); |
| 87 |
pen_stroke() (origin--(0,1)) (Pa10); |
| 88 |
Center := Pa10 slanted slant; |
| 89 |
enddef; |
| 90 |
|
| 91 |
%def base_pillar= |
| 92 |
% pickup pencircle scaled (series*1*u); |
| 93 |
% drawdot origin slanted slant; |
| 94 |
% pickup pencircle scaled (series*.2*u); |
| 95 |
% draw (origin--(0,-HC)) slanted slant; |
| 96 |
% draw ((-C,-HC)--(C,-HC)) slanted slant; |
| 97 |
%enddef; |
| 98 |
def base_pillar= |
| 99 |
default_nib := fix_nib( series*1*u, series*1*u, 0 ); |
| 100 |
pen_stroke() (origin--(1,1)) (Pa10); |
| 101 |
default_nib := fix_nib( series*.2*u, series*.2*u, 0 ); |
| 102 |
pen_stroke() (origin--(0,-HC-1)) (Pa11); |
| 103 |
pen_stroke() ((-C,-HC)--(C,-HC)) (Pa12); |
| 104 |
find_outlines(Pa11,Pa12)(Res); |
| 105 |
Pa13 := Res1; |
| 106 |
find_outlines(Pa13,Pa10)(Res); |
| 107 |
Center := Res1 slanted slant; |
| 108 |
enddef; |
| 109 |
|
| 110 |
%def base_person= |
| 111 |
% pickup pencircle scaled (series*1.2*u); |
| 112 |
% drawdot (0,.4*HC) slanted slant; |
| 113 |
% pickup pencircle scaled (series*.2*u); |
| 114 |
% draw ((0,.4*HC)--(0,-.2*HC)) slanted slant; |
| 115 |
% draw ((-.7C,-HC)--(0,-.2*HC)--(.7C,-HC)) slanted slant; |
| 116 |
%enddef; |
| 117 |
if false: |
| 118 |
def base_person= |
| 119 |
default_nib := fix_nib( series*1.2u, series*1.2u, 0 ); |
| 120 |
%pen_stroke() ((0,.4*HC)--(1,.4*HC)) (Pa10); |
| 121 |
pen_stroke() ((0,.4*HC)--(0,(.4*HC+1))) (Pa10); |
| 122 |
default_nib := fix_nib( series*.2u, series*.2u, 0 ); |
| 123 |
pen_stroke() ((0,.4*HC)--(0,-.2*HC)) (Pa11); |
| 124 |
default_nib := fix_nib( series*.2u, series*.2u, 0 ); |
| 125 |
pen_stroke() ((-.7C,-HC)--(0,-.2*HC)--(.7C,-HC)) (Pa12); |
| 126 |
find_outlines(Pa11,Pa12)(Res); |
| 127 |
Pa13 := Res1; |
| 128 |
find_outlines(Pa13,Pa10)(Res); |
| 129 |
Center := Res1 slanted slant; |
| 130 |
pen_stroke() (origin--(0,-.2*HC)) (Pa19); |
| 131 |
Center := Pa19; |
| 132 |
enddef; |
| 133 |
fi; |
| 134 |
def base_person= |
| 135 |
default_nib := fix_nib( series*1.2u, series*1.2u, 0 ); |
| 136 |
pen_stroke() ((0,.4*HC)--(0,(.4*HC+1))) (Pa10); |
| 137 |
default_nib := fix_nib( series*.51u, series*.51u, 0 ); |
| 138 |
pen_stroke() ((0,.4*HC)--(0,-.3*HC)) (Pa11); |
| 139 |
default_nib := fix_nib( series*.3u, series*.3u, 0 ); |
| 140 |
pen_stroke() ((-.7C,-HC)--(0,-.2*HC)--(.7C,-HC)) (Pa12); |
| 141 |
find_outlines(Pa11,Pa12)(Res); |
| 142 |
Pa13 := Res1; |
| 143 |
find_outlines(Pa10,Pa13)(Res); |
| 144 |
Pa14 := Res1; |
| 145 |
Center := Pa14 slanted slant; |
| 146 |
enddef; |
| 147 |
|
| 148 |
% ---------------------------------------------------------------------- FLAG |
| 149 |
r:=if proportional: 4.5u else: 4.3u fi; % flag radius |
| 150 |
a:=1.5u; % flag width |
| 151 |
b:=1.8u; % flag height |
| 152 |
%def flag= |
| 153 |
% pickup pencircle scaled (series*.5*u); |
| 154 |
% draw (origin--(r,0)) withweight 2; |
| 155 |
% pickup pencircle scaled (series*.3*u); |
| 156 |
% unfill ((r,0)--(r-a,0)--(r-a,b)--cycle); |
| 157 |
% draw ((r-a,0)--(r-a,b)--(r,b)--(r,0)); |
| 158 |
% fill ((r,0)--(r-a,b)--(r,b)--cycle); |
| 159 |
%enddef; |
| 160 |
def flag(expr angel,reverse_direction)= |
| 161 |
FlagCount := FlagCount + 1; |
| 162 |
Pa1 := origin--(r,0); |
| 163 |
default_nib := fix_nib( series*.5*u, series*.5*u, 0 ); |
| 164 |
pen_stroke() (Pa1) (Pa2); |
| 165 |
Pa3 := (r-a,0)--(r-a,b)--(r,b)--(r,0); |
| 166 |
default_nib := fix_nib( series*.3*u, series*.3*u, 0 ); |
| 167 |
pen_stroke() (Pa3) (Pa4); |
| 168 |
find_outlines(Pa2,Pa4)(Res); |
| 169 |
Pa5 := Res1 transformed currenttransform; |
| 170 |
Pa6 := ((r,0)--(r-a,0)--(r-a,b)--cycle) transformed currenttransform; |
| 171 |
if reverse_direction: |
| 172 |
Pa5 := reverse Pa5; |
| 173 |
Pa6 := reverse Pa6; |
| 174 |
fi; |
| 175 |
FlagFill[FlagCount] := Pa5; |
| 176 |
FlagUnfill[FlagCount] := Pa6; |
| 177 |
enddef; |
| 178 |
def flagL(expr angel)= |
| 179 |
begingroup; |
| 180 |
save currenttransform; transform currenttransform; |
| 181 |
currenttransform:= identity rotated angel slanted slant; |
| 182 |
flag(angel,false); |
| 183 |
endgroup; |
| 184 |
enddef; |
| 185 |
def flagR(expr angel)= |
| 186 |
begingroup; |
| 187 |
save currenttransform; transform currenttransform; |
| 188 |
currenttransform:= identity reflectedabout ((0,0),(1,0)) |
| 189 |
rotated angel slanted slant; |
| 190 |
flag(angel,true); |
| 191 |
endgroup; |
| 192 |
enddef; |
| 193 |
|
| 194 |
uu:=0.95; % upper portion of |L#| (|R#|) |
| 195 |
bb:=0.8; % botton |
| 196 |
dd:=0.55; % character d |
| 197 |
|
| 198 |
def charA= |
| 199 |
if SL<(uu*L): SL:= bb*L fi; |
| 200 |
flagL(-135); |
| 201 |
enddef; |
| 202 |
|
| 203 |
def charB= |
| 204 |
SL:= L; |
| 205 |
flagL(180); |
| 206 |
enddef; |
| 207 |
|
| 208 |
def charC= |
| 209 |
if SL<L: SL:= uu*L fi; |
| 210 |
SH:= H; |
| 211 |
flagL(135); |
| 212 |
enddef; |
| 213 |
|
| 214 |
def charD= |
| 215 |
if SL<(bb*L): SL:= dd*L; fi; |
| 216 |
charic:= slant*HC; |
| 217 |
SH:= H; |
| 218 |
flagL(90); |
| 219 |
enddef; |
| 220 |
|
| 221 |
def charE= |
| 222 |
if SR<R: SR:= uu*R fi; |
| 223 |
SH:= H; |
| 224 |
if charic=0: charic:=.5*slant*HC fi; |
| 225 |
flagR(45); |
| 226 |
enddef; |
| 227 |
|
| 228 |
def charF= |
| 229 |
SR:= R; |
| 230 |
flagR(0); |
| 231 |
enddef; |
| 232 |
|
| 233 |
def charG= |
| 234 |
if SR<(uu*R): SR:= bb*R fi; |
| 235 |
flagR(-45); |
| 236 |
enddef; |
| 237 |
|
| 238 |
%def sipka(expr length, direct, point)= |
| 239 |
% begingroup |
| 240 |
% save x,y; |
| 241 |
% z1=origin; x2=x3=-length; -y2=y3=3/7length; |
| 242 |
% draw (z2..{dir 5}z1) rotated direct shifted point slanted slant; |
| 243 |
% draw (z3..{dir -5}z1) rotated direct shifted point slanted slant; |
| 244 |
% endgroup |
| 245 |
%enddef; |
| 246 |
def sipka(expr length, direct, point)= |
| 247 |
begingroup |
| 248 |
save x,y; |
| 249 |
z1=origin; x2=x3=-length; -y2=y3=3/7length; |
| 250 |
%draw (z2..{dir 5}z1) rotated direct shifted point slanted slant; |
| 251 |
%draw (z3..{dir -5}z1) rotated direct shifted point slanted slant; |
| 252 |
((z2..{dir 5}z1{dir 175}..z3) rotated direct shifted point) |
| 253 |
endgroup |
| 254 |
enddef; |
| 255 |
def sipkaL(expr length, direct, point)= |
| 256 |
begingroup |
| 257 |
save x,y; |
| 258 |
z1=origin; x2=x3=-length; -y2=y3=3/7length; |
| 259 |
((z3..{dir -5}z1) rotated direct shifted point) |
| 260 |
endgroup |
| 261 |
enddef; |
| 262 |
def sipkaR(expr length, direct, point)= |
| 263 |
begingroup |
| 264 |
save x,y; |
| 265 |
z1=origin; x2=x3=-length; -y2=y3=3/7length; |
| 266 |
((z2..{dir 5}z1) rotated direct shifted point) |
| 267 |
endgroup |
| 268 |
enddef; |
| 269 |
|
| 270 |
% ------------------------------------ extensions tokens into begin and end char |
| 271 |
extra_beginglyph:= |
| 272 |
%"width:=10u; height:=10u; WC:=5u; HC:=5u;" & |
| 273 |
"SL:= 0.75u; SR:= 0.75u; SH:= HC+(C/2);" & |
| 274 |
%"u=u#; HC=HC#; WC=WC#; C=C#;" & |
| 275 |
"path Pa[], Res[], Center, FlagFill[], FlagUnfill[];" & |
| 276 |
"numeric FlangCount;" & |
| 277 |
%"transform currenttransform;" & |
| 278 |
"scantokens center;"; |
| 279 |
%extra_endglyph:= |
| 280 |
% "if proportional:" & |
| 281 |
% "WC:= (C/2)+SL;" & |
| 282 |
% "charwd:= SL+C+SR; charht:= SH; chardp:= 0u;" & |
| 283 |
% "else:" & |
| 284 |
% "charwd:= L+(C/2)+R; WC:= charwd/2; charht:= SH; chardp:= 0u;" & |
| 285 |
% "fi;" & |
| 286 |
% %"w:=hround(charwd*hppp); h:=vround(charht*hppp); d:= vround(chardp*hppp);" & |
| 287 |
% "w:=charwd*hppp; h:=charht*hppp; d:= chardp*hppp;" & |
| 288 |
% %"define_pixels( WC, HC);" & |
| 289 |
% "currentpicture:= currentpicture shifted (WC,HC);" & |
| 290 |
% %fix_hstem(band,pa1,pa2,pa3,pb,pe) y<3band; |
| 291 |
% %fix_vstem(band,pa1,pa2,pa3,pb,pe) abs(x-1/2size)>3band; |
| 292 |
% %ghost_stem top; |
| 293 |
% "fix_hsbw(size,0,0);"; |
| 294 |
|
| 295 |
def Beginglyph(expr glname) = |
| 296 |
encode (glname) (ASCII glname); introduce glname (utilize) (0) (); |
| 297 |
beginglyph(glname); |
| 298 |
FlagCount := 0; |
| 299 |
enddef; |
| 300 |
|
| 301 |
def BeginGlyph(expr glname,glnumber) = |
| 302 |
encode (glname) (glnumber); introduce glname (utilize) (0) (); |
| 303 |
beginglyph(glname); |
| 304 |
FlagCount := 0; |
| 305 |
enddef; |
| 306 |
|
| 307 |
def Endglyph= |
| 308 |
if proportional: |
| 309 |
charwd:= SL+C+SR; charht:= SH; chardp:= 0u; |
| 310 |
WC:= (C/2)+SL; |
| 311 |
else: |
| 312 |
charwd:= L+(C/2)+R; charht:= SH; chardp:= 0u; |
| 313 |
WC:= charwd/2; |
| 314 |
fi; |
| 315 |
|
| 316 |
Pa40 := Center; |
| 317 |
for i:=1 upto FlagCount: |
| 318 |
find_outlines(Pa40,FlagFill[i])(Res); |
| 319 |
Pa40 := Res1; |
| 320 |
endfor; |
| 321 |
Fill Pa40 shifted (WC,HC); |
| 322 |
|
| 323 |
for i:=1 upto FlagCount: |
| 324 |
unFill FlagUnfill[i] shifted (WC,HC); |
| 325 |
endfor; |
| 326 |
|
| 327 |
%"w:=hround(charwd*hppp); h:=vround(charht*hppp); d:= vround(chardp*hppp); |
| 328 |
w:=charwd*hppp; h:=charht*hppp; d:= chardp*hppp; |
| 329 |
%"define_pixels( WC, HC); |
| 330 |
%fix_hstem(Pa40)(1,2); |
| 331 |
%fix_vstem(Pa40); |
| 332 |
%ghost_stem top; |
| 333 |
fix_hsbw(charwd,0,0); |
| 334 |
|
| 335 |
endglyph; |
| 336 |
enddef; |
| 337 |
|
| 338 |
% ------------------------------------------------------------ lowercase letter |
| 339 |
Beginglyph("a"); |
| 340 |
charA; |
| 341 |
Endglyph; |
| 342 |
|
| 343 |
Beginglyph("b"); |
| 344 |
charB; |
| 345 |
Endglyph; |
| 346 |
|
| 347 |
Beginglyph("c"); |
| 348 |
charC; |
| 349 |
Endglyph; |
| 350 |
|
| 351 |
Beginglyph("d"); |
| 352 |
charD; |
| 353 |
Endglyph; |
| 354 |
|
| 355 |
Beginglyph("e"); |
| 356 |
charE; |
| 357 |
Endglyph; |
| 358 |
|
| 359 |
Beginglyph("f"); |
| 360 |
charF; |
| 361 |
Endglyph; |
| 362 |
|
| 363 |
Beginglyph("g"); |
| 364 |
charG; |
| 365 |
Endglyph; |
| 366 |
|
| 367 |
Beginglyph("h"); |
| 368 |
charA; charB; |
| 369 |
Endglyph; |
| 370 |
|
| 371 |
Beginglyph("i"); |
| 372 |
charA; charC; |
| 373 |
Endglyph; |
| 374 |
|
| 375 |
Beginglyph("k"); |
| 376 |
charA; charD; |
| 377 |
Endglyph; |
| 378 |
|
| 379 |
Beginglyph("l"); |
| 380 |
charA; charE; |
| 381 |
Endglyph; |
| 382 |
|
| 383 |
Beginglyph("m"); |
| 384 |
charA; charF; |
| 385 |
Endglyph; |
| 386 |
|
| 387 |
Beginglyph("n"); |
| 388 |
charA; charG; |
| 389 |
Endglyph; |
| 390 |
|
| 391 |
Beginglyph("o"); |
| 392 |
charB; charC; |
| 393 |
Endglyph; |
| 394 |
|
| 395 |
Beginglyph("p"); |
| 396 |
charB; charD; |
| 397 |
Endglyph; |
| 398 |
|
| 399 |
Beginglyph("q"); |
| 400 |
charB; charE; |
| 401 |
Endglyph; |
| 402 |
|
| 403 |
Beginglyph("r"); |
| 404 |
charB; charF; |
| 405 |
Endglyph; |
| 406 |
|
| 407 |
Beginglyph("s"); |
| 408 |
charB; charG; |
| 409 |
Endglyph; |
| 410 |
|
| 411 |
Beginglyph("t"); |
| 412 |
charC; charD; |
| 413 |
Endglyph; |
| 414 |
|
| 415 |
Beginglyph("u"); |
| 416 |
charC; charE; |
| 417 |
Endglyph; |
| 418 |
|
| 419 |
Beginglyph("y"); |
| 420 |
charC; charF; |
| 421 |
Endglyph; |
| 422 |
|
| 423 |
Beginglyph("j"); |
| 424 |
charD; charF; |
| 425 |
Endglyph; |
| 426 |
|
| 427 |
Beginglyph("v"); |
| 428 |
charD; charG; |
| 429 |
Endglyph; |
| 430 |
|
| 431 |
Beginglyph("w"); |
| 432 |
charE; charF; |
| 433 |
Endglyph; |
| 434 |
|
| 435 |
Beginglyph("x"); |
| 436 |
charE; charG; |
| 437 |
Endglyph; |
| 438 |
|
| 439 |
Beginglyph("z"); |
| 440 |
charF; charG; |
| 441 |
Endglyph; |
| 442 |
|
| 443 |
% -------------------------------------------------------------- capital letter |
| 444 |
%if false: |
| 445 |
|
| 446 |
Beginglyph("A"); |
| 447 |
charA; |
| 448 |
Endglyph; |
| 449 |
|
| 450 |
Beginglyph("B"); |
| 451 |
charB; |
| 452 |
Endglyph; |
| 453 |
|
| 454 |
Beginglyph("C"); |
| 455 |
charC; |
| 456 |
Endglyph; |
| 457 |
|
| 458 |
Beginglyph("D"); |
| 459 |
charD; |
| 460 |
Endglyph; |
| 461 |
|
| 462 |
Beginglyph("E"); |
| 463 |
charE; |
| 464 |
Endglyph; |
| 465 |
|
| 466 |
Beginglyph("F"); |
| 467 |
charF; |
| 468 |
Endglyph; |
| 469 |
|
| 470 |
Beginglyph("G"); |
| 471 |
charG; |
| 472 |
Endglyph; |
| 473 |
|
| 474 |
Beginglyph("H"); |
| 475 |
charA; charB; |
| 476 |
Endglyph; |
| 477 |
|
| 478 |
Beginglyph("I"); |
| 479 |
charA; charC; |
| 480 |
Endglyph; |
| 481 |
|
| 482 |
Beginglyph("K"); |
| 483 |
charA; charD; |
| 484 |
Endglyph; |
| 485 |
|
| 486 |
Beginglyph("L"); |
| 487 |
charA; charE; |
| 488 |
Endglyph; |
| 489 |
|
| 490 |
Beginglyph("M"); |
| 491 |
charA; charF; |
| 492 |
Endglyph; |
| 493 |
|
| 494 |
Beginglyph("N"); |
| 495 |
charA; charG; |
| 496 |
Endglyph; |
| 497 |
|
| 498 |
Beginglyph("O"); |
| 499 |
charB; charC; |
| 500 |
Endglyph; |
| 501 |
|
| 502 |
Beginglyph("P"); |
| 503 |
charB; charD; |
| 504 |
Endglyph; |
| 505 |
|
| 506 |
Beginglyph("Q"); |
| 507 |
charB; charE; |
| 508 |
Endglyph; |
| 509 |
|
| 510 |
Beginglyph("R"); |
| 511 |
charB; charF; |
| 512 |
Endglyph; |
| 513 |
|
| 514 |
Beginglyph("S"); |
| 515 |
charB; charG; |
| 516 |
Endglyph; |
| 517 |
|
| 518 |
Beginglyph("T"); |
| 519 |
charC; charD; |
| 520 |
Endglyph; |
| 521 |
|
| 522 |
Beginglyph("U"); |
| 523 |
charC; charE; |
| 524 |
Endglyph; |
| 525 |
|
| 526 |
Beginglyph("Y"); |
| 527 |
charC; charF; |
| 528 |
Endglyph; |
| 529 |
|
| 530 |
Beginglyph("J"); |
| 531 |
charD; charF; |
| 532 |
Endglyph; |
| 533 |
|
| 534 |
Beginglyph("V"); |
| 535 |
charD; charG; |
| 536 |
Endglyph; |
| 537 |
|
| 538 |
Beginglyph("W"); |
| 539 |
charE; charF; |
| 540 |
Endglyph; |
| 541 |
|
| 542 |
Beginglyph("X"); |
| 543 |
charE; charG; |
| 544 |
Endglyph; |
| 545 |
|
| 546 |
Beginglyph("Z"); |
| 547 |
charF; charG; |
| 548 |
Endglyph; |
| 549 |
|
| 550 |
%fi; |
| 551 |
|
| 552 |
% --------------------------------------------------- accented letters (in EC) |
| 553 |
BeginGlyph("Abreve", 128); |
| 554 |
charA; |
| 555 |
Endglyph; |
| 556 |
|
| 557 |
BeginGlyph("Aogonek", 129); |
| 558 |
charA; |
| 559 |
Endglyph; |
| 560 |
|
| 561 |
BeginGlyph("Cacute", 130); |
| 562 |
charC; |
| 563 |
Endglyph; |
| 564 |
|
| 565 |
BeginGlyph("Ccaron", 131); |
| 566 |
charC; |
| 567 |
Endglyph; |
| 568 |
|
| 569 |
BeginGlyph("Dcaron", 132); |
| 570 |
charD; |
| 571 |
Endglyph; |
| 572 |
|
| 573 |
BeginGlyph("Ecaron", 133); |
| 574 |
charE; |
| 575 |
Endglyph; |
| 576 |
|
| 577 |
BeginGlyph("Eogonek", 134); |
| 578 |
charE; |
| 579 |
Endglyph; |
| 580 |
|
| 581 |
BeginGlyph("Gbreve", 135); |
| 582 |
charG; |
| 583 |
Endglyph; |
| 584 |
|
| 585 |
BeginGlyph("Lacute", 136); |
| 586 |
charA; charE; |
| 587 |
Endglyph; |
| 588 |
|
| 589 |
BeginGlyph("Lcaron", 137); |
| 590 |
charA; charE; |
| 591 |
Endglyph; |
| 592 |
|
| 593 |
BeginGlyph("Lslash", 138); |
| 594 |
charA; charE; |
| 595 |
Endglyph; |
| 596 |
|
| 597 |
BeginGlyph("Nacute", 139); |
| 598 |
charA; charG; |
| 599 |
Endglyph; |
| 600 |
|
| 601 |
BeginGlyph("Ncaron", 140); |
| 602 |
charA; charG; |
| 603 |
Endglyph; |
| 604 |
|
| 605 |
BeginGlyph("Ohungarumlaut", 142); |
| 606 |
charB; charC; |
| 607 |
Endglyph; |
| 608 |
|
| 609 |
BeginGlyph("Racute", 143); |
| 610 |
charB; charF; |
| 611 |
Endglyph; |
| 612 |
|
| 613 |
BeginGlyph("Rcaron", 144); |
| 614 |
charB; charF; |
| 615 |
Endglyph; |
| 616 |
|
| 617 |
BeginGlyph("Sacute", 145); |
| 618 |
charB; charG; |
| 619 |
Endglyph; |
| 620 |
|
| 621 |
BeginGlyph("Scaron", 146); |
| 622 |
charB; charG; |
| 623 |
Endglyph; |
| 624 |
|
| 625 |
BeginGlyph("Scedilla", 147); |
| 626 |
charB; charG; |
| 627 |
Endglyph; |
| 628 |
|
| 629 |
BeginGlyph("Tcaron", 148); |
| 630 |
charC; charD; |
| 631 |
Endglyph; |
| 632 |
|
| 633 |
BeginGlyph("Tcedilla", 149); |
| 634 |
charC; charD; |
| 635 |
Endglyph; |
| 636 |
|
| 637 |
BeginGlyph("Uhungarumlaut", 150); |
| 638 |
charC; charE; |
| 639 |
Endglyph; |
| 640 |
|
| 641 |
BeginGlyph("Uring", 151); |
| 642 |
charC; charE; |
| 643 |
Endglyph; |
| 644 |
|
| 645 |
BeginGlyph("Ydieresis", 152); |
| 646 |
charC; charF; |
| 647 |
Endglyph; |
| 648 |
|
| 649 |
BeginGlyph("Zacute", 153); |
| 650 |
charF; charG; |
| 651 |
Endglyph; |
| 652 |
|
| 653 |
BeginGlyph("Zcaron", 154); |
| 654 |
charF; charG; |
| 655 |
Endglyph; |
| 656 |
|
| 657 |
BeginGlyph("Zdotaccent", 155); |
| 658 |
charF; charG; |
| 659 |
Endglyph; |
| 660 |
|
| 661 |
BeginGlyph("Idotaccent", 157); |
| 662 |
charA; charC; |
| 663 |
Endglyph; |
| 664 |
|
| 665 |
BeginGlyph("dcroat", 158); |
| 666 |
charD; |
| 667 |
Endglyph; |
| 668 |
|
| 669 |
BeginGlyph("abreve", 160); |
| 670 |
charA; |
| 671 |
Endglyph; |
| 672 |
|
| 673 |
BeginGlyph("aogonek", 161); |
| 674 |
charA; |
| 675 |
Endglyph; |
| 676 |
|
| 677 |
BeginGlyph("cacute", 162); |
| 678 |
charC; |
| 679 |
Endglyph; |
| 680 |
|
| 681 |
BeginGlyph("ccaron", 163); |
| 682 |
charC; |
| 683 |
Endglyph; |
| 684 |
|
| 685 |
BeginGlyph("dcaron", 164); |
| 686 |
charD; |
| 687 |
Endglyph; |
| 688 |
|
| 689 |
BeginGlyph("ecaron", 165); |
| 690 |
charE; |
| 691 |
Endglyph; |
| 692 |
|
| 693 |
BeginGlyph("eogonek", 166); |
| 694 |
charE; |
| 695 |
Endglyph; |
| 696 |
|
| 697 |
BeginGlyph("gbreve", 167); |
| 698 |
charG; |
| 699 |
Endglyph; |
| 700 |
|
| 701 |
BeginGlyph("lacute", 168); |
| 702 |
charA; charE; |
| 703 |
Endglyph; |
| 704 |
|
| 705 |
BeginGlyph("lcaron", 169); |
| 706 |
charA; charE; |
| 707 |
Endglyph; |
| 708 |
|
| 709 |
BeginGlyph("lslash", 170); |
| 710 |
charA; charE; |
| 711 |
Endglyph; |
| 712 |
|
| 713 |
BeginGlyph("nacute", 171); |
| 714 |
charA; charG; |
| 715 |
Endglyph; |
| 716 |
|
| 717 |
BeginGlyph("ncaron", 172); |
| 718 |
charA; charG; |
| 719 |
Endglyph; |
| 720 |
|
| 721 |
BeginGlyph("ohungarumlaut", 174); |
| 722 |
charB; charC; |
| 723 |
Endglyph; |
| 724 |
|
| 725 |
BeginGlyph("racute", 175); |
| 726 |
charB; charF; |
| 727 |
Endglyph; |
| 728 |
|
| 729 |
BeginGlyph("rcaron", 176); |
| 730 |
charB; charF; |
| 731 |
Endglyph; |
| 732 |
|
| 733 |
BeginGlyph("sacute", 177); |
| 734 |
charB; charG; |
| 735 |
Endglyph; |
| 736 |
|
| 737 |
BeginGlyph("scaron", 178); |
| 738 |
charB; charG; |
| 739 |
Endglyph; |
| 740 |
|
| 741 |
BeginGlyph("scedilla", 179); |
| 742 |
charB; charG; |
| 743 |
Endglyph; |
| 744 |
|
| 745 |
BeginGlyph("tcaron", 180); |
| 746 |
charC; charD; |
| 747 |
Endglyph; |
| 748 |
|
| 749 |
BeginGlyph("tcedilla", 181); |
| 750 |
charC; charD; |
| 751 |
Endglyph; |
| 752 |
|
| 753 |
BeginGlyph("uhungarumlaut", 182); |
| 754 |
charC; charE; |
| 755 |
Endglyph; |
| 756 |
|
| 757 |
BeginGlyph("uring", 183); |
| 758 |
charC; charE; |
| 759 |
Endglyph; |
| 760 |
|
| 761 |
BeginGlyph("ydieresis", 184); |
| 762 |
charC; charF; |
| 763 |
Endglyph; |
| 764 |
|
| 765 |
BeginGlyph("zacute", 185); |
| 766 |
charF; charG; |
| 767 |
Endglyph; |
| 768 |
|
| 769 |
BeginGlyph("zcaron", 186); |
| 770 |
charF; charG; |
| 771 |
Endglyph; |
| 772 |
|
| 773 |
BeginGlyph("zdotaccent", 187); |
| 774 |
charF; charG; |
| 775 |
Endglyph; |
| 776 |
|
| 777 |
BeginGlyph("Agrave", 192); |
| 778 |
charA; |
| 779 |
Endglyph; |
| 780 |
|
| 781 |
BeginGlyph("Aacute", 193); |
| 782 |
charA; |
| 783 |
Endglyph; |
| 784 |
|
| 785 |
BeginGlyph("Acircumflex", 194); |
| 786 |
charA; |
| 787 |
Endglyph; |
| 788 |
|
| 789 |
BeginGlyph("Atilde", 195); |
| 790 |
charA; |
| 791 |
Endglyph; |
| 792 |
|
| 793 |
BeginGlyph("Adieresis", 196); |
| 794 |
charA; |
| 795 |
Endglyph; |
| 796 |
|
| 797 |
BeginGlyph("Aring", 197); |
| 798 |
charA; |
| 799 |
Endglyph; |
| 800 |
|
| 801 |
BeginGlyph("Ccedilla", 199); |
| 802 |
charC; |
| 803 |
Endglyph; |
| 804 |
|
| 805 |
BeginGlyph("Egrave", 200); |
| 806 |
charE; |
| 807 |
Endglyph; |
| 808 |
|
| 809 |
BeginGlyph("Eacute", 201); |
| 810 |
charE; |
| 811 |
Endglyph; |
| 812 |
|
| 813 |
BeginGlyph("Ecircumflex", 202); |
| 814 |
charE; |
| 815 |
Endglyph; |
| 816 |
|
| 817 |
BeginGlyph("Edieresis", 203); |
| 818 |
charE; |
| 819 |
Endglyph; |
| 820 |
|
| 821 |
BeginGlyph("Igrave", 204); |
| 822 |
charA; charC; |
| 823 |
Endglyph; |
| 824 |
|
| 825 |
BeginGlyph("Iacute", 205); |
| 826 |
charA; charC; |
| 827 |
Endglyph; |
| 828 |
|
| 829 |
BeginGlyph("Icircumflex", 206); |
| 830 |
charA; charC; |
| 831 |
Endglyph; |
| 832 |
|
| 833 |
BeginGlyph("Idieresis", 207); |
| 834 |
charA; charC; |
| 835 |
Endglyph; |
| 836 |
|
| 837 |
BeginGlyph("Ntilde", 209); |
| 838 |
charA; charG; |
| 839 |
Endglyph; |
| 840 |
|
| 841 |
BeginGlyph("Ograve", 210); |
| 842 |
charB; charC; |
| 843 |
Endglyph; |
| 844 |
|
| 845 |
BeginGlyph("Oacute", 211); |
| 846 |
charB; charC; |
| 847 |
Endglyph; |
| 848 |
|
| 849 |
BeginGlyph("Ocircumflex", 212); |
| 850 |
charB; charC; |
| 851 |
Endglyph; |
| 852 |
|
| 853 |
BeginGlyph("Otilde", 213); |
| 854 |
charB; charC; |
| 855 |
Endglyph; |
| 856 |
|
| 857 |
BeginGlyph("Odieresis", 214); |
| 858 |
charB; charC; |
| 859 |
Endglyph; |
| 860 |
|
| 861 |
BeginGlyph("Oslash", 216); |
| 862 |
charB; charC; |
| 863 |
Endglyph; |
| 864 |
|
| 865 |
BeginGlyph("Ugrave", 217); |
| 866 |
charC; charE; |
| 867 |
Endglyph; |
| 868 |
|
| 869 |
BeginGlyph("Uacute", 218); |
| 870 |
charC; charE; |
| 871 |
Endglyph; |
| 872 |
|
| 873 |
BeginGlyph("Ucircumflex", 219); |
| 874 |
charC; charE; |
| 875 |
Endglyph; |
| 876 |
|
| 877 |
BeginGlyph("Udieresis", 220); |
| 878 |
charC; charE; |
| 879 |
Endglyph; |
| 880 |
|
| 881 |
BeginGlyph("Yacute", 221); |
| 882 |
charC; charF; |
| 883 |
Endglyph; |
| 884 |
|
| 885 |
BeginGlyph("agrave", 224); |
| 886 |
charA; |
| 887 |
Endglyph; |
| 888 |
|
| 889 |
BeginGlyph("aacute", 225); |
| 890 |
charA; |
| 891 |
Endglyph; |
| 892 |
|
| 893 |
BeginGlyph("acircumflex", 226); |
| 894 |
charA; |
| 895 |
Endglyph; |
| 896 |
|
| 897 |
BeginGlyph("atilde", 227); |
| 898 |
charA; |
| 899 |
Endglyph; |
| 900 |
|
| 901 |
BeginGlyph("adieresis", 228); |
| 902 |
charA; |
| 903 |
Endglyph; |
| 904 |
|
| 905 |
BeginGlyph("aring", 229); |
| 906 |
charA; |
| 907 |
Endglyph; |
| 908 |
|
| 909 |
BeginGlyph("ccedilla", 231); |
| 910 |
charC; |
| 911 |
Endglyph; |
| 912 |
|
| 913 |
BeginGlyph("egrave", 232); |
| 914 |
charE; |
| 915 |
Endglyph; |
| 916 |
|
| 917 |
BeginGlyph("eacute", 233); |
| 918 |
charE; |
| 919 |
Endglyph; |
| 920 |
|
| 921 |
BeginGlyph("ecircumflex", 234); |
| 922 |
charE; |
| 923 |
Endglyph; |
| 924 |
|
| 925 |
BeginGlyph("edieresis", 235); |
| 926 |
charE; |
| 927 |
Endglyph; |
| 928 |
|
| 929 |
BeginGlyph("igrave", 236); |
| 930 |
charA; charC; |
| 931 |
Endglyph; |
| 932 |
|
| 933 |
BeginGlyph("iacute", 237); |
| 934 |
charA; charC; |
| 935 |
Endglyph; |
| 936 |
|
| 937 |
BeginGlyph("icircumflex", 238); |
| 938 |
charA; charC; |
| 939 |
Endglyph; |
| 940 |
|
| 941 |
BeginGlyph("idieresis", 239); |
| 942 |
charA; charC; |
| 943 |
Endglyph; |
| 944 |
|
| 945 |
BeginGlyph("ntilde", 241); |
| 946 |
charA; charG; |
| 947 |
Endglyph; |
| 948 |
|
| 949 |
BeginGlyph("ograve", 242); |
| 950 |
charB; charC; |
| 951 |
Endglyph; |
| 952 |
|
| 953 |
BeginGlyph("oacute", 243); |
| 954 |
charB; charC; |
| 955 |
Endglyph; |
| 956 |
|
| 957 |
BeginGlyph("ocircumflex", 244); |
| 958 |
charB; charC; |
| 959 |
Endglyph; |
| 960 |
|
| 961 |
BeginGlyph("otilde", 245); |
| 962 |
charB; charC; |
| 963 |
Endglyph; |
| 964 |
|
| 965 |
BeginGlyph("odieresis", 246); |
| 966 |
charB; charC; |
| 967 |
Endglyph; |
| 968 |
|
| 969 |
BeginGlyph("oslash", 248); |
| 970 |
charB; charC; |
| 971 |
Endglyph; |
| 972 |
|
| 973 |
BeginGlyph("ugrave", 249); |
| 974 |
charC; charE; |
| 975 |
Endglyph; |
| 976 |
|
| 977 |
BeginGlyph("uacute", 250); |
| 978 |
charC; charE; |
| 979 |
Endglyph; |
| 980 |
|
| 981 |
BeginGlyph("ucircumflex", 251); |
| 982 |
charC; charE; |
| 983 |
Endglyph; |
| 984 |
|
| 985 |
BeginGlyph("udieresis", 252); |
| 986 |
charC; charE; |
| 987 |
Endglyph; |
| 988 |
|
| 989 |
BeginGlyph("yacute", 253); |
| 990 |
charC; charF; |
| 991 |
Endglyph; |
| 992 |
|
| 993 |
if false: |
| 994 |
|
| 995 |
BeginGlyph("Agrave", 152); |
| 996 |
charA; |
| 997 |
Endglyph; |
| 998 |
|
| 999 |
BeginGlyph("Lcaron", 165); |
| 1000 |
charA; charE; |
| 1001 |
Endglyph; |
| 1002 |
|
| 1003 |
BeginGlyph("Scaron", 169); |
| 1004 |
charB; charG; |
| 1005 |
Endglyph; |
| 1006 |
|
| 1007 |
BeginGlyph("Tcaron", 171); |
| 1008 |
charC; charD; |
| 1009 |
Endglyph; |
| 1010 |
|
| 1011 |
BeginGlyph("Zcaron", 174); |
| 1012 |
charF; charG; |
| 1013 |
Endglyph; |
| 1014 |
|
| 1015 |
BeginGlyph("lcaron", 181); |
| 1016 |
charA; charE; |
| 1017 |
Endglyph; |
| 1018 |
|
| 1019 |
BeginGlyph("agrave", 184); |
| 1020 |
charA; |
| 1021 |
Endglyph; |
| 1022 |
|
| 1023 |
BeginGlyph("scaron", 185); |
| 1024 |
charB; charG; |
| 1025 |
Endglyph; |
| 1026 |
|
| 1027 |
BeginGlyph("tcaron", 187); |
| 1028 |
charC; charD; |
| 1029 |
Endglyph; |
| 1030 |
|
| 1031 |
BeginGlyph("zcaron", 190); |
| 1032 |
charF; charG; |
| 1033 |
Endglyph; |
| 1034 |
|
| 1035 |
BeginGlyph("Racute", 192); |
| 1036 |
charB; charF; |
| 1037 |
Endglyph; |
| 1038 |
|
| 1039 |
BeginGlyph("Aacute", 193); |
| 1040 |
charA; |
| 1041 |
Endglyph; |
| 1042 |
|
| 1043 |
BeginGlyph("Adieresis", 196); |
| 1044 |
charA; |
| 1045 |
Endglyph; |
| 1046 |
|
| 1047 |
BeginGlyph("Lacute", 197); |
| 1048 |
charA; charE; |
| 1049 |
Endglyph; |
| 1050 |
|
| 1051 |
BeginGlyph("Ccaron", 200); |
| 1052 |
charC; |
| 1053 |
Endglyph; |
| 1054 |
|
| 1055 |
BeginGlyph("Eacute", 201); |
| 1056 |
charE; |
| 1057 |
Endglyph; |
| 1058 |
|
| 1059 |
BeginGlyph("Ecaron", 204); |
| 1060 |
charE; |
| 1061 |
Endglyph; |
| 1062 |
|
| 1063 |
BeginGlyph("Iacute", 205); |
| 1064 |
charA; charC; |
| 1065 |
Endglyph; |
| 1066 |
|
| 1067 |
BeginGlyph("Dcaron", 207); |
| 1068 |
charD; |
| 1069 |
Endglyph; |
| 1070 |
|
| 1071 |
BeginGlyph("Ncaron", 210); |
| 1072 |
charA; charG; |
| 1073 |
Endglyph; |
| 1074 |
|
| 1075 |
BeginGlyph("Oacute", 211); |
| 1076 |
charB; charC; |
| 1077 |
Endglyph; |
| 1078 |
|
| 1079 |
BeginGlyph("Ocircumplex", 212); |
| 1080 |
charB; charC; |
| 1081 |
Endglyph; |
| 1082 |
|
| 1083 |
BeginGlyph("Odieresis", 214); |
| 1084 |
charB; charC; |
| 1085 |
Endglyph; |
| 1086 |
|
| 1087 |
BeginGlyph("Rcaron", 216); |
| 1088 |
charB; charF; |
| 1089 |
Endglyph; |
| 1090 |
|
| 1091 |
BeginGlyph("Uring", 217); |
| 1092 |
charC; charE; |
| 1093 |
Endglyph; |
| 1094 |
|
| 1095 |
BeginGlyph("Uacute", 218); |
| 1096 |
charC; charE; |
| 1097 |
Endglyph; |
| 1098 |
|
| 1099 |
BeginGlyph("Udieresis", 220); |
| 1100 |
charC; charE; |
| 1101 |
Endglyph; |
| 1102 |
|
| 1103 |
BeginGlyph("Yacute", 221); |
| 1104 |
charC; charF; |
| 1105 |
Endglyph; |
| 1106 |
|
| 1107 |
BeginGlyph("racute", 224); |
| 1108 |
charB; charF; |
| 1109 |
Endglyph; |
| 1110 |
|
| 1111 |
BeginGlyph("aacute", 225); |
| 1112 |
charA; |
| 1113 |
Endglyph; |
| 1114 |
|
| 1115 |
BeginGlyph("adieresis", 228); |
| 1116 |
charA; |
| 1117 |
Endglyph; |
| 1118 |
|
| 1119 |
BeginGlyph("lacute", 229); |
| 1120 |
charA; charE; |
| 1121 |
Endglyph; |
| 1122 |
|
| 1123 |
BeginGlyph("ccaron", 232); |
| 1124 |
charC; |
| 1125 |
Endglyph; |
| 1126 |
|
| 1127 |
BeginGlyph("eacute", 233); |
| 1128 |
charE; |
| 1129 |
Endglyph; |
| 1130 |
|
| 1131 |
BeginGlyph("ecaron", 236); |
| 1132 |
charE; |
| 1133 |
Endglyph; |
| 1134 |
|
| 1135 |
BeginGlyph("iacute", 237); |
| 1136 |
charA; charC; |
| 1137 |
Endglyph; |
| 1138 |
|
| 1139 |
BeginGlyph("dcaron", 239); |
| 1140 |
charD; |
| 1141 |
Endglyph; |
| 1142 |
|
| 1143 |
BeginGlyph("ncaron", 242); |
| 1144 |
charA; charG; |
| 1145 |
Endglyph; |
| 1146 |
|
| 1147 |
BeginGlyph("oacute", 243); |
| 1148 |
charB; charC; |
| 1149 |
Endglyph; |
| 1150 |
|
| 1151 |
BeginGlyph("ocircumplex", 244); |
| 1152 |
charB; charC; |
| 1153 |
Endglyph; |
| 1154 |
|
| 1155 |
BeginGlyph("odieresis", 246); |
| 1156 |
charB; charC; |
| 1157 |
Endglyph; |
| 1158 |
|
| 1159 |
BeginGlyph("rcaron", 248); |
| 1160 |
charB; charF; |
| 1161 |
Endglyph; |
| 1162 |
|
| 1163 |
BeginGlyph("uring", 249); |
| 1164 |
charC; charE; |
| 1165 |
Endglyph; |
| 1166 |
|
| 1167 |
BeginGlyph("uacute", 250); |
| 1168 |
charC; charE; |
| 1169 |
Endglyph; |
| 1170 |
|
| 1171 |
BeginGlyph("udieresis", 252); |
| 1172 |
charC; charE; |
| 1173 |
Endglyph; |
| 1174 |
|
| 1175 |
BeginGlyph("yacute", 253); |
| 1176 |
charC; charF; |
| 1177 |
Endglyph; |
| 1178 |
|
| 1179 |
fi; |
| 1180 |
|
| 1181 |
% --------------------------------------------------------------------- digits |
| 1182 |
%if false: |
| 1183 |
|
| 1184 |
Beginglyph("1"); |
| 1185 |
charA; |
| 1186 |
Endglyph; |
| 1187 |
|
| 1188 |
Beginglyph("2"); |
| 1189 |
charB; |
| 1190 |
Endglyph; |
| 1191 |
|
| 1192 |
Beginglyph("3"); |
| 1193 |
charC; |
| 1194 |
Endglyph; |
| 1195 |
|
| 1196 |
Beginglyph("4"); |
| 1197 |
charD; |
| 1198 |
Endglyph; |
| 1199 |
|
| 1200 |
Beginglyph("5"); |
| 1201 |
charE; |
| 1202 |
Endglyph; |
| 1203 |
|
| 1204 |
Beginglyph("6"); |
| 1205 |
charF; |
| 1206 |
Endglyph; |
| 1207 |
|
| 1208 |
Beginglyph("7"); |
| 1209 |
charG; |
| 1210 |
Endglyph; |
| 1211 |
|
| 1212 |
Beginglyph("8"); |
| 1213 |
charA; charB; |
| 1214 |
Endglyph; |
| 1215 |
|
| 1216 |
Beginglyph("9"); |
| 1217 |
charA; charC; |
| 1218 |
Endglyph; |
| 1219 |
|
| 1220 |
Beginglyph("0"); |
| 1221 |
charA; charD; |
| 1222 |
Endglyph; |
| 1223 |
|
| 1224 |
%fi; |
| 1225 |
|
| 1226 |
% ---------------------------------------------------------- special characters |
| 1227 |
BeginGlyph("space",32); % space |
| 1228 |
glyph_width := if proportional: 6u else: 10u fi; %L+C+R; |
| 1229 |
glyph_height := 0; |
| 1230 |
glyph_depth := 0; |
| 1231 |
glyph_shift := 0; |
| 1232 |
%fix_hsbw(glyph_width,0,0); |
| 1233 |
endglyph; |
| 1234 |
|
| 1235 |
BeginGlyph("asterisk",42); % all flag positions (asterisk) |
| 1236 |
charA; charB; charC; charD; charE; charF; charG; |
| 1237 |
Endglyph; |
| 1238 |
|
| 1239 |
BeginGlyph("period",46); % separator (period) |
| 1240 |
begingroup; |
| 1241 |
save currenttransform; transform currenttransform; |
| 1242 |
currenttransform:= identity rotated -90 slanted slant; |
| 1243 |
flag(-90,false); |
| 1244 |
currenttransform:= identity reflectedabout ((0,0),(1,0)) |
| 1245 |
rotated -90 slanted slant; |
| 1246 |
%flag(-90,true); |
| 1247 |
endgroup; |
| 1248 |
SL:= L; SR:= R; |
| 1249 |
if proportional: |
| 1250 |
charwd:= SL+C+SR; charht:= SH; chardp:= 0u; WC:= (C/2)+SL; |
| 1251 |
else: |
| 1252 |
charwd:= L+(C/2)+R; charht:= SH; chardp:= 0u; WC:= charwd/2; |
| 1253 |
fi; |
| 1254 |
k:= (r-a)++b; |
| 1255 |
default_nib := fix_nib( series*.2u, series*.2u, 0 ); |
| 1256 |
z1=(0,-k) rotated -50; z2=(0,-k) rotated 50; |
| 1257 |
%draw (z1..(-k,0)..(0,k)..(k,0)..z2) slanted slant; |
| 1258 |
pen_stroke() (z1..(-k,0)..(0,k)..(k,0)..z2) (Pa20); |
| 1259 |
Pa21 := sipka( 2/5b, -50-5, z1); |
| 1260 |
pen_stroke() (Pa21) (Pa23); |
| 1261 |
Pa25 := sipka( 2/5b, 180+50+5, z2); |
| 1262 |
pen_stroke() (Pa25) (Pa27); |
| 1263 |
find_outlines(Pa20,Pa23)(Res); |
| 1264 |
Pa29 := Res1; |
| 1265 |
find_outlines(Pa29,Pa27)(Res); |
| 1266 |
%Fill Res1 slanted slant shifted (WC,HC); |
| 1267 |
Fill Pa23 slanted slant shifted (WC,HC); |
| 1268 |
Fill Pa27 slanted slant shifted (WC,HC); |
| 1269 |
Fill Pa20 slanted slant shifted (WC,HC); |
| 1270 |
|
| 1271 |
%if proportional: |
| 1272 |
% charwd:= SL+C+SR; charht:= SH; chardp:= 0u; WC:= (C/2)+SL; |
| 1273 |
%else: |
| 1274 |
% charwd:= L+(C/2)+R; charht:= SH; chardp:= 0u; WC:= charwd/2; |
| 1275 |
%fi; |
| 1276 |
% |
| 1277 |
%Pa40 := Center; |
| 1278 |
%for i:=1 upto FlagCount: |
| 1279 |
% find_outlines(Pa40,FlagFill[i])(Res); |
| 1280 |
% Pa40 := Res1; |
| 1281 |
%endfor; |
| 1282 |
%Fill Pa40 shifted (WC,HC); |
| 1283 |
% |
| 1284 |
%fix_hsbw(charwd,0,0); |
| 1285 |
%endglyph; |
| 1286 |
Endglyph; |
| 1287 |
|
| 1288 |
BeginGlyph("tilda",126); % mistake |
| 1289 |
charC; charG; |
| 1290 |
Endglyph; |
| 1291 |
|
| 1292 |
BeginGlyph("dollar",36); % begin digits |
| 1293 |
charD; charE; |
| 1294 |
Endglyph; |
| 1295 |
|
| 1296 |
BeginGlyph("numbersign",35); % end digits |
| 1297 |
charD; charF; |
| 1298 |
Endglyph; |
| 1299 |
|
| 1300 |
% ------------------------------------------------------ kernings and ligatures |
| 1301 |
boolean old_lig; old_lig := false; |
| 1302 |
if old_lig: |
| 1303 |
|
| 1304 |
def chars="a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", |
| 1305 |
"n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", |
| 1306 |
"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", |
| 1307 |
"N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", % #52 |
| 1308 |
%152, 165, 169, 171, 174, 181, 184, 185, 187, 190, 192, 193, 196, 197, |
| 1309 |
%200, 201, 204, 205, 207, 210, 211, 212, 214, 216, 217, 218, 220, 221, |
| 1310 |
%224, 225, 228, 229, 232, 233, 236, 237, 239, 242, 243, 244, 246, 248, |
| 1311 |
%249, 250, 252, 253 |
| 1312 |
224,225,227,228,192,193,195,196, % A 128 129 160 161 197 229 226 194 |
| 1313 |
130,131,162,163, % C 199 231 |
| 1314 |
132,164, % D 158 |
| 1315 |
133,165,200,201,203,232,233,235, % E 134 166 202 234 |
| 1316 |
% G 135 167 |
| 1317 |
157,204,205,236,237, % I 206 207 239 238 |
| 1318 |
136,137,168,169, % L 138 170 |
| 1319 |
140,172,209,241, % N 139 171 #43 |
| 1320 |
142,174,210,211,214,216,242,243,246,248, % O 212 213 244 245 |
| 1321 |
143,144,175,176, % R |
| 1322 |
145,146,177,178, % S 147 179 |
| 1323 |
148,180, % T 149 181 |
| 1324 |
150,151,182,183,217,218,220,249,250,252, % U 219 251 |
| 1325 |
152,184,221,253, % Y |
| 1326 |
153,154,185,186 % Z 155 187 #42 |
| 1327 |
enddef; |
| 1328 |
def digits="1", "2", "3", "4", "5", "6", "7", "8", "9", "0" enddef; |
| 1329 |
def chars_tr="e", "l", "q", "u", 36, "E", "L", "Q", "U", |
| 1330 |
%165, 181, 197, 201, 204, 217, 218, 220, 229, 233, 236, 249, 250, 252 |
| 1331 |
133,165,200,201,203,232,233,235, % E |
| 1332 |
136,137,138,168,169,170, % L |
| 1333 |
150,151,182,183,217,218,219,220,249,250,251,252 % U |
| 1334 |
enddef; |
| 1335 |
def chars_br="g", "n", "s", 126, "v", "G", "N", "S", "V", |
| 1336 |
%169, 185, 210, 242 |
| 1337 |
% G |
| 1338 |
140,172,209,241, % N |
| 1339 |
145,146,177,178 % S |
| 1340 |
enddef; |
| 1341 |
def digits_tr="5" enddef; |
| 1342 |
def digits_br="7" enddef; |
| 1343 |
def chars_nr="a", "b", "c", "d", "f", "h", "i", "j", "k", "m", |
| 1344 |
"o", "p", "r", "t", "w", "x", "y", "z", |
| 1345 |
"A", "B", "C", "D", "F", "H", "I", "J", "K", "M", |
| 1346 |
"O", "P", "R", "T", "W", "X", "Y", "Z", |
| 1347 |
%152, 171, 174, 184, 187, 190, 192, 193, 196, 200, 205, 207, 211, 212, |
| 1348 |
%214, 216, 221, 224, 225, 228, 232, 237, 239, 243, 244, 246, 248, 253 |
| 1349 |
224,225,227,228,192,193,195,196, % A |
| 1350 |
130,131,162,163, % C |
| 1351 |
132,164, % D |
| 1352 |
157,204,205,236,237, % I |
| 1353 |
142,174,210,211,214,216,242,243,245,248, % O |
| 1354 |
143,144,175,176, % R |
| 1355 |
148,180, % T |
| 1356 |
152,184,221,253, % Y |
| 1357 |
153,154,185,186 % Z |
| 1358 |
enddef; |
| 1359 |
def digits_nr="1", "2", "3", "4", "6", "8", "9", "0" enddef; |
| 1360 |
def tr=chars_tr, digits_tr enddef; |
| 1361 |
def br=chars_br, digits_br enddef; |
| 1362 |
def tl="c", "t", "u", "y", 126, "C", "T", "U", "Y", "3", |
| 1363 |
%171, 187, 200, 217, 218, 220, 221, 232, 249, 250, 252, 253 |
| 1364 |
130,131,162,163, % C |
| 1365 |
148,180, % T |
| 1366 |
150,151,182,183,217,218,220,249,250,252, % U |
| 1367 |
152,184,221,253 % Y |
| 1368 |
enddef; |
| 1369 |
def bl="a", "l", "m", "n", "A", "L", "M", "N", "1", |
| 1370 |
%152, 165, 181, 184, 193, 196, 197, 210, 225, 228, 229, 242 |
| 1371 |
224,225,227,228,192,193,195,196, % A |
| 1372 |
136,137,168,169, % L |
| 1373 |
140,172,209,241 % N |
| 1374 |
enddef; |
| 1375 |
def td="d", 36, "j", "v", "D", "J", "V", "4", |
| 1376 |
%207, 239 |
| 1377 |
132,164 % D |
| 1378 |
enddef; |
| 1379 |
boundarychar:=1; |
| 1380 |
|
| 1381 |
ligtable for i=chars_tr: i: endfor for i=digits: i|=:|>>36, endfor skipto 1; |
| 1382 |
ligtable for i=digits_tr: i: endfor for i=chars: i|=:|>>35, endfor |
| 1383 |
1|=:|35, skipto 1; |
| 1384 |
ligtable 1:: if proportional: for i=bl: i kern-1u#, endfor fi 32 kern 0u#; |
| 1385 |
ligtable for i=chars_br: i: endfor for i=digits: i|=:|>>36, endfor skipto 2; |
| 1386 |
ligtable for i=digits_br: i: endfor for i=chars: i|=:|>>35, endfor |
| 1387 |
1|=:|35, skipto 2; |
| 1388 |
ligtable 2:: if proportional: for i=tl: i kern-1u#, endfor |
| 1389 |
for i=td: i kern-.5u#, endfor fi 32 kern 0u#; |
| 1390 |
ligtable for i=chars_nr: i: endfor for i=digits: i|=:|>>36, endfor |
| 1391 |
32|=:>32; |
| 1392 |
ligtable for i=digits_nr: i: endfor for i=chars: i|=:|>>35, endfor |
| 1393 |
1|=:|35; |
| 1394 |
ligtable ||: for i=digits: i|=:|>>36, endfor 32|=:>32; |
| 1395 |
|
| 1396 |
else: % ------------------ new lig |
| 1397 |
|
| 1398 |
def Chars="a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", |
| 1399 |
"n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", |
| 1400 |
"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", |
| 1401 |
"N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", |
| 1402 |
"Abreve", "Aogonek", "abreve", "aogonek", "agrave", "aacute", "acircumflex", "atilde", "adieresis", "aring", |
| 1403 |
"Agrave", "Aacute", "Acircumflex", "Atilde", "Adieresis", "Aring", |
| 1404 |
"Cacute", "Ccaron", "cacute", "ccaron", "Ccedilla", "ccedilla", |
| 1405 |
"Dcaron", "dcroat", "dcaron", |
| 1406 |
"Ecaron", "Eogonek", "ecaron", "eogonek", "Egrave", "Eacute", "Ecircumflex", "Edieresis", |
| 1407 |
"egrave", "eacute", "ecircumflex", "edieresis", |
| 1408 |
"Gbreve", "gbreve", |
| 1409 |
"Idotaccent", "Igrave", "Iacute", "Icircumflex", "Idieresis", |
| 1410 |
"igrave", "iacute", "icircumflex", "idieresis", |
| 1411 |
"Lacute", "Lcaron", "Lslash", "lacute", "lcaron", "lslash", |
| 1412 |
"Nacute", "Ncaron", "nacute", "ncaron", "Ntilde", "ntilde", |
| 1413 |
"Ohungarumlaut", "ohungarumlaut", "Ograve", "Oacute", "Ocircumflex", "Otilde", "Odieresis", "Oslash", |
| 1414 |
"ograve", "oacute", "ocircumflex", "otilde", "odieresis", "oslash", |
| 1415 |
"Racute", "Rcaron", "racute", "rcaron", |
| 1416 |
"Sacute", "Scaron", "Scedilla", "sacute", "scaron", "scedilla", |
| 1417 |
"Tcaron", "Tcedilla", "tcaron", "tcedilla", |
| 1418 |
"Uhungarumlaut", "Uring", "uhungarumlaut", "uring", "Ugrave", "Uacute", "Ucircumflex", "Udieresis", |
| 1419 |
"ugrave", "uacute", "ucircumflex", "udieresis", |
| 1420 |
"Ydieresis", "ydieresis", "Yacute", "yacute", |
| 1421 |
"Zacute", "Zcaron", "Zdotaccent", "zacute", "zcaron", "zdotaccent" |
| 1422 |
enddef; |
| 1423 |
def Digits="1", "2", "3", "4", "5", "6", "7", "8", "9", "0" enddef; |
| 1424 |
def Chars_tr="e", "l", "q", "u", "dollar", "E", "L", "Q", "U", |
| 1425 |
"Ecaron", "Eogonek", "ecaron", "eogonek", "Egrave", "Eacute", "Ecircumflex", "Edieresis", |
| 1426 |
"egrave", "eacute", "ecircumflex", "edieresis", |
| 1427 |
"Lacute", "Lcaron", "Lslash", "lacute", "lcaron", "lslash", |
| 1428 |
"Uhungarumlaut", "Uring", "uhungarumlaut", "uring", "Ugrave", "Uacute", "Ucircumflex", "Udieresis", |
| 1429 |
"ugrave", "uacute", "ucircumflex", "udieresis" |
| 1430 |
enddef; |
| 1431 |
def Chars_br="g", "n", "s", "tilda", "v", "G", "N", "S", "V", |
| 1432 |
"Gbreve", "gbreve", |
| 1433 |
"Nacute", "Ncaron", "nacute", "ncaron", "Ntilde", "ntilde", |
| 1434 |
"Sacute", "Scaron", "Scedilla", "sacute", "scaron", "scedilla" |
| 1435 |
enddef; |
| 1436 |
def Digits_tr="5" enddef; |
| 1437 |
def Digits_br="7" enddef; |
| 1438 |
def Chars_nr="a", "b", "c", "d", "f", "h", "i", "j", "k", "m", |
| 1439 |
"o", "p", "r", "t", "w", "x", "y", "z", |
| 1440 |
"A", "B", "C", "D", "F", "H", "I", "J", "K", "M", |
| 1441 |
"O", "P", "R", "T", "W", "X", "Y", "Z", |
| 1442 |
"Abreve", "Aogonek", "abreve", "aogonek", "agrave", "aacute", "acircumflex", "atilde", "adieresis", "aring", |
| 1443 |
"Agrave", "Aacute", "Acircumflex", "Atilde", "Adieresis", "Aring", |
| 1444 |
"Cacute", "Ccaron", "cacute", "ccaron", "Ccedilla", "ccedilla", |
| 1445 |
"Dcaron", "dcroat", "dcaron", |
| 1446 |
"Ohungarumlaut", "ohungarumlaut", "Ograve", "Oacute", "Ocircumflex", "Otilde", "Odieresis", "Oslash", |
| 1447 |
"ograve", "oacute", "ocircumflex", "otilde", "odieresis", "oslash", |
| 1448 |
"Racute", "Rcaron", "racute", "rcaron", |
| 1449 |
"Tcaron", "Tcedilla", "tcaron", "tcedilla", |
| 1450 |
"Ydieresis", "ydieresis", "Yacute", "yacute", |
| 1451 |
"Zacute", "Zcaron", "Zdotaccent", "zacute", "zcaron", "zdotaccent" |
| 1452 |
enddef; |
| 1453 |
def Digits_nr="1", "2", "3", "4", "6", "8", "9", "0" enddef; |
| 1454 |
def Tr=Chars_tr, Digits_tr enddef; |
| 1455 |
def Br=Chars_br, Digits_br enddef; |
| 1456 |
def Tl="c", "t", "u", "y", "tilda", "C", "T", "U", "Y", "3", |
| 1457 |
"Cacute", "Ccaron", "cacute", "ccaron", "Ccedilla", "ccedilla", |
| 1458 |
"Tcaron", "Tcedilla", "tcaron", "tcedilla", |
| 1459 |
"ugrave", "uacute", "ucircumflex", "udieresis", |
| 1460 |
"Ydieresis", "ydieresis", "Yacute", "yacute" |
| 1461 |
enddef; |
| 1462 |
def Bl="a", "l", "m", "n", "A", "L", "M", "N", "1", |
| 1463 |
"Abreve", "Aogonek", "abreve", "aogonek", "agrave", "aacute", "acircumflex", "atilde", "adieresis", "aring", |
| 1464 |
"Agrave", "Aacute", "Acircumflex", "Atilde", "Adieresis", "Aring", |
| 1465 |
"Lacute", "Lcaron", "Lslash", "lacute", "lcaron", "lslash", |
| 1466 |
"Nacute", "Ncaron", "nacute", "ncaron", "Ntilde", "ntilde" |
| 1467 |
enddef; |
| 1468 |
def Td="d", "dollar", "j", "v", "D", "J", "V", "4", |
| 1469 |
"Dcaron", "dcroat", "dcaron" |
| 1470 |
enddef; |
| 1471 |
boundarychar:=1; |
| 1472 |
|
| 1473 |
for i=Chars_tr: |
| 1474 |
LK(i) |
| 1475 |
for j=Digits: LP(j)("dollar") endfor |
| 1476 |
if proportional: for j=Bl: KP(j)(-1u#) endfor fi |
| 1477 |
KP("space")(0u#) |
| 1478 |
KL; |
| 1479 |
endfor |
| 1480 |
for i=Digits_tr: |
| 1481 |
LK(i) |
| 1482 |
for j=Chars: LP(j)("numbersign") endfor |
| 1483 |
%LP(boundarychar)("numbersign") |
| 1484 |
if proportional: for j=Bl: KP(j)(-1u#) endfor fi |
| 1485 |
KP("space")(0u#) |
| 1486 |
KL; |
| 1487 |
endfor |
| 1488 |
|
| 1489 |
for i=Chars_br: |
| 1490 |
LK(i) |
| 1491 |
for j=Digits: LP(j)("numbersign") endfor |
| 1492 |
if proportional: for j=Tl: KP(j)(-1u#) endfor |
| 1493 |
for j=Td: KP(j)(-.5u#) endfor fi |
| 1494 |
KP("space")(0u#) |
| 1495 |
KL; |
| 1496 |
endfor |
| 1497 |
for i=Digits_br: |
| 1498 |
LK(i) |
| 1499 |
for j=Chars: LP(j)("numbersign") endfor |
| 1500 |
LP(boundarychar)("numbersign") |
| 1501 |
if proportional: for j=Tl: KP(j)(-1u#) endfor |
| 1502 |
for j=Td: KP(j)(-.5u#) endfor fi |
| 1503 |
KP("space")(0u#) |
| 1504 |
KL; |
| 1505 |
endfor |
| 1506 |
|
| 1507 |
for i=Chars_nr: |
| 1508 |
LK(i) |
| 1509 |
for j=Digits: LP(j)("dollar") endfor |
| 1510 |
LP("space")("space") |
| 1511 |
KL; |
| 1512 |
endfor |
| 1513 |
for i=Digits_nr: |
| 1514 |
LK(i) |
| 1515 |
for j=Chars: LP(j)("numbersign") endfor |
| 1516 |
%LP(boundarychar)("numbersign") |
| 1517 |
KL; |
| 1518 |
endfor |
| 1519 |
%LK(boundarychar) |
| 1520 |
% for j=Digits: LP(j)("dollar") endfor |
| 1521 |
% LP("space")("space") |
| 1522 |
%KL; |
| 1523 |
|
| 1524 |
fi; |
| 1525 |
|
| 1526 |
endinput; |