Debian Codegraph @

texmf-dist/fonts/source/public/eiad/gaec7cb.mf

raw
1 %% This file is public domain.
2 %% Originally written 1998, Ivan A Derzhanski.
3 %% Notice added by Clea F. Rees 2009/01/06.
4 %%
5 % gaem7mb.mf
6 % Irish Caps and Small Caps: Driver File
7
8 spanish_shriek=oct"016"; spanish_query=oct"017";
9 cap_asc_height#:=1.15cap_height#;
10 cap_height#:=max(.85cap_height#,45/38x_height#);
11 old_asc_height#:=asc_height#;
12 asc_height#:=max(.85asc_height#,44/38x_height#);
13 lower.cap_asc_height#:=cap_asc_height#*lower.cap_height#/x_height#;
14 serif_drop#:=max(0,6serif_drop#);
15
16 mode_setup; font_setup;
17 define_whole_vertical_pixels(cap_asc_height,old_asc_height);
18
19 guta_offset := 0;
20 input eira; % diacritics and macros
21 input eiru; % upper case (majuscules)
22 input romand; % numerals
23 input italp; % ampersand, question marks, currency sign
24 input punct; % punctuation symbols common to roman and italic text
25 {{interim ligs:=0; input accent;}}; % accents common to roman and italic text
26 if ligs>0:
27 underbar = ASCII "_"; input comlig; fi % ligatures common with italic text
28 input romsub; % substitutes for ligatures
29
30 %%% fine lower
31 forsuffixes $= u, width_adj, cap_serif_fit, letter_fit,
32 body_height, cap_asc_height, cap_height, x_height, bar_height,
33 comma_depth, flare, cap_hair, stem, cap_stem, cap_curve, cap_ess,
34 cap_jut, beak_jut, beak, slab, cap_bar, cap_band, cap_notch_cut,
35 o, apex_o: $.#:=lower.$.#; endfor
36 fudge:=lower.fudge;
37 font_setup; % now try again with |lower| settings
38 extra_endchar:=extra_endchar&"charcode:=charcode+code_offset";
39 code_offset:=ASCII"a" - ASCII"A"; guta_offset:=8;
40 input eiru; % majuscules (in lowercase positions)
41
42 ligtable "!": "`" =: spanish_shriek;
43 ligtable "?": "`" =: spanish_query;
44 font_slant slant; font_x_height x_height#;
45 if monospace: font_normal_space 9u#; % no stretching or shrinking
46 font_quad 18u#;
47 font_extra_space 9u#;
48 else: font_normal_space 6u#+2letter_fit#;
49 font_normal_stretch 3u#; font_normal_shrink 2u#;
50 font_quad 18u#+4letter_fit#;
51 font_extra_space 2u#;
52 % k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning
53 fi
54
55 ligtable "7": "`" =: agus_lig;
56 ligtable "a": "/" =: ailm_fada;
57 ligtable "b": "h" =: beith_h;
58 ligtable "c": "h" =: coll_h;
59 ligtable "d": "h" =: dair_h;
60 ligtable "e": "/" =: eabhadh_fada;
61 ligtable "f": "h" =: fearn_h;
62 ligtable "g": "h" =: gort_h;
63 ligtable "i": "/" =: iodha_fada;
64 ligtable "m": "h" =: muin_h;
65 ligtable "o": "/" =: oir_fada;
66 ligtable "p": "h" =: peith_bhog_h;
67 ligtable "s": "h" =: sail_h;
68 ligtable "t": "h" =: teine_h;
69 ligtable "u": "/" =: uwr_fada;
70
71 ligtable "A": "/" =: Ailm_fada;
72 ligtable "B": "h" =: Beith_h, "H" =: Beith_h;
73 ligtable "C": "h" =: Coll_h, "H" =: Coll_h;
74 ligtable "D": "h" =: Dair_h, "H" =: Dair_h;
75 ligtable "E": "/" =: Eabhadh_fada;
76 ligtable "F": "h" =: Fearn_h, "H" =: Fearn_h;
77 ligtable "G": "h" =: Gort_h, "H" =: Gort_h;
78 ligtable "I": "/" =: Iodha_fada;
79 ligtable "M": "h" =: Muin_h, "H" =: Muin_h;
80 ligtable "O": "/" =: Oir_fada;
81 ligtable "S": "h" =: Sail_h, "H" =: Sail_h;
82 ligtable "T": "h" =: Teine_h, "H" =: Teine_h;
83 ligtable "U": "/" =: Uwr_fada;
84
85 % there are ligature/kern programs
86 % for |"-"|, |"`"|, and |"'"| in the {\tt comlig} file
87 bye.