| 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 |
% Irish Caps and Small Caps 10 point |
| 6 |
if unknown cmbase: input cmbase fi |
| 7 |
|
| 8 |
design_size := 10; |
| 9 |
font_identifier:="EIADCSC"; font_size design_size * pt#; |
| 10 |
|
| 11 |
% first come parameters used to set the uppercase letters |
| 12 |
% (including some for lowercase that aren't actually used) |
| 13 |
% These parameters are nearly the same as the Computer Modern Roman |
| 14 |
% parameters. |
| 15 |
|
| 16 |
input c-cmr; |
| 17 |
|
| 18 |
u#:= % unit width |
| 19 |
((u#*360pt#) + (design_size * 1))/360pt#; |
| 20 |
|
| 21 |
letter_fit#:= % extra space added to all sidebars |
| 22 |
((letter_fit#*360pt#) + (design_size * 5))/360pt#; |
| 23 |
|
| 24 |
ligs:=1; % level of ligatures to be included |
| 25 |
|
| 26 |
% now come replacements used to set the lowercase caps |
| 27 |
|
| 28 |
lower.u#:= % unit width |
| 29 |
(u#*360pt#*16)/(21*360pt#); |
| 30 |
|
| 31 |
lower.width_adj#:= % width adjustment for certain characters |
| 32 |
width_adj#; |
| 33 |
|
| 34 |
lower.cap_serif_fit#:= % extra sidebar near uppercase serifs |
| 35 |
(cap_serif_fit#*360pt#*4)/(5*360pt#); |
| 36 |
|
| 37 |
lower.letter_fit#:= % extra space added to all sidebars |
| 38 |
(letter_fit#*36pt#*24)/(5*360pt#); |
| 39 |
|
| 40 |
lower.body_height#:= % height of tallest characters |
| 41 |
(body_height#*36pt#*20.0)/(27.0*36pt#); |
| 42 |
|
| 43 |
lower.cap_height#:= % height of caps |
| 44 |
(cap_height#*36pt#*18.5)/(24.6*36pt#); |
| 45 |
|
| 46 |
lower.x_height#:= % height of lowercase without ascenders |
| 47 |
(x_height#*36pt#*116)/(155*36pt#); |
| 48 |
|
| 49 |
lower.bar_height#:= % height of crossbar in lowercase e |
| 50 |
(bar_height#*36pt#*65)/(87*36pt#); |
| 51 |
|
| 52 |
lower.comma_depth#:= % depth of comma below baseline |
| 53 |
(comma_depth#*36pt#*52)/(70*36pt#); |
| 54 |
|
| 55 |
lower.stem#:= % lowercase stem breadth |
| 56 |
(stem#*360pt#*21)/(25*360pt#); |
| 57 |
|
| 58 |
lower.flare#:= % diameter of bulbs or breadth of terminals |
| 59 |
(flare#*360pt#*25)/(33*360pt#); |
| 60 |
|
| 61 |
lower.cap_hair#:= % uppercase hairline breadth |
| 62 |
(cap_hair#*36pt#*91)/(11*360pt#); |
| 63 |
|
| 64 |
lower.cap_stem#:= % uppercase stem breadth |
| 65 |
(cap_stem#*360pt#*26)/(32*360pt#); |
| 66 |
|
| 67 |
lower.cap_curve#:= % uppercase curve breadth |
| 68 |
(cap_curve#*360pt#*31)/(37*360pt#); |
| 69 |
|
| 70 |
lower.cap_ess#:= % breadth in middle of uppercase s |
| 71 |
(cap_ess#*360pt#*28)/(35*360pt#); |
| 72 |
|
| 73 |
lower.cap_jut#:= % protrusion of uppercase serifs |
| 74 |
(cap_jut#*360pt#*26)/(37*360pt#); |
| 75 |
|
| 76 |
lower.beak_jut#:= % horizontal protrusion of beak serifs |
| 77 |
(beak_jut#*360pt#*7)/(10*360pt#); |
| 78 |
|
| 79 |
lower.beak#:= % vertical protrusion of beak serifs |
| 80 |
(beak#*36pt#*52)/(7*360pt#); |
| 81 |
|
| 82 |
lower.slab#:= % serif and arm thickness |
| 83 |
(slab#*36pt#*91)/(11*360pt#); |
| 84 |
|
| 85 |
lower.cap_bar#:= % uppercase bar thickness |
| 86 |
(cap_bar#*36pt#*91)/(11*360pt#); |
| 87 |
|
| 88 |
lower.cap_band#:= % uppercase thickness above/below lobes |
| 89 |
(cap_band#*36pt#*91)/(11*360pt#); |
| 90 |
|
| 91 |
lower.cap_notch_cut#:= % max breadth above/below uppercase notches |
| 92 |
cap_notch_cut#; |
| 93 |
|
| 94 |
lower.o#:= % amount of overshoot for curves |
| 95 |
(o#*360pt#*5)/(8*360pt#); |
| 96 |
|
| 97 |
lower.apex_o#:= % amount of overshoot for diagonal junctions |
| 98 |
(apex_o#*360pt#*4)/(8*360pt#); |
| 99 |
|
| 100 |
lower.fudge:= % factor applied to weights of heavy characters |
| 101 |
fudge; |
| 102 |
|
| 103 |
generate gaec7cb % switch to the driver file |