| 1 |
if unknown cmbase: input cmbase fi |
| 2 |
input ygotbase; % -sl 15-3-1991 |
| 3 |
|
| 4 |
font_identifier:="ygoth"; font_size 10pt#; |
| 5 |
|
| 6 |
u#:=20/36pt#; % unit width |
| 7 |
width_adj#:=0pt#; % width adjustment for certain characters |
| 8 |
serif_fit#:=0pt#; % extra sidebar near lowercase serifs |
| 9 |
cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs |
| 10 |
letter_fit#:=0pt#; % extra space added to all sidebars |
| 11 |
|
| 12 |
body_height#:=270/36pt#; % height of tallest characters |
| 13 |
asc_height#:=250/36pt#; % height of lowercase ascenders |
| 14 |
cap_height#:=246/36pt#; % height of caps |
| 15 |
fig_height#:=232/36pt#; % height of numerals |
| 16 |
x_height#:=170/36pt#; % height of lowercase without ascenders |
| 17 |
%x_height#:=155/36pt#; % height of lowercase without ascenders |
| 18 |
math_axis#:=90/36pt#; % axis of symmetry for math symbols |
| 19 |
bar_height#:=87/36pt#; % height of crossbar in lowercase e |
| 20 |
comma_depth#:=70/36pt#; % depth of comma below baseline |
| 21 |
desc_depth#:=70/36pt#; % depth of lowercase descenders |
| 22 |
|
| 23 |
crisp#:=0pt#; % diameter of serif corners |
| 24 |
tiny#:=8/36pt#; % diameter of rounded corners |
| 25 |
fine#:=7/36pt#; % diameter of sharply rounded corners |
| 26 |
thin_join#:=7/36pt#; % width of extrafine details |
| 27 |
hair#:=8/36pt#; % lowercase hairline breadth |
| 28 |
%hair#:=9/36pt#; % lowercase hairline breadth |
| 29 |
%stem#:=25/36pt#; % lowercase stem breadth |
| 30 |
stem#:=30/36pt#; % lowercase stem breadth |
| 31 |
curve#:=30/36pt#; % lowercase curve breadth |
| 32 |
ess#:=27/36pt#; % breadth in middle of lowercase s |
| 33 |
flare#:=33/36pt#; % diameter of bulbs or breadth of terminals |
| 34 |
dot_size#:=38/36pt#; % diameter of dots |
| 35 |
%cap_hair#:=11/36pt#; % uppercase hairline breadth |
| 36 |
cap_hair#:=8/36pt#; |
| 37 |
cap_amount#:=8/36pt#; |
| 38 |
%cap_stem#:=32/36pt#; % uppercase stem breadth |
| 39 |
cap_stem#:=36/36pt#; |
| 40 |
cap_curve#:=37/36pt#; % uppercase curve breadth |
| 41 |
cap_ess#:=35/36pt#; % breadth in middle of uppercase s |
| 42 |
rule_thickness#:=.4pt#; % thickness of lines in math symbols |
| 43 |
|
| 44 |
dish#:=1/36pt#; % amount erased at top or bottom of serifs |
| 45 |
bracket#:=20/36pt#; % vertical distance from serif base to tangent |
| 46 |
jut#:=28/36pt#; % protrusion of lowercase serifs |
| 47 |
cap_jut#:=37/36pt#; % protrusion of uppercase serifs |
| 48 |
beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs |
| 49 |
beak#:=70/36pt#; % vertical protrusion of beak serifs |
| 50 |
vair#:=8/36pt#; % vertical diameter of hairlines |
| 51 |
notch_cut#:=10pt#; % maximum breadth above or below notches |
| 52 |
bar#:=11/36pt#; % lowercase bar thickness |
| 53 |
slab#:=11/36pt#; % serif and arm thickness |
| 54 |
cap_bar#:=11/36pt#; % uppercase bar thickness |
| 55 |
cap_band#:=11/36pt#; % uppercase thickness above/below lobes |
| 56 |
cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches |
| 57 |
serif_drop#:=4/36pt#; % vertical drop of sloped serifs |
| 58 |
stem_corr#:=1/36pt#; % for small refinements of stem breadth |
| 59 |
vair_corr#:=1/36pt#; % for small refinements of hairline height |
| 60 |
apex_corr#:=0pt#; % extra width at diagonal junctions |
| 61 |
|
| 62 |
o#:=8/36pt#; % amount of overshoot for curves |
| 63 |
apex_o#:=8/36pt#; % amount of overshoot for diagonal junctions |
| 64 |
|
| 65 |
slant:=0; % tilt ratio $(\Delta x/\Delta y)$ |
| 66 |
fudge:=1; % factor applied to weights of heavy characters |
| 67 |
math_spread:=0; % extra openness of math symbols |
| 68 |
superness:=1/sqrt2; % parameter for superellipses |
| 69 |
superpull:=1/6; % extra openness inside bowls |
| 70 |
beak_darkness:=11/30; % fraction of triangle inside beak serifs |
| 71 |
ligs:=2; % level of ligatures to be included |
| 72 |
|
| 73 |
square_dots:=false; % should dots be square? |
| 74 |
hefty:=false; % should we try hard not to be overweight? |
| 75 |
serifs:=true; % should serifs and bulbs be attached? |
| 76 |
monospace:=false; % should all characters have the same width? |
| 77 |
variant_g:=false; % should an italic-style g be used? |
| 78 |
low_asterisk:=false; % should the asterisk be centered at the axis? |
| 79 |
math_fitting:=false; % should math-mode spacing be used? |
| 80 |
|
| 81 |
mode_setup; |
| 82 |
font_setup; |
| 83 |
cap_amount:=8/36pt; |
| 84 |
foot:=27/36pt; |
| 85 |
num_height:=1.242x_height; |
| 86 |
boolean ligature; ligature:=false; |
| 87 |
|
| 88 |
|
| 89 |
%readfrom("ygothbase"); % -sl 15-3-1991 |
| 90 |
%readfrom("ygothgen_l"); % -sl 15-3-1991 |
| 91 |
input ygothgen % -sl 15-3-1991 |
| 92 |
%generate ycurrent; % switch to the driver file% |
| 93 |
%generate ygothupper; % switch to the driver file |
| 94 |
generate ygothupp; % -sl 15-3-1991 |
| 95 |
%generate ygothlower; |
| 96 |
generate ygothlow; % -sl 15-3-1991 |
| 97 |
generate ygothlig; |
| 98 |
generate ygothnum; |
| 99 |
%generate ygothmisc; |
| 100 |
generate ygothmis; % -sl 15-3-1991 |
| 101 |
|
| 102 |
font_slant slant; font_x_height x_height#; |
| 103 |
font_normal_space 6u#+2letter_fit#; |
| 104 |
font_normal_stretch 3u#; font_normal_shrink 2u#; |
| 105 |
font_quad 18u#+4letter_fit#; |
| 106 |
font_extra_space 2u#; |
| 107 |
|
| 108 |
ligtable oct"140": "s"=:oct"052", "t"=:oct"075", "`"=:oct"137"; |
| 109 |
ligtable oct"052": "i"=:oct"057"; |
| 110 |
ligtable "a": "e"=:oct"032"; |
| 111 |
ligtable "b": "e"=:oct"001", "a"=:oct"000", "o"=:oct"002"; |
| 112 |
ligtable "c": "h"=:oct"003", "k"=:oct"004", "t"=:oct"005"; |
| 113 |
ligtable "d": "e"=:oct"007", "a"=:oct"006", "o"=:oct"010"; |
| 114 |
ligtable "h": "e"=:oct"012", "a"=:oct"011", "o"=:oct"022"; |
| 115 |
ligtable "i": "j"=:oct"026"; |
| 116 |
ligtable "f": "i"=:oct"014", "f"=:oct"013", "l"=:oct"015"; |
| 117 |
%"'" kern itc#, "?" kern itc#, "!" kern itc#, ")" kern itc#, "]" kern itc#; |
| 118 |
ligtable oct"013": "i"=:oct"016", "l"=:oct"017"; |
| 119 |
%"'" kern itc#, "?" kern itc#, "!" kern itc#, ")" kern itc#, "]" kern itc#; |
| 120 |
ligtable "l": "l"=:oct"035"; |
| 121 |
ligtable "p": "p"=:oct"043", "e"=:oct"024","a"=:oct"023","o"=:oct"025"; |
| 122 |
ligtable "q": "q"=:oct"044", "z"=:oct"027"; |
| 123 |
ligtable "s": "s"=:oct"046", "t"=:oct"074", "z"=:oct"031", ":"=:oct"140", |
| 124 |
"i" kern -u#; |
| 125 |
ligtable "o": "e"=:oct"033"; |
| 126 |
ligtable oct"046": "i"=:oct"053"; |
| 127 |
ligtable "t": "z"=:oct"076"; |
| 128 |
ligtable "v": "e"=:oct"036", "a"=:oct"030", "u"=:oct"037"; |
| 129 |
ligtable "-": "-"=:oct"173"; |
| 130 |
ligtable oct"173": "-"=:oct"174"; |
| 131 |
ligtable "'": "'"=:oct"042"; |
| 132 |
ligtable oct"042": "a"=:oct"133", "e"=:oct"134", "o"=:oct"135", "u"=:oct"136", |
| 133 |
"s"=:oct"031"; |
| 134 |
end. |