| 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 |
% gaelach.mf |
| 6 |
% Computer Modern Irish: 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 |
serif_drop#:=max(0,6serif_drop#); |
| 14 |
|
| 15 |
mode_setup; font_setup; |
| 16 |
define_whole_vertical_pixels(cap_asc_height,old_asc_height); |
| 17 |
|
| 18 |
guta_offset := 0; |
| 19 |
input eira; % diacritics and macros |
| 20 |
input eiru; % upper case (majuscules) |
| 21 |
input eirl; % lower case (minuscules) |
| 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 |
ligtable "!": "`" =: spanish_shriek; |
| 31 |
ligtable "?": "`" =: spanish_query; |
| 32 |
font_slant slant; font_x_height x_height#; |
| 33 |
if monospace: font_normal_space 9u#; % no stretching or shrinking |
| 34 |
font_quad 18u#; |
| 35 |
font_extra_space 9u#; |
| 36 |
else: font_normal_space 6u#+2letter_fit#; |
| 37 |
font_normal_stretch 3u#; font_normal_shrink 2u#; |
| 38 |
font_quad 18u#+4letter_fit#; |
| 39 |
font_extra_space 2u#; |
| 40 |
% k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning |
| 41 |
fi |
| 42 |
|
| 43 |
ligtable "7": "`" =: agus_lig; |
| 44 |
ligtable "a": "/" =: ailm_fada; |
| 45 |
ligtable "b": "h" =: beith_h; |
| 46 |
ligtable "c": "h" =: coll_h; |
| 47 |
ligtable "d": "h" =: dair_h; |
| 48 |
ligtable "e": "/" =: eabhadh_fada; |
| 49 |
ligtable "f": "h" =: fearn_h; |
| 50 |
ligtable "g": "h" =: gort_h; |
| 51 |
ligtable "i": "/" =: iodha_fada; |
| 52 |
ligtable "m": "h" =: muin_h; |
| 53 |
ligtable "o": "/" =: oir_fada; |
| 54 |
ligtable "p": "h" =: peith_bhog_h; |
| 55 |
ligtable "s": "h" =: sail_h; |
| 56 |
ligtable "t": "h" =: teine_h; |
| 57 |
ligtable "u": "/" =: uwr_fada; |
| 58 |
|
| 59 |
ligtable "A": "/" =: Ailm_fada; |
| 60 |
ligtable "B": "h" =: Beith_h, "H" =: Beith_h; |
| 61 |
ligtable "C": "h" =: Coll_h, "H" =: Coll_h; |
| 62 |
ligtable "D": "h" =: Dair_h, "H" =: Dair_h; |
| 63 |
ligtable "E": "/" =: Eabhadh_fada; |
| 64 |
ligtable "F": "h" =: Fearn_h, "H" =: Fearn_h; |
| 65 |
ligtable "G": "h" =: Gort_h, "H" =: Gort_h; |
| 66 |
ligtable "I": "/" =: Iodha_fada; |
| 67 |
ligtable "M": "h" =: Muin_h, "H" =: Muin_h; |
| 68 |
ligtable "O": "/" =: Oir_fada; |
| 69 |
ligtable "S": "h" =: Sail_h, "H" =: Sail_h; |
| 70 |
ligtable "T": "h" =: Teine_h, "H" =: Teine_h; |
| 71 |
ligtable "U": "/" =: Uwr_fada; |
| 72 |
|
| 73 |
% there are ligature/kern programs |
| 74 |
% for |"-"|, |"`"|, and |"'"| in the {\tt comlig} file |
| 75 |
bye. |