diff options
Diffstat (limited to 'fonts/eiad/source')
35 files changed, 2417 insertions, 0 deletions
diff --git a/fonts/eiad/source/eiadb10.mf b/fonts/eiad/source/eiadb10.mf new file mode 100644 index 0000000000..94d7bffb78 --- /dev/null +++ b/fonts/eiad/source/eiadb10.mf @@ -0,0 +1,20 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eiadb10.mf: Irish Boldface 10 point +if unknown cmbase: input cmbase fi +font_identifier:="EIADB"; +design_size := 10; +font_size design_size*pt#; +input c-cmbx; + +u#:=(20*(design_size/10))/36pt#; % unit width +width_adj#:=(10*(design_size/10))/36pt#; + % width adjustment for certain characters +cap_serif_fit#:=(6*(design_size/10))/36pt#; + % extra sidebar near uppercase serifs + +cap_jut#:=(34*(design_size/10))/36pt#; % protrusion of uppercase serifs + +generate gaelach % switch to the driver file diff --git a/fonts/eiad/source/eiadbx10.mf b/fonts/eiad/source/eiadbx10.mf new file mode 100644 index 0000000000..a4c3b8d147 --- /dev/null +++ b/fonts/eiad/source/eiadbx10.mf @@ -0,0 +1,11 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eiadbx10.mf: Irish Boldface Extended 10 point +if unknown cmbase: input cmbase fi +font_identifier:="EIADBX"; +design_size := 10; +font_size design_size*pt#; +input c-cmbx; +generate gaelach % switch to the driver file diff --git a/fonts/eiad/source/eiadbxi10.mf b/fonts/eiad/source/eiadbxi10.mf new file mode 100644 index 0000000000..5297706a96 --- /dev/null +++ b/fonts/eiad/source/eiadbxi10.mf @@ -0,0 +1,73 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% Bold Extended Irish Italic +if unknown cmbase: input cmbase fi + +design_size := 10; +font_identifier:="EIADBXI"; font_size design_size * pt#; + +% This font is a modification of Computer Modern Bold Extended. + +input c-cmbx; + +u#:= % unit width + ((u#*360pt#) - (design_size * 1.8))/360pt#; + +letter_fit#:= % extra space added to all sidebars + (if design_size < 8: (-(design_size*10)+80) + else: (0)fi)/360pt#; + +crisp#:= % diameter of serif corners + ((crisp#*360pt#) + (design_size * 13))/360pt#; + +hair#:= % lowercase hairline breadth + ((hair#*360pt#) + (design_size * 3))/360pt#; + +stem#:= % lowercase stem breadth + ((stem#*360pt#) - (design_size * 3))/360pt#; + +curve#:= % lowercase curve breadth + ((curve#*360pt#) - (design_size * 3))/360pt#; + +ess#:= % breadth in middle of lowercase s + ((ess#*360pt#) - (design_size * 3))/360pt#; + +flare#:= % diameter of bulbs or breadth of terminals + ((flare#*360pt#) - (design_size * 3))/360pt#; + +dot_size#:= % diameter of dots + ((dot_size#*360pt#) - (design_size * 3))/360pt#; + +cap_hair#:= % uppercase hairline breadth + ((cap_hair#*360pt#) + (design_size * 3))/360pt#; + +cap_stem#:= % uppercase stem breadth + ((cap_stem#*360pt#) - (design_size * 2))/360pt#; + +cap_curve#:= % uppercase curve breadth + ((cap_curve#*360pt#) - (design_size * 3))/360pt#; + +cap_ess#:= % breadth in middle of uppercase s + ((cap_ess#*360pt#) - (design_size * 3) - 0.001)/360pt#; + +jut#:= % protrusion of lowercase serifs + ((jut#*360pt#) + (design_size * 2))/360pt#; + +beak_jut#:= % horizontal protrusion of beak serifs + ((beak_jut#*360pt#) - (design_size * 1) - 0.00032)/360pt#; + +o#:= % amount of overshoot for curves + ((o#*360pt#) + (design_size * 2))/360pt#; + +apex_o#:= % amount of overshoot for diagonal junctions + ((apex_o#*360pt#) + (design_size * 3) + 0.00091)/360pt#; + +slant:= % tilt ratio $(\Delta x/\Delta y)$ + 0.25; + +variant_g:= % should an italic-style g be used? + true; + +generate gaelach % switch to the driver file diff --git a/fonts/eiad/source/eiadbxsl10.mf b/fonts/eiad/source/eiadbxsl10.mf new file mode 100644 index 0000000000..2e405f4c09 --- /dev/null +++ b/fonts/eiad/source/eiadbxsl10.mf @@ -0,0 +1,12 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eiadbxsl10.mf: Irish Boldface Extended Slanted 10 point +if unknown cmbase: input cmbase fi +font_identifier:="EIADBXSL"; +design_size := 10; +font_size design_size*pt#; +input c-cmbx; +slant:=1/6; +generate gaelach % switch to the driver file diff --git a/fonts/eiad/source/eiadccsc10.mf b/fonts/eiad/source/eiadccsc10.mf new file mode 100644 index 0000000000..99a7bbdf37 --- /dev/null +++ b/fonts/eiad/source/eiadccsc10.mf @@ -0,0 +1,114 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% Irish Concrete Caps and Small Caps 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="EIADCCSC"; font_size 10pt#; + +% first come parameters used to set the uppercase letters +% (including some for lowercase that aren't actually used) +u#:=21/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=1/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=3/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=5/36pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=246/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=87/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=11/36pt#; % diameter of rounded corners +fine#:=6/36pt#; % diameter of sharply rounded corners +thin_join#:=17/36pt#; % width of extrafine details +hair#:=21/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=27/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=29/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=21/36pt#; % uppercase hairline breadth +cap_stem#:=27/36pt#; % uppercase stem breadth +cap_curve#:=28/36pt#; % uppercase curve breadth +cap_ess#:=27/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=0/36pt#; % amount erased at top or bottom of serifs +bracket#:=5/36pt#; % vertical distance from serif base to tangent +jut#:=30/36pt#; % protrusion of lowercase serifs +cap_jut#:=32/36pt#; % protrusion of uppercase serifs +beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=21/36pt#; % vertical diameter of hairlines +notch_cut#:=30/36pt#; % maximum breadth above or below notches +bar#:=21/36pt#; % lowercase bar thickness +slab#:=21/36pt#; % serif and arm thickness +cap_bar#:=21/36pt#; % uppercase bar thickness +cap_band#:=21/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=1pt#; % max breadth above/below uppercase notches +serif_drop#:=5/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.95; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/15; % extra openness inside bowls +beak_darkness:=4/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +% now come replacements used to set the lowercase caps + +lower.u#:=16/36pt#; % unit width +lower.width_adj#:=0pt#; % width adjustment for certain characters +lower.cap_serif_fit#:=2/36pt#; % extra sidebar near uppercase serifs +lower.letter_fit#:=2.4/36pt#; % extra space added to all sidebars + +lower.body_height#:=200/36pt#; % height of tallest characters +lower.cap_height#:=185/36pt#; % height of caps +lower.x_height#:=116/36pt#; % height of lowercase without ascenders +lower.bar_height#:=65/36pt#; % height of crossbar in lowercase e +lower.comma_depth#:=52/36pt#; % depth of comma below baseline + +lower.flare#:=22/36pt#; % diameter of bulbs or breadth of terminals +lower.cap_hair#:=21/36pt#; % uppercase hairline breadth +lower.stem#:=23/36pt#; % lowercase stem breadth +lower.cap_stem#:=24/36pt#; % uppercase stem breadth +lower.cap_curve#:=26/36pt#; % uppercase curve breadth +lower.cap_ess#:=24/36pt#; % breadth in middle of uppercase s + +lower.cap_jut#:=24/36pt#; % protrusion of uppercase serifs +lower.beak_jut#:=7/36pt#; % horizontal protrusion of beak serifs +lower.beak#:=52/36pt#; % vertical protrusion of beak serifs +lower.slab#:=21/36pt#; % serif and arm thickness +lower.cap_bar#:=21/36pt#; % uppercase bar thickness +lower.cap_band#:=21/36pt#; % uppercase thickness above/below lobes +lower.cap_notch_cut#:=27/36pt#; % max breadth above/below uppercase notches + +lower.o#:=3/36pt#; % amount of overshoot for curves +lower.apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +lower.fudge:=.93; % factor applied to weights of heavy characters + +generate gaec7cb % switch to the driver file diff --git a/fonts/eiad/source/eiadci10.mf b/fonts/eiad/source/eiadci10.mf new file mode 100644 index 0000000000..5ad4bbebec --- /dev/null +++ b/fonts/eiad/source/eiadci10.mf @@ -0,0 +1,79 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% Concrete Irish Italic 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="EIADCI"; font_size 10pt#; + +u#:=20/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=1/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=3/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=246/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=165/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=92/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=11/36pt#; % diameter of serif corners +tiny#:=11/36pt#; % diameter of rounded corners +fine#:=6/36pt#; % diameter of sharply rounded corners +thin_join#:=17/36pt#; % width of extrafine details +hair#:=21/36pt#; % lowercase hairline breadth +stem#:=24/36pt#; % lowercase stem breadth +curve#:=26/36pt#; % lowercase curve breadth +ess#:=24/36pt#; % breadth in middle of lowercase s +flare#:=28/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=21/36pt#; % uppercase hairline breadth +cap_stem#:=26/36pt#; % uppercase stem breadth +cap_curve#:=27/36pt#; % uppercase curve breadth +cap_ess#:=26/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=0/36pt#; % amount erased at top or bottom of serifs +bracket#:=5/36pt#; % vertical distance from serif base to tangent +jut#:=30/36pt#; % protrusion of lowercase serifs +cap_jut#:=32/36pt#; % protrusion of uppercase serifs +beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=21/36pt#; % vertical diameter of hairlines +notch_cut#:=30/36pt#; % maximum breadth above or below notches +bar#:=21/36pt#; % lowercase bar thickness +slab#:=21/36pt#; % serif and arm thickness +cap_bar#:=21/36pt#; % uppercase bar thickness +cap_band#:=21/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=1pt#; % max breadth above/below uppercase notches +serif_drop#:=5/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.95; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/15; % extra openness inside bowls +beak_darkness:=4/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate gaelach % switch to the driver file diff --git a/fonts/eiad/source/eiadcr10.mf b/fonts/eiad/source/eiadcr10.mf new file mode 100644 index 0000000000..01b4f93134 --- /dev/null +++ b/fonts/eiad/source/eiadcr10.mf @@ -0,0 +1,79 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% Concrete Irish 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="EIADCR"; font_size 10pt#; + +u#:=20/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=1/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=3/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=246/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=165/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=92/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=11/36pt#; % diameter of rounded corners +fine#:=6/36pt#; % diameter of sharply rounded corners +thin_join#:=17/36pt#; % width of extrafine details +hair#:=21/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=27/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=29/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=21/36pt#; % uppercase hairline breadth +cap_stem#:=27/36pt#; % uppercase stem breadth +cap_curve#:=28/36pt#; % uppercase curve breadth +cap_ess#:=27/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=0/36pt#; % amount erased at top or bottom of serifs +bracket#:=5/36pt#; % vertical distance from serif base to tangent +jut#:=30/36pt#; % protrusion of lowercase serifs +cap_jut#:=32/36pt#; % protrusion of uppercase serifs +beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=21/36pt#; % vertical diameter of hairlines +notch_cut#:=30/36pt#; % maximum breadth above or below notches +bar#:=21/36pt#; % lowercase bar thickness +slab#:=21/36pt#; % serif and arm thickness +cap_bar#:=21/36pt#; % uppercase bar thickness +cap_band#:=21/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=1pt#; % max breadth above/below uppercase notches +serif_drop#:=5/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.95; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/15; % extra openness inside bowls +beak_darkness:=4/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate gaelach % switch to the driver file diff --git a/fonts/eiad/source/eiadcsc10.mf b/fonts/eiad/source/eiadcsc10.mf new file mode 100644 index 0000000000..f1bbcc93f1 --- /dev/null +++ b/fonts/eiad/source/eiadcsc10.mf @@ -0,0 +1,103 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% Irish Caps and Small Caps 10 point +if unknown cmbase: input cmbase fi + +design_size := 10; +font_identifier:="EIADCSC"; font_size design_size * pt#; + +% first come parameters used to set the uppercase letters +% (including some for lowercase that aren't actually used) +% These parameters are nearly the same as the Computer Modern Roman +% parameters. + +input c-cmr; + +u#:= % unit width + ((u#*360pt#) + (design_size * 1))/360pt#; + +letter_fit#:= % extra space added to all sidebars + ((letter_fit#*360pt#) + (design_size * 5))/360pt#; + +ligs:=1; % level of ligatures to be included + +% now come replacements used to set the lowercase caps + +lower.u#:= % unit width + (u#*360pt#*16)/(21*360pt#); + +lower.width_adj#:= % width adjustment for certain characters + width_adj#; + +lower.cap_serif_fit#:= % extra sidebar near uppercase serifs + (cap_serif_fit#*360pt#*4)/(5*360pt#); + +lower.letter_fit#:= % extra space added to all sidebars + (letter_fit#*36pt#*24)/(5*360pt#); + +lower.body_height#:= % height of tallest characters + (body_height#*36pt#*20.0)/(27.0*36pt#); + +lower.cap_height#:= % height of caps + (cap_height#*36pt#*18.5)/(24.6*36pt#); + +lower.x_height#:= % height of lowercase without ascenders + (x_height#*36pt#*116)/(155*36pt#); + +lower.bar_height#:= % height of crossbar in lowercase e + (bar_height#*36pt#*65)/(87*36pt#); + +lower.comma_depth#:= % depth of comma below baseline + (comma_depth#*36pt#*52)/(70*36pt#); + +lower.stem#:= % lowercase stem breadth + (stem#*360pt#*21)/(25*360pt#); + +lower.flare#:= % diameter of bulbs or breadth of terminals + (flare#*360pt#*25)/(33*360pt#); + +lower.cap_hair#:= % uppercase hairline breadth + (cap_hair#*36pt#*91)/(11*360pt#); + +lower.cap_stem#:= % uppercase stem breadth + (cap_stem#*360pt#*26)/(32*360pt#); + +lower.cap_curve#:= % uppercase curve breadth + (cap_curve#*360pt#*31)/(37*360pt#); + +lower.cap_ess#:= % breadth in middle of uppercase s + (cap_ess#*360pt#*28)/(35*360pt#); + +lower.cap_jut#:= % protrusion of uppercase serifs + (cap_jut#*360pt#*26)/(37*360pt#); + +lower.beak_jut#:= % horizontal protrusion of beak serifs + (beak_jut#*360pt#*7)/(10*360pt#); + +lower.beak#:= % vertical protrusion of beak serifs + (beak#*36pt#*52)/(7*360pt#); + +lower.slab#:= % serif and arm thickness + (slab#*36pt#*91)/(11*360pt#); + +lower.cap_bar#:= % uppercase bar thickness + (cap_bar#*36pt#*91)/(11*360pt#); + +lower.cap_band#:= % uppercase thickness above/below lobes + (cap_band#*36pt#*91)/(11*360pt#); + +lower.cap_notch_cut#:= % max breadth above/below uppercase notches + cap_notch_cut#; + +lower.o#:= % amount of overshoot for curves + (o#*360pt#*5)/(8*360pt#); + +lower.apex_o#:= % amount of overshoot for diagonal junctions + (apex_o#*360pt#*4)/(8*360pt#); + +lower.fudge:= % factor applied to weights of heavy characters + fudge; + +generate gaec7cb % switch to the driver file diff --git a/fonts/eiad/source/eiadcsl10.mf b/fonts/eiad/source/eiadcsl10.mf new file mode 100644 index 0000000000..8df2289369 --- /dev/null +++ b/fonts/eiad/source/eiadcsl10.mf @@ -0,0 +1,79 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% Concrete Slanted Irish 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="EIADCSL"; font_size 10pt#; + +u#:=20/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=1/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=3/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=246/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=165/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=92/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=11/36pt#; % diameter of rounded corners +fine#:=6/36pt#; % diameter of sharply rounded corners +thin_join#:=17/36pt#; % width of extrafine details +hair#:=21/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=27/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=29/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=21/36pt#; % uppercase hairline breadth +cap_stem#:=27/36pt#; % uppercase stem breadth +cap_curve#:=28/36pt#; % uppercase curve breadth +cap_ess#:=27/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=0/36pt#; % amount erased at top or bottom of serifs +bracket#:=5/36pt#; % vertical distance from serif base to tangent +jut#:=30/36pt#; % protrusion of lowercase serifs +cap_jut#:=32/36pt#; % protrusion of uppercase serifs +beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=21/36pt#; % vertical diameter of hairlines +notch_cut#:=30/36pt#; % maximum breadth above or below notches +bar#:=21/36pt#; % lowercase bar thickness +slab#:=21/36pt#; % serif and arm thickness +cap_bar#:=21/36pt#; % uppercase bar thickness +cap_band#:=21/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=1pt#; % max breadth above/below uppercase notches +serif_drop#:=5/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=1/6; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.95; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/15; % extra openness inside bowls +beak_darkness:=4/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate gaelach % switch to the driver file diff --git a/fonts/eiad/source/eiadcslc9.mf b/fonts/eiad/source/eiadcslc9.mf new file mode 100644 index 0000000000..46f31a1bf4 --- /dev/null +++ b/fonts/eiad/source/eiadcslc9.mf @@ -0,0 +1,79 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% Concrete Slanted Condensed Irish 9 point +if unknown cmbase: input cmbase fi + +font_identifier:="EIADCSLC"; font_size 9pt#; + +u#:=16/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=2/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=243/36pt#; % height of tallest characters +asc_height#:=225/36pt#; % height of lowercase ascenders +cap_height#:=221.4/36pt#; % height of caps +fig_height#:=208.8/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=81/36pt#; % axis of symmetry for math symbols +bar_height#:=85/36pt#; % height of crossbar in lowercase e +comma_depth#:=63/36pt#; % depth of comma below baseline +desc_depth#:=63/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=9/36pt#; % diameter of rounded corners +fine#:=6/36pt#; % diameter of sharply rounded corners +thin_join#:=13/36pt#; % width of extrafine details +hair#:=16/36pt#; % lowercase hairline breadth +stem#:=22/36pt#; % lowercase stem breadth +curve#:=23/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=28/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=35/36pt#; % diameter of dots +cap_hair#:=16/36pt#; % uppercase hairline breadth +cap_stem#:=23/36pt#; % uppercase stem breadth +cap_curve#:=24/36pt#; % uppercase curve breadth +cap_ess#:=23/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.38pt#; % thickness of lines in math symbols + +dish#:=0/36pt#; % amount erased at top or bottom of serifs +bracket#:=5/36pt#; % vertical distance from serif base to tangent +jut#:=15/36pt#; % protrusion of lowercase serifs +cap_jut#:=16/36pt#; % protrusion of uppercase serifs +beak_jut#:=9.2/36pt#; % horizontal protrusion of beak serifs +beak#:=63/36pt#; % vertical protrusion of beak serifs +vair#:=15/36pt#; % vertical diameter of hairlines +notch_cut#:=27/36pt#; % maximum breadth above or below notches +bar#:=15/36pt#; % lowercase bar thickness +slab#:=15/36pt#; % serif and arm thickness +cap_bar#:=15/36pt#; % uppercase bar thickness +cap_band#:=15/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=.9pt#; % max breadth above/below uppercase notches +serif_drop#:=3.6/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=1/6; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.2; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/15; % extra openness inside bowls +beak_darkness:=5/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate gaelach % switch to the driver file diff --git a/fonts/eiad/source/eiaddunh10.mf b/fonts/eiad/source/eiaddunh10.mf new file mode 100644 index 0000000000..1fdf408601 --- /dev/null +++ b/fonts/eiad/source/eiaddunh10.mf @@ -0,0 +1,24 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eiaddunh10.mf: Irish Dunhill 10 point +if unknown cmbase: input cmbase fi +font_identifier:="EIADDUNH"; +design_size := 10; +font_size design_size*pt#; +input c-cmr; + +body_height#:= % height of tallest characters + ((body_height#*360pt#) + (design_size*100))/360pt#; + +asc_height#:= % height of lowercase ascenders + ((asc_height#*360pt#) + (design_size*100) + 0.0003)/360pt#; + +cap_height#:= % height of caps + ((cap_height#*360pt#) + (design_size*100) + 0.0003)/360pt#; + +fig_height#:= % height of numerals + ((fig_height#*360pt#) + (design_size*100) + 0.0003)/360pt#; + +generate gaelach % switch to the driver file diff --git a/fonts/eiad/source/eiadff10.mf b/fonts/eiad/source/eiadff10.mf new file mode 100644 index 0000000000..87d65a7cb9 --- /dev/null +++ b/fonts/eiad/source/eiadff10.mf @@ -0,0 +1,17 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eiadff10.mf: Irish Funny 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="EIADFF"; + +design_size := 10; + +font_size design_size*pt#; + +input c-cmff; + +generate gaelach % switch to the driver file + diff --git a/fonts/eiad/source/eiadfi10.mf b/fonts/eiad/source/eiadfi10.mf new file mode 100644 index 0000000000..dc10eef459 --- /dev/null +++ b/fonts/eiad/source/eiadfi10.mf @@ -0,0 +1,38 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eiadfi10.mf: Irish Funny Italic 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="EIADFI"; + +design_size := 10; + +font_size design_size*pt#; + +input c-cmff; + +u#:=(21*(design_size/10))/36pt#; % unit width + +crisp#:=(11*(design_size/10))/36pt#; % diameter of serif corners +hair#:=(11*(design_size/10))/36pt#; % lowercase hairline breadth +stem#:=(17*(design_size/10))/36pt#; % lowercase stem breadth +curve#:=(21*(design_size/10))/36pt#; % lowercase curve breadth +ess#:=(23*(design_size/10))/36pt#; % breadth in middle of lowercase s +flare#:=(25*(design_size/10))/36pt#; % diameter of bulbs or breadth of terminals +cap_hair#:=(15*(design_size/10))/36pt#; % uppercase hairline breadth +cap_stem#:=(25*(design_size/10))/36pt#; % uppercase stem breadth +cap_curve#:=(27*(design_size/10))/36pt#; % uppercase curve breadth +cap_ess#:=(29*(design_size/10))/36pt#; % breadth in middle of uppercase s + +vair#:=(15*(design_size/10))/36pt#; % vertical diameter of hairlines +bar#:=(18*(design_size/10))/36pt#; % lowercase bar thickness +slab#:=(21*(design_size/10))/36pt#; % serif and arm thickness +cap_bar#:=(23*(design_size/10))/36pt#; % uppercase bar thickness +cap_band#:=(18*(design_size/10))/36pt#; % uppercase thickness above/below lobes + +slant:=+.1; % tilt ratio $(\Delta x/\Delta y)$ + +generate gaelach % switch to the driver file + diff --git a/fonts/eiad/source/eiadfib8.mf b/fonts/eiad/source/eiadfib8.mf new file mode 100644 index 0000000000..441fc2600a --- /dev/null +++ b/fonts/eiad/source/eiadfib8.mf @@ -0,0 +1,84 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eiadfib8.mf: Irish Fibonacci 8 point +if unknown cmbase: input cmbase fi + +font_identifier:="EIADFIB"; + +design_size := 8; + +font_size design_size*pt#; + +u#:=(21*(design_size/8))/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=(-2*(design_size/8))/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=(233*(design_size/8))/36pt#; % height of tallest characters +asc_height#:=(233*(design_size/8))/36pt#; % height of lowercase ascenders +cap_height#:=(233*(design_size/8))/36pt#; % height of caps +fig_height#:=(233*(design_size/8))/36pt#; % height of numerals +x_height#:=(144*(design_size/8))/36pt#; % height of lowercase without ascenders +math_axis#:=(89*(design_size/8))/36pt#; % axis of symmetry for math symbols +bar_height#:=(89*(design_size/8))/36pt#; % height of crossbar in lowercase e +comma_depth#:=(55*(design_size/8))/36pt#; % depth of comma below baseline +desc_depth#:=(55*(design_size/8))/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=(13*(design_size/8))/36pt#; % diameter of rounded corners +fine#:=(13*(design_size/8))/36pt#; % diameter of sharply rounded corners +thin_join#:=(13*(design_size/8))/36pt#; % width of extrafine details +hair#:=(21*(design_size/8))/36pt#; % lowercase hairline breadth +stem#:=(34*(design_size/8))/36pt#; % lowercase stem breadth +curve#:=(39*(design_size/8))/36pt#; % lowercase curve breadth +ess#:=(34*(design_size/8))/36pt#; % breadth in middle of lowercase s +flare#:=(34*(design_size/8))/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=(34*(design_size/8))/36pt#; % diameter of dots +cap_hair#:=(21*(design_size/8))/36pt#; % uppercase hairline breadth +cap_stem#:=(34*(design_size/8))/36pt#; % uppercase stem breadth +cap_curve#:=(39*(design_size/8))/36pt#; % uppercase curve breadth +cap_ess#:=(34*(design_size/8))/36pt#; % breadth in middle of uppercase s +rule_thickness#:=(21*(design_size/8))/36pt#; % thickness of lines in math symbols + +dish#:=(1*(design_size/8))/36pt#; % amount erased at top or bottom of serifs +bracket#:=(21*(design_size/8))/36pt#; % vertical distance from serif base to tangent +jut#:=(21*(design_size/8))/36pt#; % protrusion of lowercase serifs +cap_jut#:=(21*(design_size/8))/36pt#; % protrusion of uppercase serifs +beak_jut#:=(13*(design_size/8))/36pt#; % horizontal protrusion of beak serifs +beak#:=(55*(design_size/8))/36pt#; % vertical protrusion of beak serifs +vair#:=(13*(design_size/8))/36pt#; % vertical diameter of hairlines +notch_cut#:=(8*(design_size/8)) * pt#; % maximum breadth above or below notches +bar#:=(13*(design_size/8))/36pt#; % lowercase bar thickness +slab#:=(13*(design_size/8))/36pt#; % serif and arm thickness +cap_bar#:=(13*(design_size/8))/36pt#; % uppercase bar thickness +cap_band#:=(13*(design_size/8))/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=(8*(design_size/8)) * pt#; % max breadth above/below uppercase notches +serif_drop#:=(3*(design_size/8))/36pt#; % vertical drop of sloped serifs +stem_corr#:=(1*(design_size/8))/36pt#; % for small refinements of stem breadth +vair_corr#:=(1*(design_size/8))/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=(8*(design_size/8))/36pt#; % amount of overshoot for curves +apex_o#:=(8*(design_size/8))/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=3/8; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/13; % extra openness inside bowls +beak_darkness:=5/13; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate gaelach % switch to the driver file + diff --git a/fonts/eiad/source/eiadi10.mf b/fonts/eiad/source/eiadi10.mf new file mode 100644 index 0000000000..d35c61004d --- /dev/null +++ b/fonts/eiad/source/eiadi10.mf @@ -0,0 +1,24 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eiadi10.mf: Irish Italic 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="EIADI"; +design_size := 10; +font_size design_size*pt#; + +input c-cmti; % compute size parameters for CMR family + +letter_fit#:= % extra space added to all sidebars + (if design_size < 6: (-(design_size*20)+150) + elseif design_size < 7: (-(design_size*10)+90) + elseif design_size < 8: (-(design_size*20)+160) + elseif design_size < 10: (0) + else: (-(0.9365634365616*design_size*design_size)+ + (20.60439560424*design_size) - + (112.38761238732))fi)/360pt#; + +generate gaelach % switch to the driver file + diff --git a/fonts/eiad/source/eiaditt10.mf b/fonts/eiad/source/eiaditt10.mf new file mode 100644 index 0000000000..9413a2d547 --- /dev/null +++ b/fonts/eiad/source/eiaditt10.mf @@ -0,0 +1,27 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% Italic Typewriter Irish Text +if unknown cmbase: input cmbase fi + +design_size := 10; +font_identifier:="EIADITT"; font_size design_size * pt#; + +% This font is a modification of Computer Modern Typewriter Text + +input c-cmtt; + +letter_fit#:= % extra space added to all sidebars + ((letter_fit#*360pt#) + (design_size * 15))/360pt#; + +jut#:= % protrusion of lowercase serifs + ((jut#*360pt#) + (design_size * 6))/360pt#; + +slant:= % tilt ratio $(\Delta x/\Delta y)$ + 0.25; + +variant_g:= % should an italic-style g be used? + true; + +generate gaelach % switch to the driver file diff --git a/fonts/eiad/source/eiadr10.mf b/fonts/eiad/source/eiadr10.mf new file mode 100644 index 0000000000..28ed9b2acb --- /dev/null +++ b/fonts/eiad/source/eiadr10.mf @@ -0,0 +1,12 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eiadr10.mf: Computer Modern Irish 10 point +if unknown cmbase: input cmbase fi +font_identifier:="EIAD"; +design_size := 10; +font_size design_size*pt#; +input c-cmr; % compute size parameters for CMR family +generate gaelach % switch to the driver file + diff --git a/fonts/eiad/source/eiadr12.mf b/fonts/eiad/source/eiadr12.mf new file mode 100644 index 0000000000..710cb2ad4c --- /dev/null +++ b/fonts/eiad/source/eiadr12.mf @@ -0,0 +1,12 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eiadr12.mf: Computer Modern Irish 12 point +if unknown cmbase: input cmbase fi +font_identifier:="EIAD"; +design_size := 12; +font_size design_size*pt#; +input c-cmr; % compute size parameters for CMR family +generate gaelach % switch to the driver file + diff --git a/fonts/eiad/source/eiadr17.mf b/fonts/eiad/source/eiadr17.mf new file mode 100644 index 0000000000..5800ab1b29 --- /dev/null +++ b/fonts/eiad/source/eiadr17.mf @@ -0,0 +1,12 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eiadr17.mf: Computer Modern Irish 17 point +if unknown cmbase: input cmbase fi +font_identifier:="EIAD"; +design_size := 17; +font_size design_size*pt#; +input c-cmr; % compute size parameters for CMR family +generate gaelach % switch to the driver file + diff --git a/fonts/eiad/source/eiadsl10.mf b/fonts/eiad/source/eiadsl10.mf new file mode 100644 index 0000000000..da75d88452 --- /dev/null +++ b/fonts/eiad/source/eiadsl10.mf @@ -0,0 +1,13 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eiadsl10.mf: Irish Slanted 10 point +if unknown cmbase: input cmbase fi +font_identifier:="EIADSL"; +design_size := 10; +font_size design_size*pt#; +input c-cmr; % compute size parameters for CMR family +slant:=1/6; +generate gaelach % switch to the driver file + diff --git a/fonts/eiad/source/eiadsltt10.mf b/fonts/eiad/source/eiadsltt10.mf new file mode 100644 index 0000000000..e078cc497d --- /dev/null +++ b/fonts/eiad/source/eiadsltt10.mf @@ -0,0 +1,19 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% Irish Slanted Typewriter Text +if unknown cmbase: input cmbase fi + +design_size := 10; +font_identifier:="EIADSLTT"; font_size design_size * pt#; + +% This font is a modification of Computer Modern Typewriter Text. + +input c-cmtt; + +slant:= % tilt ratio $(\Delta x/\Delta y)$ + 1/6; + +generate gaelach % switch to the driver file + diff --git a/fonts/eiad/source/eiadss10.mf b/fonts/eiad/source/eiadss10.mf new file mode 100644 index 0000000000..c807a56b0c --- /dev/null +++ b/fonts/eiad/source/eiadss10.mf @@ -0,0 +1,12 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eiadss10.mf: Irish Sans Serif 10 point +if unknown cmbase: input cmbase fi +font_identifier:="EIADSS"; +design_size := 10; +font_size design_size*pt#; +input c-cmss; % compute size parameters for CMR family +generate gaelach % switch to the driver file + diff --git a/fonts/eiad/source/eiadssbx10.mf b/fonts/eiad/source/eiadssbx10.mf new file mode 100644 index 0000000000..6eb2b72052 --- /dev/null +++ b/fonts/eiad/source/eiadssbx10.mf @@ -0,0 +1,12 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eiadssbx10.mf: Irish Sans Serif Boldface Extended 10 point +if unknown cmbase: input cmbase fi +font_identifier:="EIADSSBX"; +design_size := 10; +font_size design_size*pt#; +input c-cmssbx; % compute size parameters for CMR family +generate gaelach % switch to the driver file + diff --git a/fonts/eiad/source/eiadssdc10.mf b/fonts/eiad/source/eiadssdc10.mf new file mode 100644 index 0000000000..5781f4b194 --- /dev/null +++ b/fonts/eiad/source/eiadssdc10.mf @@ -0,0 +1,79 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% Irish Sans Serif Demibold Condensed +if unknown cmbase: input cmbase fi +design_size:=10; +font_identifier:="EIADSSDC"; font_size design_size * pt#; + +u#:=(19*(design_size/10))/36pt#; % unit width +width_adj#:=(15*(design_size/10))/36pt#; % width adjustment for certain characters +serif_fit#:=(-8*(design_size/10))/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=(-9*(design_size/10))/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=(270*(design_size/10))/36pt#; % height of tallest characters +asc_height#:=(250*(design_size/10))/36pt#; % height of lowercase ascenders +cap_height#:=(250*(design_size/10))/36pt#; % height of caps +fig_height#:=(250*(design_size/10))/36pt#; % height of numerals +x_height#:=(170*(design_size/10))/36pt#; % height of lowercase without ascenders +math_axis#:=(95*(design_size/10))/36pt#; % axis of symmetry for math symbols +bar_height#:=(95*(design_size/10))/36pt#; % height of crossbar in lowercase e +comma_depth#:=(40*(design_size/10))/36pt#; % depth of comma below baseline +desc_depth#:=(60*(design_size/10))/36pt#; % depth of lowercase descenders + +crisp#:=(23*(design_size/10))/36pt#; % diameter of serif corners +tiny#:=(23*(design_size/10))/36pt#; % diameter of rounded corners +fine#:=(8*(design_size/10))/36pt#; % diameter of sharply rounded corners +thin_join#:=(8*(design_size/10))/36pt#; % width of extrafine details +hair#:=(40*(design_size/10))/36pt#; % lowercase hairline breadth +stem#:=(40*(design_size/10))/36pt#; % lowercase stem breadth +curve#:=(40*(design_size/10))/36pt#; % lowercase curve breadth +ess#:=(37*(design_size/10))/36pt#; % breadth in middle of lowercase s +flare#:=(31*(design_size/10))/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=(38*(design_size/10))/36pt#; % diameter of dots +cap_hair#:=(40*(design_size/10))/36pt#; % uppercase hairline breadth +cap_stem#:=(44*(design_size/10))/36pt#; % uppercase stem breadth +cap_curve#:=(44*(design_size/10))/36pt#; % uppercase curve breadth +cap_ess#:=(42*(design_size/10))/36pt#; % breadth in middle of uppercase s +rule_thickness#:=(25*(design_size/10))/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=(1.5*(design_size/10))/36pt#; % vertical protrusion of beak serifs +vair#:=(23*(design_size/10))/36pt#; % vertical diameter of hairlines +notch_cut#:=(40*(design_size/10))/36pt#; % maximum breadth above or below notches +bar#:=(23*(design_size/10))/36pt#; % lowercase bar thickness +slab#:=(31*(design_size/10))/36pt#; % serif and arm thickness +cap_bar#:=(29*(design_size/10))/36pt#; % uppercase bar thickness +cap_band#:=(27*(design_size/10))/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=(37*(design_size/10))/36pt#; % max breadth above/below uppercase notches +serif_drop#:=(2*(design_size/10))/36pt#; % vertical drop of sloped serifs +stem_corr#:=(1*(design_size/10))/36pt#; % for small refinements of stem breadth +vair_corr#:=(2*(design_size/10))/36pt#; % for small refinements of hairline height +apex_corr#:=(14*(design_size/10))/36pt#; % extra width at diagonal junctions + +o#:=(7*(design_size/10))/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.91; % factor applied to weights of heavy characters +math_spread:=.3; % extra openness of math symbols +superness:=.74; % parameter for superellipses +superpull:=1/18; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate gaelach % switch to the driver file diff --git a/fonts/eiad/source/eiadssi10.mf b/fonts/eiad/source/eiadssi10.mf new file mode 100644 index 0000000000..e52e10e518 --- /dev/null +++ b/fonts/eiad/source/eiadssi10.mf @@ -0,0 +1,14 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eiadssi10.mf: Irish Sans Serif Slanted 10 point +if unknown cmbase: input cmbase fi +font_identifier:="EIADSSI"; +design_size := 10; +font_size design_size*pt#; +input c-cmss; % compute size parameters for CMR family +slant:=sind 12/cosd 12; +generate gaelach % switch to the driver file + + diff --git a/fonts/eiad/source/eiadssq8.mf b/fonts/eiad/source/eiadssq8.mf new file mode 100644 index 0000000000..67d5304bf0 --- /dev/null +++ b/fonts/eiad/source/eiadssq8.mf @@ -0,0 +1,12 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eiadssq8.mf: Irish Sans Serif Quotation Style 8 point +if unknown cmbase: input cmbase fi +font_identifier:="EIADSSQ"; +design_size := 8; +font_size design_size*pt#; +input c-cmssq; % compute size parameters for CMR family +generate gaelach % switch to the driver file + diff --git a/fonts/eiad/source/eiadssqi8.mf b/fonts/eiad/source/eiadssqi8.mf new file mode 100644 index 0000000000..cffb65f654 --- /dev/null +++ b/fonts/eiad/source/eiadssqi8.mf @@ -0,0 +1,13 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eiadssqi8.mf: Irish Sans Serif Quotation Style Slanted 8 point +if unknown cmbase: input cmbase fi +font_identifier:="EIADSSQ"; +design_size := 8; +font_size design_size*pt#; +input c-cmssq; % compute size parameters for CMR family +slant:=sind 12/cosd 12; +generate gaelach % switch to the driver file + diff --git a/fonts/eiad/source/eiadtcsc10.mf b/fonts/eiad/source/eiadtcsc10.mf new file mode 100644 index 0000000000..c346a6ab47 --- /dev/null +++ b/fonts/eiad/source/eiadtcsc10.mf @@ -0,0 +1,93 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% Irish Typewriter Caps and Small Caps 10 point +if unknown cmbase: input cmbase fi + +design_size := 10; +font_identifier:="EIADTCSC"; font_size design_size * pt#; + +% first come parameters used to set the uppercase letters +% (including some for lowercase that aren't actually used) + +input c-cmtt; + +% now come replacements used to set the lowercase caps + +lower.u#:= % unit width + u#; + +lower.width_adj#:= % width adjustment for certain characters + width_adj#; + +lower.cap_serif_fit#:= % extra sidebar near uppercase serifs + cap_serif_fit#; + +lower.letter_fit#:= % extra space added to all sidebars + ((letter_fit#*360pt#) + (design_size * 3))/360pt#; + +lower.body_height#:= % height of tallest characters + (body_height#*36pt#*19)/(25*36pt#); + +lower.cap_height#:= % height of caps + (cap_height#*36pt#*17)/(22*36pt#); + +lower.x_height#:= % height of lowercase without ascenders + (x_height#*36pt#*12)/(15.5*36pt#); + +lower.bar_height#:= % height of crossbar in lowercase e + ((bar_height#*36pt#*62)+0.002)/(79*36pt#); + +lower.comma_depth#:= % depth of comma below baseline + (comma_depth#*360pt#*38)/(50*360pt#); + +lower.stem#:= % lowercase stem breadth + stem#; + +lower.flare#:= % diameter of bulbs or breadth of terminals + (flare#*360pt#*30)/(32*360pt#); + +lower.cap_hair#:= % uppercase hairline breadth + cap_hair#; + +lower.cap_stem#:= % uppercase stem breadth + cap_stem#; + +lower.cap_curve#:= % uppercase curve breadth + cap_curve#; + +lower.cap_ess#:= % breadth in middle of uppercase s + cap_ess#; + +lower.cap_jut#:= % protrusion of uppercase serifs + ((cap_jut#*360pt#*26)+0.01)/(34*360pt#); + +lower.beak_jut#:= % horizontal protrusion of beak serifs + beak_jut#; + +lower.beak#:= % vertical protrusion of beak serifs + ((beak#*360pt#*26)+0.01)/(34*360pt#); + +lower.slab#:= % serif and arm thickness + slab#; + +lower.cap_bar#:= % uppercase bar thickness + cap_bar#; + +lower.cap_band#:= % uppercase thickness above/below lobes + cap_band#; + +lower.cap_notch_cut#:= % max breadth above/below uppercase notches + (cap_notch_cut#*360pt#*24)/(25*360pt#); + +lower.o#:= % amount of overshoot for curves + ((o#*360pt#*3)-0.0018)/(4*360pt#); + +lower.apex_o#:= % amount of overshoot for diagonal junctions + (apex_o#*360pt#*2)/(3*360pt#); + +lower.fudge:= % factor applied to weights of heavy characters + ((fudge*10*85)+0.001)/(81*10); + +generate gaec7cb % switch to the driver file diff --git a/fonts/eiad/source/eiadtt10.mf b/fonts/eiad/source/eiadtt10.mf new file mode 100644 index 0000000000..7a92d71f1f --- /dev/null +++ b/fonts/eiad/source/eiadtt10.mf @@ -0,0 +1,11 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% Irish Typewriter Text +if unknown cmbase: input cmbase fi +font_identifier:="EIADTT"; +design_size := 10; +font_size design_size * pt#; +input c-cmtt; +generate gaelach % switch to the driver file diff --git a/fonts/eiad/source/eiadvtt10.mf b/fonts/eiad/source/eiadvtt10.mf new file mode 100644 index 0000000000..49e5056126 --- /dev/null +++ b/fonts/eiad/source/eiadvtt10.mf @@ -0,0 +1,21 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% Variable-Width Typewriter Irish Text +if unknown cmbase: input cmbase fi + +design_size:=10; +font_identifier:="EIADVTT"; font_size design_size * pt#; + +% This font is a simple modification of CMTT. + +input c-cmtt; + +ligs:= % level of ligatures to be included + 2; + +monospace:= % should all characters have the same width? + false; + +generate gaelach % switch to the driver file diff --git a/fonts/eiad/source/eira.mf b/fonts/eiad/source/eira.mf new file mode 100644 index 0000000000..7919d8d374 --- /dev/null +++ b/fonts/eiad/source/eira.mf @@ -0,0 +1,144 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eira.mf: Irish diacritics and macros + +ailm_fada := oct"033"; Ailm_fada := oct"003"; +eabhadh_fada := oct"034"; Eabhadh_fada := oct"004"; +iodha_fada := oct"035"; Iodha_fada := oct"005"; +oir_fada := oct"036"; Oir_fada := oct"006"; +uwr_fada := oct"037"; Uwr_fada := oct"007"; + +def fada(suffix $) = +x.fad1-x.fad2=3u; .5[x.fad1,x.fad2]=x$; +if serifs: pickup crisp.nib; + y.fad1+.5stem=h+eps; + y.fad2=max(2/3[h,x_height],x_height+o+hair,y$+o+.5tiny); + numeric theta; theta=angle(z.fad2-z.fad1)+90; + pos.fad1(stem,theta); pos.fad2(hair,theta); + filldraw circ_stroke z.fad1e--z.fad2e; % diagonal +else: pickup fine.nib; pos.fad1(stem,0); pos.fad2(vair,0); + top y.fad1=h; bot y.fad2=max(vround 2/3[h,x_height],y$r+o+.5tiny); + filldraw stroke z.fad1e--z.fad2e; fi % diagonal +penlabels(fad1,fad2); enddef; + +dot_diam# := max(dot_size#,cap_curve#); +beith_h := oct"166"; Beith_h := oct"126"; +coll_h := oct"153"; Coll_h := oct"113"; +dair_h := oct"152"; Dair_h := oct"112"; +fearn_h := oct"161"; Fearn_h := oct"121"; +gort_h := oct"171"; Gort_h := oct"131"; +muin_h := oct"167"; Muin_h := oct"127"; +peith_bhog_h := oct"040"; Peith_Bhog_h := oct"000"; +sail_h := oct"172"; Sail_h := oct"132"; +teine_h := oct"170"; Teine_h := oct"130"; +agus_lig := oct"031"; + +def gen_ponc (expr meawn) = +pickup tiny.nib; pos.ponc1(dot_diam,0); pos.ponc2(dot_diam,90); +x.ponc1=x.ponc2=meawn; +top y.ponc2r=h+1; +if bot y.ponc2l<x_height+o+slab: + y.ponc2l:=min(y.ponc2r-eps,x_height+o+slab+.5tiny); fi +y.ponc1=.5[y.ponc2l,y.ponc2r]; dot(ponc1,ponc2); % dot +penlabels(ponc1,ponc2); enddef; + +cmchar "Dot accent"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar(oct"032",5u#,min(old_asc_height#,10/7x_height#+.5dot_diam#),0); +define_whole_blacker_pixels(dot_diam); +italcorr h#*slant+.5dot_diam#-2u#; +adjust_fit(0,0); gen_ponc (.5w); endchar; + +def aspirate(suffix $) = gen_ponc (x$); enddef; + +def trasnawn(suffix $,@)(expr jut) = + pickup crisp.nib; pos@1(hround(hair-stem_corr),0); pos@2(bar,90); + lft x@0=lft x@1l=tiny.lft x$l; top y@1=tiny.top y$r; + lft x@2=lft x@0-jut; y@2r=y@1-serif_drop; + y@0=y@2l-bracket-eps; + if serif_drop>0: erase fill z@1--top z@1 + --(x@2r,top y@1)--z@2r--cycle; fi % erase excess at top + filldraw z@1l{down}...{left}z@2r--z@2l{right} + ...1/3[(x@0,y@2l),.5[z@2l,z@0] ]{z@0-z@2l} + ...{down}z@0--(x@1,y@0)--cycle; % sloped serif + z@3=(tiny.rt x$r,y@2); + erase fill top z@1r{right}...(x@3,y@2){down}--(x@3,top y@1r)--cycle; + labels(@0,@1,@2,@3); enddef; + +def guta_beag (expr ainm, achar) (suffix $) = + scantokens("cmchar") ainm; + beginchar (substring (0,1) of ainm, achar, x_height#, 0); + gen_letter; + endchar; + scantokens("cmchar") (ainm & " fada"); + beginchar (scantokens (ainm & "_fada"), + achar, min(old_asc_height#,2x_height#), 0); + gen_letter; fada ($); + endchar; +enddef; + +def guta_mowr (expr ainm, achar) (suffix $) = + scantokens("cmchar") ainm; + beginchar (substring (0,1) of ainm, achar, cap_height#, 0); + gen_letter; + endchar; + scantokens("cmchar") (ainm & " fada"); + beginchar (scantokens (ainm & "_fada")-guta_offset, + achar, cap_asc_height#, 0); + gen_letter; fada ($); + endchar; +enddef; + +def consan_beag (expr ainm, achar, doimh) (suffix $) = + scantokens("cmchar") ainm; + beginchar (substring (0,1) of ainm, achar, x_height#, doimh); + gen_letter; + endchar; + scantokens("cmchar") (ainm & " haitch"); + beginchar (scantokens (ainm & "_h"), achar, + min(old_asc_height#,10/7x_height#+.5dot_diam#), doimh); + gen_letter; aspirate ($); + endchar; +enddef; + +def consan_mowr (expr ainm, achar, doimh) (suffix $) = + scantokens("cmchar") ainm; + beginchar (substring (0,1) of ainm, achar, cap_height#, doimh); + gen_letter; + endchar; + scantokens("cmchar") (ainm & " haitch"); + beginchar (scantokens (ainm & "_h"), achar, cap_asc_height#, doimh); + gen_letter; aspirate ($); + endchar; +enddef; + +cmchar "agus"; +beginchar(agus_lig,8u#,x_height#,desc_depth#); +italcorr x_height#*slant; +adjust_fit(0,0); +numeric arm_thickness, bot_width, top_shift, top_hair; +if hefty: arm_thickness=Vround(slab+2stem_corr); top_shift=0; + bot_width=hround .51[curve,cap_curve]; top_hair=.4[thin_join,bot_width]; +else: arm_thickness=Vround .4[stem,cap_stem]; top_shift=.5u; + bot_width=flare; top_hair=cap_hair; fi +if top_hair<tiny.breadth: top_hair:=tiny.breadth; fi +pickup crisp.nib; +if arm_thickness<=2currentbreadth: arm_thickness:=2currentbreadth+eps; fi +pos2(.5arm_thickness,90); pos1(arm_thickness,70); +top y1r=top y2r=h; rt x2=hround(w-.75u+top_shift); +lft x1r=hround(.75u+.5top_shift); +filldraw stroke z1e{x2l-x1r,2(y2l-y1r)} .. z2e; +penpos2'(2epsilon,-90); z2'=z2r; +pickup tiny.nib; pos4(top_hair,0); +bot y4=max(h-arm_thickness,h-slab,bot y2l); rt x4r=crisp.rt x2; +pos5(top_hair,0); y5=-d; lft x5l=hround(5.5u+top_shift-.5top_hair); +if hefty: erase fill rt z4r--z4r...{down}z5r + --(rt x4r,y5)--cycle; % erase excess at top + filldraw stroke z4e...{down}z5e; % stroke +else: + erase fill rt z4r--z4r--z5r--(rt x4r,y5)--cycle; % erase excess at top + filldraw stroke z4e---z5e; fi % stroke +penlabels(1,2,4,5); endchar; + diff --git a/fonts/eiad/source/eirl.mf b/fonts/eiad/source/eirl.mf new file mode 100644 index 0000000000..e4d8fad717 --- /dev/null +++ b/fonts/eiad/source/eirl.mf @@ -0,0 +1,428 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eirl.mf: Irish lower case (minuscules) + +def gen_letter = +adjust_fit(serif_fit#-2stem_shift# if monospace:-.5u# fi, + serif_fit#-2stem_shift# if monospace:-.5u# fi); +numeric left_stem,right_stem,alpha,beta; +right_stem=curve-stem_corr; +left_stem=min(hair if hefty: -3stem_corr fi,right_stem); +x1l=w-x4r=l+letter_fit+.5u; y4=0; +y1=.1bar_height; +x2-x1=x4-x3+1.5u; x3r=x2r+apex_corr; y2=y3=x_height+apex_o+apex_oo; +alpha=diag_ratio(2,left_stem,y2-y1,x4r-x1l-apex_corr); +penpos1(alpha*left_stem,0); penpos2(alpha*left_stem,0); +penpos3(alpha*right_stem,0); penpos4(alpha*left_stem,0); +z0=whatever[z1r,z2r]=whatever[z3l,z4l]; +if y0<x_height-notch_cut: y0:=x_height-notch_cut; + fill z0+.5right{z4l-z3l}...{z4-z3}diag_end(3l,4l,1,1,4r,3r) + --diag_end(4r,3r,1,1,2l,1l)--diag_end(2l,1l,1,1,1r,2r){z2-z1} + ...{up}z0+.5left--cycle; % left and right diagonals +else: fill z0{z4r-z3r}..diag_end(0,4l,1,1,4r,3r)--diag_end(4r,3r,1,1,2l,1l) + --diag_end(2l,1l,1,1,1r,0)--cycle; fi % left and right diagonals +beta=angle(z1-z2); +penpos5(stem,beta); z5=whatever[z1,z2]; +penpos6(vair',angle(z4-z3)); z6=whatever[z3,z4]; +y5=.4[y1,y0]; y6=.4[y4,y0]; +penpos7(stem,beta); x7r=.5(w-u); bot y7r=-oo; +filldraw stroke z5e{z7r-z5l} ... z7e .. {z6l-z7r}z6e; +penlabels(0,1,2,3,4,5,6,7); enddef; + +guta_beag ("ailm", 10u#, 2); + +def gen_letter = +italcorr .7x_height#*slant+.5curve#-u#; +adjust_fit(serif_fit#,0); +pickup tiny.nib; +pos1(stem,0); pos2(stem,0); x1=x2; +lft x1l=hround(2.5u-.5stem); top y1=h; y2=.5x_height; +filldraw stroke z1e--z2e; % stem +if serifs: trasnawn(1,a,jut); fi % serif +pickup fine.nib; pos2'(stem,-180); pos3(vair,-90); +pos4(curve,0); pos5(vair,90); pos0(hair,180); +z0=z2=z2'; x3=x5=.5[x2,x4]; rt x4r=hround min(w-1.35u+.5curve,w-.6u); +bot y3r=-oo; top y5r=x_height+oo; y4=y2; +filldraw stroke pulled_arc.e(2',3) & pulled_arc.e(3,4) + & pulled_arc.e(4,5) & super_arc.e(5,0); % bowl +penlabels(0,1,2,3,4,5); enddef; + +cmchar "beith"; beginchar("b",10u#+serif_fit#,asc_height#,0); +gen_letter; endchar; + +cmchar "beith-h"; +beginchar(beith_h,10u#+serif_fit#,min(old_asc_height#,10/7x_height#+.5dot_diam#),0); +gen_letter; aspirate(5); endchar; + +def gen_letter = +italcorr x_height#*slant-.2u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +pickup fine.nib; pos2(vair',90); pos4(vair',270); +x2=x4=.5(w+u); top y2r=vround(x_height+1.5oo); bot y4r=-oo; +pos1(4/7[vair',flare],if serifs: 40 else: 80 fi); +rt x1r=hround(w-.6u); top y1r=vround .82[bar_height,top y2r]; +filldraw stroke term.e(2,1,right,.8,4); % upper terminal +pos3(curve,180); lft x3r=hround max(.6u,1.35u-.5curve); y3=.5x_height; +if serifs: + pos5(hair,-40); rt x5r=hround(w-.5u); + y5=max(good.y(.5bar_height-.9),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; + filldraw stroke pulled_super_arc.e(2,3)(.7superpull) + & pulled_super_arc.e(3,4)(.5superpull) + & term.e(4,5,right,.8,4); % arc and lower terminal +else: + pos5(.6[vair',flare],275); rt x5r=hround(w-.5u); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; + forsuffixes e=l,r: path p.e; p.e=z4e{right}..tension .9 and 1..z5e; + if angle direction 1 of p.e>75: + p.e:=z4e{right}..tension atleast.9 and 1..{dir 75}z5e; fi endfor + filldraw stroke pulled_super_arc.e(2,3)(.7superpull) + & pulled_super_arc.e(3,4)(.5superpull) & p.e; fi % arc and lower terminal +penlabels(1,2,3,4,5); enddef; + +consan_beag ("coll", if serifs: 8.5u# else: 8u# fi, 0, 4); + +def gen_letter = +italcorr x_height#*slant+.5stem#-u#; +adjust_fit(0,if monospace: .5u# else: 0 fi); +pickup fine.nib; +pos1(vair,90); pos2(curve,0); pos3(vair,-90); pos4(curve,-180); +x1=x3=.5[x2,x4]; w-rt x2r=hround max(.5u,1.25u-.5curve); +lft x4r=hround 2u; +y1r=x_height+vround 1.5oo; y2=y4=.5[y1,y3]; y3r=-oo; +filldraw circ_stroke pulled_arc.e(1,4) & pulled_arc.e(4,3) + & pulled_arc.e(3,2) & pulled_arc.e(2,1); % bowl +if serifs: pos8(hair,210); lft x8r=hround u; y8=x_height+apex_oo; + path arc; arc=z1l{left}..{z8-z2}z8r; + pos9(slab,-60); lft x9l=.5u; y9r=.8x_height; + filldraw z8r{down}..z9l--z9r{z1-z9}..subpath(.4,0) of arc + --z1r{left}..{z8-z2}z8l--cycle; % lower barb +else: pos6(vstem,80); x6=.5u; top y6r=top y1r+oo; + filldraw stroke z6e{z2l-z6r} .. {right}z1e; fi % ear +penlabels(1,2,3,4,6,8,9); enddef; + +consan_beag ("dair", 11u#, 0, 1); + +def gen_letter = +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +numeric left_curve,right_curve; +left_curve=right_curve+6stem_corr=curve if not serifs: -3stem_corr fi; +if right_curve<tiny.breadth: right_curve:=tiny.breadth; fi +if left_curve<tiny.breadth: left_curve:=tiny.breadth; fi +pickup tiny.nib; pos1(right_curve,0); +pos2(vair,90); pos3(left_curve,180); +y1=good.y bar_height; top y2r=x_height+vround 1.5oo; y0l=bot y1; +rt x1r=hround min(w-1.5u,w-2u+.5right_curve); +lft x3r=hround max(.5u,1.25u-.5left_curve); x2=.5[x3l,x1l]; +{{interim superness:=more_super; + filldraw stroke super_arc.e(1,2)}}; % right bowl +y3=.5[y2,y4]; bot y4r=-oo; +if serifs: pos4(vair',270); pos5(hair,360); x4=x2; + y5=max(good.y(.5bar_height-.9),y4l+vair); x5r=x1r; + (x,y4l)=whatever[z4r,z5]; x4l:=min(x,x4l+.5u); + filldraw stroke pulled_arc.e(2,3) & pulled_arc.e(3,4) + ...{x5-x4,5(y5-y4)}z5e; % left bowl, arc, and terminal +else: pos4(vair,270); x4=.5w+.5u; + filldraw stroke super_arc.e(2,3) & super_arc.e(3,4); % left bowl and arc + pickup fine.nib; pos4'(vair,270); z4=z4'; + pos5(.5[vair,flare],275); rt x5r=hround(w-1.6u); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke term.e(4',5,right,1,4); fi % terminal +path testpath; testpath=super_arc.r(2,3) & super_arc.r(3,4); +y1'r=y0r=y0l+.6[thin_join,vair]; y1'l=y0l; x1'l=x1'r=w-.5u; +forsuffixes $=l,r: + x0$=xpart(((0,y0$)--(x1,y0$)) intersectionpoint testpath); endfor +fill stroke z0e--z1'e; % crossbar +penlabels(0,1,1',2,3,4,5); enddef; + +guta_beag ("eabhadh", 9u#, 2); + +def gen_sail = +italcorr x_height#*slant if not serifs:+.25u# fi; +adjust_fit(serif_fit#+stem_shift#,0); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +numeric shaved_stem; shaved_stem=hround(stem-2stem_corr); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); pos3(4/7[vair',flare],40); +lft x1l=hround(2.5u-.5stem); x1l=x1'l=x2l=x2'l; rt x3r=hround(w-.6u); +top y1=x_height+min(oo,serif_drop); bot y2=-d; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem + y3=1/2[bar_height,x_height]; + penpos2''(x2r-x2l,0); x2''=x2; y2''=1/8[bar_height,x_height]; + filldraw stroke z2''e--z2e; % thicken the lower left stem + penpos.a0(min(rt x2r-lft x2l,thin_join)-fine,180); pickup fine.nib; + rt x.a0l=tiny.rt x2r; y.a0=y2''; + pos.a1(vair,90); pos3'(4/7[vair',flare]+tiny,40); z3'=z3; + x.a1=.5[rt x.a0l,rt x3'r]; top y.a1r=x_height+oo; + (x.a,y.a1l)=whatever[z.a1r,z.a0l]; x.a1l:=x.a; + filldraw stroke z.a0e{up}...{right}z.a1e + &{{interim superness:=hein_super; super_arc.e(a1,3')}}; % arch +if serifs: trasnawn(1',b,jut); fi % upper left serif +labels(a0); penlabels(a1,1,2,3,4); enddef; + +def gen_letter = +numeric arm_thickness; arm_thickness=hround .9[vair,.85stem]; +gen_sail; +pickup crisp.nib; bot y13l=bot y14l=.25bar_height; +pos13(arm_thickness,90); pos14(arm_thickness,90); +lft x13=x1; rt x14=x3l; filldraw stroke z13e--z14e; % bar +penlabels(13,14); enddef; + +consan_beag ("fearn", 10u#, desc_depth#, a1); + +def gen_letter = +italcorr x_height#*slant+.25u#; +adjust_fit(0,0); +numeric arm_thickness; arm_thickness=hround .9[vair,.85stem]; +numeric s_slab; s_slab=if serifs:vair else:Vround .1[vair,stem] fi; +numeric ess'; ess'=max(fine.breadth,ess); +pickup crisp.nib; pos17(arm_thickness,90); pos18(arm_thickness,90); +top y17r=top y18r=x_height; rt x17=hround(w-.8u); lft x18r=hround .9u; +filldraw stroke z17e--z18e; +numeric theta; theta=90-angle(40u,x_height); +slope:=-x_height/40u; % angle at middle +pickup fine.nib; pos0(ess',theta); pos7(s_slab,-90); x0=x7=.5w; +bot y7r=-d-oo; +pos2(s_slab,-90); z2=(x17-u,y17); +lft x3l=hround 2u; rt x6r=hround(w-1.4u); +x3r-x3l=x6r-x6l=hround .5[s_slab,ess']-fine; +pos12(s_slab,-90); z12=.5[z17l,z18l]; +y0=.5[y7l,y12r]; +ellipse_set(12l,3l,4l,0l); ellipse_set(12r,3r,4r,0r); y3=y3r; +ellipse_set(7l,6l,5l,0l); ellipse_set(7r,6r,5r,0r); y6=y6r; +interim superness:=more_super; +filldraw stroke super_arc.e(2,3) & z3e{down} + ..z4e---z5e..z6e{down} & super_arc.e(6,7); % main stroke +if serifs: + pos9(slab,-70); lft x9l=hround 1.25u; bot y9r=good.y-5/6d; + pos8(hair,180); x8=x9+u; y8=apex_oo; + path arc; arc=z7r{left}....{up}z8r; + filldraw z8r{down}..z9l--z9r...subpath(.3,0) of arc + --z7l{left}....{up}z8l--cycle; % barb +else: pos8(.5[vair,flare],-100); + lft x8r=hround 1.25u; bot y8r=good.y-5/6d; + filldraw stroke term.e(7,8,left,1,4); fi % arc and terminal +penlabels(0,2,3,4,5,6,7,8,9,10,12,17,18); enddef; + +consan_beag ("gort", 11u#, desc_depth#, 12); + +cmchar "uath"; +beginchar("h",10.5u#,asc_height#,0); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#, + serif_fit#-2stem_shift# if monospace:-.5u# fi); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos1'(stem',0); pos2'(stem',0); pos3(stem,0); +lft x1l=hround(2.5u-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=h; bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,a,3,4); % arch and right stem +if serifs: trasnawn(1',b,jut); % upper left serif + numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi fi +penlabels(1,2,3,4); endchar; + +def gen_letter = +italcorr h#*slant-serif_fit#-2u#; +adjust_fit(serif_fit#+stem_shift# if monospace:+.25u#fi, + serif_fit#-2stem_shift# if monospace:-.5u# fi); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +if odd(w-stem'): change_width; fi +lft x1l=hround(.5w-.5stem'); x1=x2; +top y1=x_height if serifs: +min(oo,serif_drop) fi; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs: trasnawn(1,a,jut); fi % upper serif +penlabels(1,2,3,4); enddef; + +guta_beag ("iodha", 5u#, 1); + +cmchar "luis"; +beginchar("l",7.5u#,asc_height#,0); +italcorr x_height#*slant if serifs: -.9u# else: -.4u# fi; +adjust_fit(serif_fit#+stem_shift#,if serifs: 0 else: -.5u# fi); +pickup tiny.nib; pos1(stem',180); pos2(stem',180); +lft x1r=lft x2r=hround(2.5u-.5stem); +top y1=h; y2=max(.5bar_height,2vair); +filldraw stroke z1e--z2e; +pickup fine.nib; interim superness:=more_super; +pos3(stem',180); z3=z2; +pos4(vair',-90); bot y4r=-oo; rt x5r=hround(w-u); +if serifs: pos5(hair,0); y5=y3; x4l=.5[x3l,x5l]; + (x,y4r)=whatever[z4l,z5l]; x4r:=max(x,.5[x3r,x4]); + filldraw stroke super_arc.e(3,4)...{up}z5e; % stem and hook +else: pos5(vair,-75); top y5l=vround .2[top y4l,bar_height]; + x5l:=good.x x5l; x4l=1/3[x3l,x5l]; x4r:=1/3[x3r,x5r]; y3l:=y3l+.2vair; + filldraw stroke z3e..super_arc.e(3,4); % stem and hook + path p; p=stroke z4e{right}..tension .9 and atleast 1..z5e; % terminal + if (xpart(z5l-precontrol 1 of p)<0) or (xpart(z5r-postcontrol 2 of p)<0): + filldraw stroke z4e{right}...{up}z5e; + else: filldraw p; fi fi; +if serifs: z1l=z1'r; z1r=z1'l; trasnawn(1',a,jut); fi % upper serif +penlabels(1,2,3,4,5); endchar; + +def gen_letter = +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#, + serif_fit#-2stem_shift# if monospace:-.5u# fi); +numeric shaved_stem; shaved_stem=hround(mfudged.stem-2stem_corr); +pickup tiny.nib; pos1(mfudged.stem,0); pos2(mfudged.stem,0); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); +pos3(mfudged.stem,0); pos5(mfudged.stem,0); +lft x1l=hround(2.5u-.5stem); x1l=x1'l=x2l=x2'l; +lft x3l=hround(.5w-.5stem); x5-x3=x3-x1; +%if not monospace: r:=hround(x5+x1)+l; fi % change width for better fit +top y1=x_height+min(oo,serif_drop); bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,a,3,4); % left arch and middle stem +h_stroke(4,b,5,6); % right arch and right stem +if serifs: trasnawn(1',c,jut); fi % upper left serif +penlabels(1,2,3,4,5,6); enddef; + +consan_beag ("muin", 15u#, 0, 3); + +cmchar "nuin"; +beginchar("n",10.5u#,x_height#,0); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#, + serif_fit#-2stem_shift# if monospace:-.5u# fi); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +numeric shaved_stem; shaved_stem=hround(stem-2stem_corr); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); pos3(stem,0); +lft x1l=hround(2.5u-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=h+min(oo,serif_drop); bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,a,3,4); % arch and right stem +if serifs: trasnawn(1',b,jut); fi % upper left serif +penlabels(1,2,3,4); endchar; + +def gen_letter = +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +penpos1(vair,90); penpos3(vair',-90); +penpos2(curve,180); penpos4(curve,0); +x2r=hround max(.5u,1.25u-.5curve); +x4r=w-x2r; x1=x3=.5w; y1r=x_height+vround 1.5oo; y3r=-oo; +y2=y4=.5x_height-vair_corr; y2l:=y4l:=.52x_height; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +penlabels(1,2,3,4); enddef; + +guta_beag ("oir", 9u#, 1); + +def gen_letter = +italcorr .5x_height#*slant+min(.5curve#-.85u#,-.1u#); +adjust_fit(serif_fit#,0); +pickup tiny.nib; pos1(stem',0); pos2(stem,0); +pos0'(stem',0); pos0(stem,0); z0l=z0'l; x0'=x1; x0=x2; +lft x1l=hround(2.5u-.5stem'); +top y1=x_height if serifs: +min(oo,serif_drop) fi; +numeric edge; edge=rt x2r; +pickup fine.nib; pos3(if hefty:thin_join else: hair fi,180); +pos4(vair',90); pos5(curve,0); pos6(vair,-90); +rt x3l=hround(2.5u-.5stem')+stem'; y0=y3; top y3=bar_height; +x4l=w-.5(w-serif_fit)+.5u; top y4r=x_height+oo; +rt x5r=hround min(w-1.35u+.5curve,w-.6u); y5=.5x_height; +x6l=x4l+u; bot y6r=-oo; +(x,y4r)=whatever[z3l,z4l]; x4r:=min(x,.5[x5r,x4]); +%(x',y6r)=whatever[z7l,z6l]; x6r:=min(x',.5[x5r,x6]); +%x6r:=x6r-x4r+x4l; +filldraw stroke z3e{up}...{right}z4e&super_arc.e(4,5) + &super_arc.e(5,6)&z6e{left}; % bowl +if serifs: + pos9(slab,-70); lft x9l=rt x3l+.5u; y9r=.05x_height; + pos8(hair,180); x8=x9+u; top y8=vround .3x_height-1; + path arc; arc=z6r{left}....{up}z8r; + filldraw z8r{down}..z9l--z9r...subpath(.3,0) of arc + --z6l{left}....{up}z8l--cycle; % barb +else: pos8(1.2flare,-100); + lft x8r=rt x3l+hround .5u; bot y8r=vround .1x_height-o; + filldraw stroke term.e(6,8,left,1,4); fi % arc and terminal +pickup tiny.nib; bot y2=-d; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +if serifs: trasnawn(1,a,jut); fi % upper serif +penlabels(0,1,2,3,4,5,6,8,9); enddef; + +consan_beag ("peith_bhog", 10.5u#+serif_fit#, desc_depth#, 4); + +cmchar "ruis"; +beginchar("r",9u#,x_height#,desc_depth#); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +numeric shaved_stem; shaved_stem=hround(stem-2stem_corr); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); pos3(vair,0); +lft x1l=hround(2.5u-.5stem); x1l=x1'l=x2l=x2'l; rt x3r=w-u; y3=0; +top y1=h+min(oo,serif_drop); bot y2=-d; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem + penpos2''(x2r-x2l,0); x2''=x2; y2''=bar_height; + filldraw stroke z2''e--z2e; % thicken the lower left stem + penpos5(min(rt x2r-lft x2l,thin_join)-fine,180); pickup fine.nib; + rt x5l=tiny.rt x2r; y5=y2''; + pos6(vair,90); x6=.8[rt x5l,rt x3r]; top y6r=x_height+oo; + pos4(stem,angle(z6-z5)); z4r=z6r; + filldraw stroke z5e--z6e--z4e..z4e-(0,x_height-bar_height)...z3e; +if serifs: trasnawn(1',b,jut); fi % upper left serif +penlabels(1,2,3,4,5,6); endchar; + +let gen_letter = gen_sail; +consan_beag ("sail", 10u#, desc_depth#, a1); + +def gen_letter = +italcorr .8x_height#*slant-.4u#; +adjust_fit(0,0); +numeric arm_thickness, hair_vair; arm_thickness=hround .9[vair,.85stem]; +hair_vair=min(.25[vair,hair],arm_thickness); +pickup crisp.nib; pos7(arm_thickness,90); pos8(arm_thickness,90); +top y7r=top y8r=x_height; rt x7=hround(w-.8u); lft x8r=hround .9u; +filldraw stroke z7e--z8e; +pickup fine.nib; pos2(min(vair',arm_thickness),90); pos4(vair',270); +x2=x4=.5(w+u); bot y2l=crisp.bot y7l; bot y4r=-oo; +pos3(curve,180); lft x3r=w-rt x5r+.5u=hround 2.1u; y3=.5[y2l,y4l]; +if serifs: + pos5(hair,-40); + y5=max(good.y(.5bar_height-.9),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; + filldraw stroke pulled_super_arc.e(2,3)(.7superpull) + & pulled_super_arc.e(3,4)(.5superpull) + & term.e(4,5,right,.8,4); % arc and lower terminal +else: + pos5(.6[vair',flare],275); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; + forsuffixes e=l,r: path p.e; p.e=z4e{right}..tension .9 and 1..z5e; + if angle direction 1 of p.e>75: + p.e:=z4e{right}..tension atleast.9 and 1..{dir 75}z5e; fi endfor + filldraw stroke pulled_super_arc.e(2,3)(.7superpull) + & pulled_super_arc.e(3,4)(.5superpull) & p.e; fi % arc and lower terminal +penlabels(2,3,4,5,7,8); enddef; + +consan_beag ("teine", 10.5u#, 0, 4); + +def gen_letter = +italcorr x_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#, + serif_fit#-2stem_shift# if monospace:-.5u# fi); +numeric light_vair; light_vair=vair if hefty: -vround 2vair_corr fi; +if light_vair<fine.breadth: light_vair:=fine.breadth; fi +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem',0); +lft x1l=hround(2.5u-.5stem); x1=x2; x3=w-x1; x3r=x4r; +if serifs: top y1=x_height+min(oo,serif_drop); bot y4=-min(oo,serif_drop); +else: top y1=x_height; bot y4=0; fi +pos0(stem,0); pos0'(stem',0); x0=x3; x0'=x4; y0=y0'; +penpos2'(stem-fine,-180); z2'=z2; y3=y1; y2=.5bar_height; +penpos5(max(eps,light_vair-fine),-90); penpos6(thin_join-fine,0); +y6=y0=bar_height; %2/3bar_height; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e..z0e--z0'e..z4e; % right stem +pickup fine.nib; bot y5r=-oo; x5l=.5w-.25u; lft x6l=tiny.lft x0l; +(x,y5r)=whatever[z5l,z6l]; x5r:=max(x,.5[x5,x2'r]); +filldraw stroke {{interim superness:=hein_super; + pulled_arc.e(2',5)}} & z5e{right}...{up}z6e; % arc +if serifs: trasnawn(1,a,jut); % upper left serif + pickup tiny.nib; trasnawn(3,b,jut); fi % upper right serif +penlabels(1,2,3,4,5); labels(6); enddef; + +guta_beag ("uwr", 10.5u#, 5); diff --git a/fonts/eiad/source/eiru.mf b/fonts/eiad/source/eiru.mf new file mode 100644 index 0000000000..da88c35d03 --- /dev/null +++ b/fonts/eiad/source/eiru.mf @@ -0,0 +1,485 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% eiru.mf: Irish upper case (majuscules) + +def cap_h_stroke(suffix $,@,@@,$$) = + penpos$$(x@@r-x@@l,0); x$$=x@@; bot y$$=0; + y@@=1/3[x_height,cap_height]; + penpos$''(x$r-x$l,0); x$''=x$; y$''=x_height; + filldraw stroke z$''e--z$e; % thicken the lower left stem + penpos@0(min(rt x$r-lft x$l,thin_join)-fine,180); pickup fine.nib; + rt x@0l=tiny.rt x$r; y@0=y$''; + pos@1(vair,90); pos@@'(x@@r-x@@l+tiny,0); z@@'=z@@; + x@1=.5[rt x@0l,rt x@@'r]; top y@1r=cap_height+oo; + (x@,y@1l)=whatever[z@1r,z@0l]; x@1l:=x@; + filldraw stroke z@0e{x@1-x@0,1.5(y@1-y@0)}...{right}z@1e + &{{interim superness:=hein_super; super_arc.e(@1,@@')}}; % arch + pickup tiny.nib; filldraw stroke z@@e--z$$e; % right stem + labels(@0); penlabels(@1); enddef; + +def saillipse_set(suffix $,@,@@,$$) = + alpha_:=slope*(x@-x$); beta_:=y$$-y$-slope*(x$$-x$); + gamma_:=alpha_/beta_; + x@@-x$=-2gamma_*(x@-x$)/(1+gamma_*gamma_); + y@@-y$$=slope*(x@@-x$$) enddef; + +def gen_letter = +adjust_fit(cap_serif_fit#-2stem_shift# if monospace:-.5u# fi, + cap_serif_fit#-2stem_shift# if monospace:-.5u# fi); +numeric left_stem,right_stem,outer_jut,alpha,beta; +right_stem=cap_curve-stem_corr; +left_stem=min(cap_hair if hefty: -3stem_corr fi,right_stem); +outer_jut=.8cap_jut; x1l=w-x4r=l+letter_fit+.5u; y4=0; +y1=.1x_height; +x2-x1=x4-x3+2.5u; x3r=x2r+apex_corr; y2=y3=cap_height+apex_o+apex_oo; +alpha=diag_ratio(2,left_stem,y2-y1,x4r-x1l-apex_corr); +penpos1(alpha*left_stem,0); penpos2(alpha*left_stem,0); +penpos3(alpha*right_stem,0); penpos4(alpha*left_stem,0); +z0=whatever[z1r,z2r]=whatever[z3l,z4l]; +if y0<cap_height-cap_notch_cut: y0:=cap_height-cap_notch_cut; + fill z0+.5right{z4l-z3l}...{z4-z3}diag_end(3l,4l,1,1,4r,3r) + --diag_end(4r,3r,1,1,2l,1l)--diag_end(2l,1l,1,1,1r,2r){z2-z1} + ...{up}z0+.5left--cycle; % left and right diagonals +else: fill z0{z4r-z3r}..diag_end(0,4l,1,1,4r,3r)--diag_end(4r,3r,1,1,2l,1l) + --diag_end(2l,1l,1,1,1r,0)--cycle; fi % left and right diagonals +beta=angle(z1-z2); +penpos5(cap_stem,beta); z5=whatever[z1,z2]; +penpos6(cap_band,angle(z4-z3)); z6=whatever[z3,z4]; +y5=.4[y1,y0]; y6=.4[y4,y0]; +penpos7(cap_stem,beta); x7r=.5(w-u); bot y7r=-oo; +filldraw stroke z5e{z7r-z5l} ... z7e .. {z6l-z7r}z6e; +penlabels(0,1,2,3,4,5,6,7); enddef; + +guta_mowr ("Ailm", 14u#, 2); + +def gen_letter = +italcorr .7cap_height#*slant+.5curve#-u#; +adjust_fit(cap_serif_fit#,0); pickup tiny.nib; +pos1(cap_stem,0); pos2(cap_stem,0); x1=x2; +lft x1l=hround 2.5u-.5cap_stem; +top y1=h; y2=bar_height; y4=.5cap_height; +filldraw stroke z1e--z2e; % stem +if serifs: trasnawn(1,a,cap_jut); fi % serif +pickup fine.nib; pos2'(cap_stem,-180); pos3(vair,-90); +pos4(cap_curve,0); pos5(vair,90); pos0(hair,180); +z0=z2=z2'; x3=x5-.5u=.5[x2,x4]; rt x4r=hround min(w-1.35u+.5curve,w-.6u); +bot y3r=-oo; top y5r=cap_height+oo; +filldraw stroke pulled_arc.e(2',3) & pulled_arc.e(3,4) + & pulled_arc.e(4,5) & super_arc.e(5,0); % bowl +penlabels(0,1,2,3,4,5); enddef; + +cmchar "Beith"; +beginchar("B",12.5u#,cap_asc_height#,0); gen_letter; endchar; + +cmchar "Beith-h"; +beginchar(Beith_h,12.5u#,cap_asc_height#,0); +gen_letter; aspirate(5); endchar; + +def gen_letter = +italcorr cap_height#*slant-.5u#; +adjust_fit(0,0); pickup fine.nib; +pos3(cap_curve,180); y3=.5cap_height; +if serifs: + pos1(1.2flare,40); pos2(vair',90); + pos4(vair',270); pos5(hair,-40); + x2=x4=.5(w+u); top y2r=vround(cap_height+1.5oo); bot y4r=-oo; + rt x1r=hround(w-.6u); top y1r=vround .7[bar_height,top y2r]; + filldraw stroke term.e(2,1,right,.8,4); % upper terminal + lft x3r=hround u; + rt x5r=hround(w-.5u); + y5=max(good.y .95(cap_height-y1),y4l+eps); + (x,y4l)=whatever[z4r,z5l]; + filldraw stroke pulled_super_arc.e(2,3)(.7superpull) + & pulled_super_arc.e(3,4)(.5superpull) & term.e(4,5,right,.8,4); +else: + pos1(1.2flare,80); pos2(slab,90); + pos4(slab,270); pos5(flare,275); + rt x1r=hround(w-1.1u); x2=x4=.5w+1.25u; + lft x3r=hround max(u,2u-.5cap_curve); rt x5r=hround(w-.9u); + top y1r=vround .95cap_height+o; top y2r=cap_height+o; bot y4r=-o; + bot y5r=vround .08cap_height-o; y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke rterm.e(2,1,right,.9,4) & super_arc.e(2,3) + & super_arc.e(3,4) & term.e(4,5,right,.8,4); fi % arc and terminals +penlabels(1,2,3,4,5); enddef; + +consan_mowr ("Coll", 11.5u#, 0, 4); + +def gen_letter = +italcorr cap_height#*slant+.5cap_stem#-u#; +adjust_fit(0,0); pickup fine.nib; +pos1(vair,90); pos2(cap_curve,0); pos3(vair,-90); pos4(cap_curve,-180); +x1=x3=.5[x2,x4]; w-rt x2r=hround if monospace: 1.5u else: u fi; +lft x4r=hround 2.5u; +y1r=cap_height+o; y2=y4=.5[y1,y3]; y3r=-o; +filldraw circ_stroke pulled_arc.e(1,4) & pulled_arc.e(4,3) + & pulled_arc.e(3,2) & pulled_arc.e(2,1); % bowl +if serifs: pos8(hair,210); lft x8r=hround u; y8=cap_height+apex_o; + path arc; arc=z1l{left}..{z8-z2}z8r; + pos9(slab,-60); lft x9l=.5u; y9r=.8cap_height; + filldraw z8r{down}..z9l--z9r{z1-z9}..subpath(.4,0) of arc + --z1r{left}..{z8-z2}z8l--cycle; % lower barb +else: pos6(cap_vstem,80); x6=.5u; top y6r=top y1r+oo; + filldraw stroke z6e{z2l-z6r} .. {right}z1e; fi % ear +penlabels(1,2,3,4,6,8,9); enddef; + +consan_mowr ("Dair", 14u#, 0, 1); + +def gen_letter = +italcorr .5[x_height#,cap_height#]*slant+.5min(cap_curve#-1.5u#,0); +adjust_fit(0,0); +numeric left_curve,right_curve; +left_curve=right_curve+6stem_corr=cap_curve if not serifs: -3stem_corr fi; +if right_curve<tiny.breadth: right_curve:=tiny.breadth; fi +if left_curve<tiny.breadth: left_curve:=tiny.breadth; fi +pickup fine.nib; pos1(right_curve,0); +pos2(vair,90); pos3(left_curve,180); +y1=vround .52cap_height; +top y2r=cap_height+vround 1.5oo; y0l=bot y1l; +lft x3r=hround hround u; +rt x1r=hround min(w-1.5u,w-2u+.5right_curve); x2=.5[x3l,x1l]; +{{interim superness:=more_super; + filldraw stroke super_arc.e(1,2)}}; % right bowl +y3=.5[y2,y4]; bot y4r=-oo; +if serifs: pos4(vair',270); pos5(hair,360); x4=x2; + y5=max(good.y(.26cap_height-.9),y4l+vair); x5r=x1r; + (x,y4l)=whatever[z4r,z5]; x4l:=min(x,x4l+.5u); + filldraw stroke pulled_arc.e(2,3) & pulled_arc.e(3,4) + ...{x5-x4,5(y5-y4)}z5e; % left bowl, arc, and terminal +else: pos4(slab,270); x4=.5w+.5u; + filldraw stroke super_arc.e(2,3) & super_arc.e(3,4); % left bowl and arc + pos5(flare,275); rt x5r=hround(w-1.6u); + bot y5r=vround .08cap_height-o; + filldraw stroke term.e(4,5,right,1,4); fi % terminal +path testpath; testpath=super_arc.r(2,3) & super_arc.r(3,4); +y1'r=y0r=y0l+cap_bar; y1'l=y0l; x1'l=x1'r=w-.5u; +forsuffixes $=l,r: + x0$=xpart(((0,y0$)--(x1,y0$)) intersectionpoint testpath); endfor +fill stroke z0e--z1'e; % crossbar +penlabels(0,1,1',2,3,4,5); enddef; + +guta_mowr ("Eabhadh", 12u#, 2); + +def gen_letter = +italcorr cap_height#*slant if not serifs:+.25u# fi; +adjust_fit(cap_serif_fit#,0); +numeric arm_thickness; arm_thickness=hround .9[vair,.85cap_stem]; +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +numeric shaved_stem; shaved_stem=hround(cap_stem-2stem_corr); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); pos3(1.2flare,40); +lft x1l=hround(2.5u-.5cap_stem); x1l=x1'l=x2l=x2'l; rt x3r=hround(w-1.1u); +top y1=cap_height+min(oo,serif_drop); bot y2=-d; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +top y3r=vround .3[x_height,cap_height]; +penpos2''(x2r-x2l,0); x2''=x2; y2''=x_height; +filldraw stroke z2''e--z2e; % thicken the lower left stem +penpos.a0(min(rt x2r-lft x2l,thin_join)-fine,180); pickup fine.nib; +rt x.a0l=tiny.rt x2r; y.a0=y2''; +pos.a1(vair,90); pos3'(1.2flare+tiny,40); z3'=z3; +x.a1=.5[rt x.a0l,rt x3'r]; top y.a1r=cap_height+oo; +(x.a,y.a1l)=whatever[z.a1r,z.a0l]; x.a1l:=x.a; +filldraw stroke z.a0e{x.a1-x.a0,1.5(y.a1-y.a0)}...{right}z.a1e + &{{interim superness:=hein_super; super_arc.e(a1,3')}}; % arch +if serifs: trasnawn(1',b,cap_jut); fi % upper left serif +pickup crisp.nib; pos13(arm_thickness,90); pos14(arm_thickness,90); +bot y13l=bot y14l=.25x_height; lft x13=x1; +rt x14=x3l; filldraw stroke z13e--z14e; % bar +labels(a0); penlabels(a1,1,2,3,4,13,14); enddef; + +consan_mowr ("Fearn", 13u#+.5width_adj#, desc_depth#, a1); + +def gen_letter = +italcorr cap_height#*slant+.25u#; +adjust_fit(0,0); +numeric arm_thickness; arm_thickness=hround .9[vair,.85cap_stem]; +numeric s_slab; s_slab=if serifs:slab else:vround .2[slab,cap_stem] fi; +numeric ess'; ess'=max(fine.breadth,cap_ess); +pickup crisp.nib; pos17(arm_thickness,90); pos18(arm_thickness,90); +top y17r=top y18r=cap_height; rt x17=hround(w-.8u); lft x18r=hround .9u; +filldraw stroke z17e--z18e; +numeric theta; theta=90-angle(50u,cap_height); +slope:=-cap_height/50u; % angle at middle +pickup fine.nib; +pos0(ess',theta); pos7(s_slab,-90); +2x0=w; x7-.5w=if serifs: u else: 0 fi; bot y7r=-d-o; +pos2(max(fine.breadth,s_slab-vround vair_corr),-90); z2=(x17-u,y17); +y0=.5[y7l,y12r]; +lft x3l=hround 2.5u; rt x6r=hround(w-1.4u); +x3r-x3l=x6r-x6l=hround .5[s_slab,ess']-fine; +pos12(s_slab,-90); z12=.5[z17l,z18l]; +ellipse_set(12l,3l,4l,0l); ellipse_set(12r,3r,4r,0r); y3=y3r; +ellipse_set(7l,6l,5l,0l); ellipse_set(7r,6r,5r,0r); y6=y6r; +filldraw stroke super_arc.e(2,3) & z3e{down} + ..z4e---z5e..z6e{down} & super_arc.e(6,7); % main stroke +if serifs: + pos9(slab,-70); lft x9l=hround 1.25u; bot y9r=good.y-5/6d; + pos8(hair,180); x8=x9+1.5u; y8=apex_o; + path arc; arc=z7r{left}....{up}z8r; + filldraw z8r{down}..z9l--z9r...subpath(.3,0) of arc + --z7l{left}....{up}z8l--cycle; % barb +else: pos8(1.2flare,-100); + lft x8r=hround 1.25u; bot y8r=good.y-5/6d; + filldraw stroke term.e(7,8,left,1,4); fi % arc and terminal +penlabels(0,2,3,4,5,6,7,8,9,10,12,17,18); enddef; + +consan_mowr ("Gort", 13u#, desc_depth#, 12); + +cmchar "Uath"; +beginchar("H",13u#+.5width_adj#,cap_asc_height#,0); +italcorr .5[x_height#,cap_height#]*slant-cap_serif_fit#+.5cap_stem#-2u#; +adjust_fit(cap_serif_fit#, + cap_serif_fit#-2stem_shift# if monospace:-.5u# fi); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +numeric shaved_stem; shaved_stem=hround(cap_stem-2stem_corr); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); pos3(cap_stem,0); +lft x1l=hround(2.5u-.5cap_stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=h+min(oo,serif_drop); bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +cap_h_stroke(2,a,3,4); % arch and right stem +if serifs: trasnawn(1',b,cap_jut); fi % upper left serif +penlabels(1,2,3,4); endchar; + +def gen_letter = +italcorr cap_height#*slant-.25u#; +adjust_fit(cap_serif_fit#, + cap_serif_fit#-2stem_shift# if monospace:-.5u# fi); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround(.5w-.5cap_stem); top y1=cap_height; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs: trasnawn(1,a,cap_jut); fi % upper serif +penlabels(1,2); enddef; + +guta_mowr ("Iodha", max(6u#,4u#+cap_stem#), 1); + +cmchar "Luis"; +beginchar("L",10u#,cap_asc_height#,0); +italcorr x_height#*slant if serifs: -.9u# else: -.4u# fi; +adjust_fit(cap_serif_fit#,if serifs: 0 else: -.5u# fi); +pickup tiny.nib; pos1(cap_stem,180); pos2(cap_stem,180); +lft x1r=lft x2r=hround max(2u,3u-.5cap_stem); +top y1=h; y2=max(.5bar_height,2vair); +filldraw stroke z1e--z2e; +pickup fine.nib; interim superness:=more_super; +pos3(cap_stem,180); z3=z2; +pos4(vair',-90); bot y4r=-o; rt x5r=hround(w-u); +if serifs: pos5(hair,0); y5=y3; x4l=.5[x3l,x5l]; + (x,y4r)=whatever[z4l,z5l]; x4r:=max(x,.5[x3r,x4]); + filldraw stroke super_arc.e(3,4)...{up}z5e; % stem and hook +else: pos5(vair,-75); top y5l=vround .2[top y4l,bar_height]; + x5l:=good.x x5l; x4l=1/3[x3l,x5l]; x4r:=1/3[x3r,x5r]; y3l:=y3l+.2vair; + filldraw stroke z3e..super_arc.e(3,4); % stem and hook + path p; p=stroke z4e{right}..tension .9 and atleast 1..z5e; % terminal + if (xpart(z5l-precontrol 1 of p)<0) or (xpart(z5r-postcontrol 2 of p)<0): + filldraw stroke z4e{right}...{up}z5e; + else: filldraw p; fi fi; +if serifs: + z1l=z1'r; z1r=z1'l; trasnawn(1',a,jut); fi % upper serif +penlabels(1,2,3,4,5); endchar; + +def gen_letter = +italcorr .5[x_height#,cap_height]*slant-cap_serif_fit#+.5cap_stem#-2u#; +adjust_fit(cap_serif_fit#, + cap_serif_fit#-2stem_shift# if monospace:-.5u# fi); +numeric mfudged_stem; mfudged_stem=hround(cap_stem-stem_corr); +numeric shaved_stem; shaved_stem=hround(cap_stem-stem_corr); +pickup tiny.nib; pos1(mfudged_stem,0); pos2(mfudged_stem,0); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); +pos3(mfudged_stem,0); pos5(mfudged_stem,0); +lft x1l=hround(2.5u-.5cap_stem); x1l=x1'l=x2l=x2'l; +lft x3l=hround(.5w-.5cap_stem); x5-x3=x3-x1; +%if not monospace: r:=hround(x5+x1)+l; fi % change width for better fit +top y1=cap_height+min(oo,serif_drop); bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +cap_h_stroke(2,a,3,4); % left arch and middle stem +cap_h_stroke(4,b,5,6); % right arch and right stem +if serifs: trasnawn(1',c,cap_jut); fi % upper left serif +penlabels(1,2,3,4,5,6); enddef; + +consan_mowr ("Muin", 17u#, 0, 3); + +cmchar "Nuin"; +beginchar("N",13u#+.5width_adj#,cap_height#,0); +italcorr .5[x_height#,cap_height#]*slant-cap_serif_fit#+.5cap_stem#-2u#; +adjust_fit(cap_serif_fit#, + cap_serif_fit#-2stem_shift# if monospace:-.5u# fi); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +numeric shaved_stem; shaved_stem=hround(cap_stem-2stem_corr); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); pos3(cap_stem,0); +lft x1l=hround(2.5u-.5cap_stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=h+min(oo,serif_drop); bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +cap_h_stroke(2,a,3,4); % arch and right stem +if serifs: trasnawn(1',b,cap_jut); fi % upper left serif +penlabels(1,2,3,4); endchar; + +def gen_letter = +italcorr .7cap_height#*slant-.5u#; +adjust_fit(0,0); +penpos1(vair',90); penpos3(vround(vair+1.5vair_corr),-90); +penpos2(cap_curve,180); penpos4(cap_curve,0); +if monospace: x2r=hround 1.5u; + interim superness:=sqrt superness; % make |"O"|, not |"0"| +else: x2r=hround u; fi +x4r=w-x2r; x1=x3=.5w; y1r=cap_height+o; y3r=-o; +y2=y4=.5cap_height-vair_corr; y2l:=y4l:=.52cap_height; +penstroke pulled_super_arc.e(1,2)(.5superpull) + & pulled_super_arc.e(2,3)(.5superpull) + & pulled_super_arc.e(3,4)(.5superpull) + & pulled_super_arc.e(4,1)(.5superpull) & cycle; % bowl +penlabels(1,2,3,4); enddef; + +guta_mowr ("Oir", 13u#-width_adj#, 1); + +def gen_letter = +italcorr .5cap_height#*slant+min(.5curve#-.85u#,-.1u#); +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem,0); +pos0'(cap_stem',0); pos0(cap_stem,0); z0l=z0'l; x0'=x1; +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem'); top y1=cap_height; bot y2=-d; +numeric edge; edge=rt x2r; +pickup fine.nib; pos3(if hefty:thin_join else: hair fi,180); +pos4(vair',90); pos5(cap_curve,0); pos6(vair,-90); +rt x3l=hround max(2u,3u-.5cap_stem')+cap_stem'; +y0=y3=.58cap_height; +x4l=w-.5(w-serif_fit)+.5u; top y4r=cap_height+oo; +rt x5r=hround min(w-1.35u+.5curve,w-.6u); y5=.5[y4l,y6l]; +x6l=x4l+u; bot y6=-oo; +(x,y4r)=whatever[z3l,z4l]; x4r:=min(x,.5[x5r,x4]); +filldraw stroke z3e{up}...{right}z4e&super_arc.e(4,5) + &super_arc.e(5,6)&z6e{left}; % bowl +if serifs: + pos9(slab,-70); lft x9l=rt x3l+.8u; y9r=.05cap_height; + pos8(hair,180); x8=x9+1.5u; top y8=vround .3cap_height-1; + path arc; arc=z6r{left}....{up}z8r; + filldraw z8r{down}..z9l--z9r...subpath(.3,0) of arc + --z6l{left}....{up}z8l--cycle; % barb +else: pos8(1.2flare,-100); + lft x8r=rt x3l+hround .8u; bot y8r=vround .1cap_height-o; + filldraw stroke term.e(6,8,left,1,4); fi % arc and terminal +pickup tiny.nib; +filldraw stroke z1e--z0e--z0'e--z2e; % stem +if serifs: trasnawn(1,a,cap_jut); fi % upper serif +penlabels(0,1,2,3,4,5,6,8,9); enddef; + +consan_mowr ("Peith_Bhog", 12.5u#+.5max(2u#,cap_curve#), desc_depth#, 4); + +cmchar "Ruis"; +beginchar("R",if serifs: 12u#+.5max(2u#,cap_curve#) + else:12.5u#-.5width_adj# fi,cap_height#,0); +italcorr .75cap_height#*slant- if serifs: 1.75 else: .5 fi\\ u#; +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem'); top y1=h; bot y2=0; +numeric edge; edge=rt x2r; +pickup fine.nib; pos3(if hefty:thin_join else: hair fi,180); +rt x3l=max(rt x3l-(lft x3r-tiny.lft x2l), 1/3[rt x2,edge]); +y3=.7cap_height; +pos4(vair',90); pos5(cap_curve if hefty:-3stem_corr fi,0); +pos6(vair,-90); +top y4r=cap_height+oo; +if serifs: x4=.5w-.5u; x5r=hround(w-2.25u); +else: x4=.5w+.5u; x5r=hround(w-u); fi +y5=.4[y4l,y6l]; +x6=x3+2.5u; y6=vround(.5h-.5vair); +(x,y4r)=whatever[z3l,z4l]; x4r:=min(x,.5[x5r,x4]); +filldraw stroke z3e{up}...{right}z4e&super_arc.e(4,5)&pulled_arc.e(5,6); +pickup tiny.nib; filldraw stroke z1e--z2e; % stem +if serifs: pos6'(vair,-90); pos0(cap_stem,180); + pos8(cap_curve,180); pos9(vair,-90); pos10(hair,0); + z6'=z6; lft x0r=lft x8r-.1u=hround(x5-.5cap_curve); + y8=1/3[y2,y6]; y0=3/5[y2,y6]; x9=.5[x8l,x10r]; + bot y9r=-o; rt x10r=hround(w+.2u); y10=1/10[y2,y6]; + filldraw stroke z6'e{right}..z0e---z8e....z9e{right}..z10e{up}; % tail + trasnawn(1,a,cap_jut); % upper serif +else: penpos8(cap_stem-2stem_corr,0); penpos9(cap_stem,0); + x8l=x6+.5u; y8=y6; x9r=hround(w-.5u); y9=0; + fill z8l--diag_end(8l,9l,.5,1,9r,8r)--z8r--cycle; fi % tail +penlabels(0,1,2,3,4,5,6,8,9,10); endchar; + +def gen_letter = +italcorr cap_height#*slant-u#; +adjust_fit(0,0); +numeric theta; theta=90-angle(50u,cap_height); +slope:=-cap_height/50u; % angle at middle +numeric s_slab; s_slab=if serifs:slab else:vround .2[slab,cap_stem] fi; +numeric ess'; ess'=max(fine.breadth,cap_ess); +pickup fine.nib; pos2(max(fine.breadth,s_slab-vround vair_corr),-90); +pos0(s_slab,theta); pos7(s_slab,-90); +x2+x7=2x0=w; x7-x2=if serifs: u else: 0 fi; top y2l=cap_height+o; bot y7r=-o; +y0=.52cap_height; lft x3l=hround u; rt x6r=hround(w-u); +pos3(cap_curve,slope); pos6(cap_curve,slope); +ellipse_set(2l,3l,4l,0l); saillipse_set(2r,3r,4r,0r); +ellipse_set(7l,6l,5l,0l); saillipse_set(7r,6r,5r,0r); +filldraw stroke super_arc.e(2,3) & z3e{down}..z4e---z5e..z6e{down}; +filldraw stroke super_arc.e(7,6); % main stroke +if serifs: pos1(hair,180); pos8(hair,180); + rt x1l=hround(w-2u); lft x8r=hround 2u; + bot y1=vround .7cap_height+1; top y8=vround .3cap_height-1; + path upper_arc, lower_arc; + upper_arc=z1l{x2l-x1l,10(y2l-y1l)}....{left}z2l; + lower_arc=z7r{left}....{up}z8r; + pos10(slab,-70); pos9(slab,-70); + x10r=x6r; y10l=.95cap_height; x9l=x3l; y9r=.05cap_height; + filldraw z1l{up}..z10r--z10l..subpath(.6,1) of upper_arc + --z2r{right}....{x1-x2,10(y1-y2)}z1r--cycle; % upper barb + filldraw z8r{down}..z9l--z9r..subpath(.4,0) of lower_arc + --z7l{left}....{up}z8l--cycle; % lower barb +else: pos1(1.2flare,-100); pos8(1.2flare,-100); + x1l=good.x(x1l+w-1.75u-rt x1); lft x8r=hround .8u; + top y1l=vround .93cap_height+o; bot y8r=vround .1cap_height-o; + filldraw stroke term.e(2,1,right,.9,4); % upper arc and terminal + filldraw stroke term.e(7,8,left,1,4); fi % lower arc and terminal +penlabels(0,1,2,3,4,5,6,7,8,9,10); enddef; + +consan_mowr ("Sail", 11u#, 0, 2); + +def gen_letter = +italcorr .8cap_height#*slant-.4u#; +adjust_fit(0,0); +numeric arm_thickness, hair_vair; arm_thickness=hround .9[vair,.85cap_stem]; +hair_vair=min(.25[vair,hair],arm_thickness); +pickup crisp.nib; pos7(arm_thickness,90); pos8(arm_thickness,90); +top y7r=top y8r=cap_height; rt x7=hround(w-.8u); lft x8r=hround .9u; +filldraw stroke z7e--z8e; +pickup fine.nib; pos2(min(vair',arm_thickness),90); +x2=x4=.5(w+u); bot y2l=crisp.bot y7l; bot y4r=-oo; +pos3(cap_curve,180); +if serifs: pos4(vair',270); pos5(hair,-40); +y5=max(good.y(.3x_height-.9),y4l+vair'); +else: pos4(slab,270); pos5(flare,275); +bot y5r=vround .08cap_height-o; fi +lft x3r=w-rt x5r=hround 1.9u; y3=.5[y2l,y4l]; +(x,y4l)=whatever[z4r,z5l]; +filldraw stroke pulled_super_arc.e(2,3)(.7superpull) + & pulled_super_arc.e(3,4)(.5superpull) & term.e(4,5,right,.8,4); +penlabels(2,3,4,5,7,8); enddef; + +consan_mowr ("Teine", 13.5u#, 0, 4); + +def gen_letter = +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(cap_serif_fit#, + cap_serif_fit#-2stem_shift# if monospace:-.5u# fi); +numeric light_vair; light_vair=vair if hefty: -vround 2vair_corr fi; +if light_vair<fine.breadth: light_vair:=fine.breadth; fi +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +pos3(cap_stem,0); pos4(cap_stem',0); +lft x1l=hround(2.5u-.5cap_stem); x1=x2; x3=w-x1; x3r=x4r; +if serifs: top y1=cap_height+min(oo,serif_drop); bot y4=-min(oo,serif_drop); +else: top y1=cap_height; bot y4=0; fi +pos0(cap_stem,0); pos0'(cap_stem',0); x0=x3; x0'=x4; y0=y0'; +penpos2'(cap_stem-fine,-180); z2'=z2; y3=y1; y2=.5x_height; +penpos5(max(eps,light_vair-fine),-90); penpos6(thin_join-fine,0); +y6=y0=bar_height; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e..z0e--z0'e..z4e; % right stem +pickup fine.nib; bot y5r=-oo; x5l=.5w-.25u; lft x6l=tiny.lft x0l; +(x,y5r)=whatever[z5l,z6l]; x5r:=max(x,.5[x5,x2'r]); +filldraw stroke {{interim superness:=hein_super; + pulled_arc.e(2',5)}} & z5e{right}...{up}z6e; % arc +if serifs: trasnawn(1,a,cap_jut); % upper left serif + pickup tiny.nib; trasnawn(3,b,cap_jut); fi % upper right serif +penlabels(1,2,3,4,5); labels(6); enddef; + +guta_mowr ("Uwr", 13u#+.5width_adj#, 5); diff --git a/fonts/eiad/source/gaec7cb.mf b/fonts/eiad/source/gaec7cb.mf new file mode 100644 index 0000000000..f2ceb2d3d1 --- /dev/null +++ b/fonts/eiad/source/gaec7cb.mf @@ -0,0 +1,87 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% gaem7mb.mf +% Irish Caps and Small Caps: Driver File + +spanish_shriek=oct"016"; spanish_query=oct"017"; +cap_asc_height#:=1.15cap_height#; +cap_height#:=max(.85cap_height#,45/38x_height#); +old_asc_height#:=asc_height#; +asc_height#:=max(.85asc_height#,44/38x_height#); +lower.cap_asc_height#:=cap_asc_height#*lower.cap_height#/x_height#; +serif_drop#:=max(0,6serif_drop#); + +mode_setup; font_setup; +define_whole_vertical_pixels(cap_asc_height,old_asc_height); + +guta_offset := 0; +input eira; % diacritics and macros +input eiru; % upper case (majuscules) +input romand; % numerals +input italp; % ampersand, question marks, currency sign +input punct; % punctuation symbols common to roman and italic text +{{interim ligs:=0; input accent;}}; % accents common to roman and italic text +if ligs>0: + underbar = ASCII "_"; input comlig; fi % ligatures common with italic text +input romsub; % substitutes for ligatures + +%%% fine lower +forsuffixes $= u, width_adj, cap_serif_fit, letter_fit, + body_height, cap_asc_height, cap_height, x_height, bar_height, + comma_depth, flare, cap_hair, stem, cap_stem, cap_curve, cap_ess, + cap_jut, beak_jut, beak, slab, cap_bar, cap_band, cap_notch_cut, + o, apex_o: $.#:=lower.$.#; endfor +fudge:=lower.fudge; +font_setup; % now try again with |lower| settings +extra_endchar:=extra_endchar&"charcode:=charcode+code_offset"; +code_offset:=ASCII"a" - ASCII"A"; guta_offset:=8; +input eiru; % majuscules (in lowercase positions) + +ligtable "!": "`" =: spanish_shriek; +ligtable "?": "`" =: spanish_query; +font_slant slant; font_x_height x_height#; +if monospace: font_normal_space 9u#; % no stretching or shrinking + font_quad 18u#; + font_extra_space 9u#; +else: font_normal_space 6u#+2letter_fit#; + font_normal_stretch 3u#; font_normal_shrink 2u#; + font_quad 18u#+4letter_fit#; + font_extra_space 2u#; +% k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning +fi + +ligtable "7": "`" =: agus_lig; +ligtable "a": "/" =: ailm_fada; +ligtable "b": "h" =: beith_h; +ligtable "c": "h" =: coll_h; +ligtable "d": "h" =: dair_h; +ligtable "e": "/" =: eabhadh_fada; +ligtable "f": "h" =: fearn_h; +ligtable "g": "h" =: gort_h; +ligtable "i": "/" =: iodha_fada; +ligtable "m": "h" =: muin_h; +ligtable "o": "/" =: oir_fada; +ligtable "p": "h" =: peith_bhog_h; +ligtable "s": "h" =: sail_h; +ligtable "t": "h" =: teine_h; +ligtable "u": "/" =: uwr_fada; + +ligtable "A": "/" =: Ailm_fada; +ligtable "B": "h" =: Beith_h, "H" =: Beith_h; +ligtable "C": "h" =: Coll_h, "H" =: Coll_h; +ligtable "D": "h" =: Dair_h, "H" =: Dair_h; +ligtable "E": "/" =: Eabhadh_fada; +ligtable "F": "h" =: Fearn_h, "H" =: Fearn_h; +ligtable "G": "h" =: Gort_h, "H" =: Gort_h; +ligtable "I": "/" =: Iodha_fada; +ligtable "M": "h" =: Muin_h, "H" =: Muin_h; +ligtable "O": "/" =: Oir_fada; +ligtable "S": "h" =: Sail_h, "H" =: Sail_h; +ligtable "T": "h" =: Teine_h, "H" =: Teine_h; +ligtable "U": "/" =: Uwr_fada; + + % there are ligature/kern programs + % for |"-"|, |"`"|, and |"'"| in the {\tt comlig} file +bye. diff --git a/fonts/eiad/source/gaelach.mf b/fonts/eiad/source/gaelach.mf new file mode 100644 index 0000000000..96f5880429 --- /dev/null +++ b/fonts/eiad/source/gaelach.mf @@ -0,0 +1,75 @@ +%% This file is public domain. +%% Originally written 1998, Ivan A Derzhanski. +%% Notice added by Clea F. Rees 2009/01/06. +%% +% gaelach.mf +% Computer Modern Irish: Driver File + +spanish_shriek=oct"016"; spanish_query=oct"017"; +cap_asc_height#:=1.15cap_height#; +cap_height#:=max(.85cap_height#,45/38x_height#); +old_asc_height#:=asc_height#; +asc_height#:=max(.85asc_height#,44/38x_height#); +serif_drop#:=max(0,6serif_drop#); + +mode_setup; font_setup; +define_whole_vertical_pixels(cap_asc_height,old_asc_height); + +guta_offset := 0; +input eira; % diacritics and macros +input eiru; % upper case (majuscules) +input eirl; % lower case (minuscules) +input romand; % numerals +input italp; % ampersand, question marks, currency sign +input punct; % punctuation symbols common to roman and italic text +{{interim ligs:=0; input accent;}}; % accents common to roman and italic text +if ligs>0: + underbar = ASCII "_"; input comlig; fi % ligatures common with italic text +input romsub; % substitutes for ligatures + +ligtable "!": "`" =: spanish_shriek; +ligtable "?": "`" =: spanish_query; +font_slant slant; font_x_height x_height#; +if monospace: font_normal_space 9u#; % no stretching or shrinking + font_quad 18u#; + font_extra_space 9u#; +else: font_normal_space 6u#+2letter_fit#; + font_normal_stretch 3u#; font_normal_shrink 2u#; + font_quad 18u#+4letter_fit#; + font_extra_space 2u#; +% k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning +fi + +ligtable "7": "`" =: agus_lig; +ligtable "a": "/" =: ailm_fada; +ligtable "b": "h" =: beith_h; +ligtable "c": "h" =: coll_h; +ligtable "d": "h" =: dair_h; +ligtable "e": "/" =: eabhadh_fada; +ligtable "f": "h" =: fearn_h; +ligtable "g": "h" =: gort_h; +ligtable "i": "/" =: iodha_fada; +ligtable "m": "h" =: muin_h; +ligtable "o": "/" =: oir_fada; +ligtable "p": "h" =: peith_bhog_h; +ligtable "s": "h" =: sail_h; +ligtable "t": "h" =: teine_h; +ligtable "u": "/" =: uwr_fada; + +ligtable "A": "/" =: Ailm_fada; +ligtable "B": "h" =: Beith_h, "H" =: Beith_h; +ligtable "C": "h" =: Coll_h, "H" =: Coll_h; +ligtable "D": "h" =: Dair_h, "H" =: Dair_h; +ligtable "E": "/" =: Eabhadh_fada; +ligtable "F": "h" =: Fearn_h, "H" =: Fearn_h; +ligtable "G": "h" =: Gort_h, "H" =: Gort_h; +ligtable "I": "/" =: Iodha_fada; +ligtable "M": "h" =: Muin_h, "H" =: Muin_h; +ligtable "O": "/" =: Oir_fada; +ligtable "S": "h" =: Sail_h, "H" =: Sail_h; +ligtable "T": "h" =: Teine_h, "H" =: Teine_h; +ligtable "U": "/" =: Uwr_fada; + + % there are ligature/kern programs + % for |"-"|, |"`"|, and |"'"| in the {\tt comlig} file +bye. |