| 1 |
u#:=20/36pt#; % unit width |
| 2 |
lower_u#:=20/36pt#; |
| 3 |
|
| 4 |
width_adj#:=0pt#; % width adjustment for certain characters |
| 5 |
serif_fit#:=0pt#; % extra sidebar near lowercase serifs |
| 6 |
cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs |
| 7 |
letter_fit#:=0pt#; % extra space added to all sidebars |
| 8 |
|
| 9 |
body_height#:=270/36pt#; % height of tallest characters |
| 10 |
asc_height#:=250/36pt#; % height of lowercase ascenders |
| 11 |
cap_height#:=246/36pt#; % height of caps |
| 12 |
fig_height#:=232/36pt#; % height of numerals |
| 13 |
x_height#:=167/36pt#; % height of lowercase without ascenders |
| 14 |
%x_height#:=155/36pt#; % height of lowercase without ascenders |
| 15 |
math_axis#:=90/36pt#; % axis of symmetry for math symbols |
| 16 |
bar_height#:=87/36pt#; % height of crossbar in lowercase e |
| 17 |
comma_depth#:=70/36pt#; % depth of comma below baseline |
| 18 |
desc_depth#:=70/36pt#; % depth of lowercase descenders |
| 19 |
|
| 20 |
crisp#:=0pt#; % diameter of serif corners |
| 21 |
tiny#:=8/36pt#; % diameter of rounded corners |
| 22 |
fine#:=7/36pt#; % diameter of sharply rounded corners |
| 23 |
thin_join#:=7/36pt#; % width of extrafine details |
| 24 |
hair#:=7/36pt#; % lowercase hairline breadth |
| 25 |
%hair#:=9/36pt#; % lowercase hairline breadth |
| 26 |
%stem#:=25/36pt#; % lowercase stem breadth |
| 27 |
stem#:=24/36pt#; % lowercase stem breadth |
| 28 |
curve#:=30/36pt#; % lowercase curve breadth |
| 29 |
ess#:=27/36pt#; % breadth in middle of lowercase s |
| 30 |
flare#:=33/36pt#; % diameter of bulbs or breadth of terminals |
| 31 |
dot_size#:=38/36pt#; % diameter of dots |
| 32 |
%cap_hair#:=11/36pt#; % uppercase hairline breadth |
| 33 |
cap_hair#:=8/36pt#; |
| 34 |
cap_amount#:=8/36pt#; |
| 35 |
%cap_stem#:=32/36pt#; % uppercase stem breadth |
| 36 |
cap_stem#:=32/36pt#; |
| 37 |
cap_curve#:=37/36pt#; % uppercase curve breadth |
| 38 |
cap_ess#:=35/36pt#; % breadth in middle of uppercase s |
| 39 |
rule_thickness#:=.4pt#; % thickness of lines in math symbols |
| 40 |
|
| 41 |
dish#:=1/36pt#; % amount erased at top or bottom of serifs |
| 42 |
bracket#:=20/36pt#; % vertical distance from serif base to tangent |
| 43 |
jut#:=28/36pt#; % protrusion of lowercase serifs |
| 44 |
cap_jut#:=37/36pt#; % protrusion of uppercase serifs |
| 45 |
beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs |
| 46 |
beak#:=70/36pt#; % vertical protrusion of beak serifs |
| 47 |
vair#:=8/36pt#; % vertical diameter of hairlines |
| 48 |
notch_cut#:=10pt#; % maximum breadth above or below notches |
| 49 |
bar#:=11/36pt#; % lowercase bar thickness |
| 50 |
slab#:=11/36pt#; % serif and arm thickness |
| 51 |
cap_bar#:=11/36pt#; % uppercase bar thickness |
| 52 |
cap_band#:=11/36pt#; % uppercase thickness above/below lobes |
| 53 |
cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches |
| 54 |
serif_drop#:=4/36pt#; % vertical drop of sloped serifs |
| 55 |
stem_corr#:=1/36pt#; % for small refinements of stem breadth |
| 56 |
vair_corr#:=1/36pt#; % for small refinements of hairline height |
| 57 |
apex_corr#:=0pt#; % extra width at diagonal junctions |
| 58 |
|
| 59 |
o#:=8/36pt#; % amount of overshoot for curves |
| 60 |
apex_o#:=5/36pt#; % amount of overshoot for diagonal junctions |
| 61 |
|
| 62 |
slant:=0; % tilt ratio $(\Delta x/\Delta y)$ |
| 63 |
fudge:=1; % factor applied to weights of heavy characters |
| 64 |
math_spread:=0; % extra openness of math symbols |
| 65 |
superness:=1/sqrt2; % parameter for superellipses |
| 66 |
superpull:=1/6; % extra openness inside bowls |
| 67 |
beak_darkness:=11/30; % fraction of triangle inside beak serifs |
| 68 |
ligs:=2; % level of ligatures to be included |
| 69 |
|
| 70 |
square_dots:=false; % should dots be square? |
| 71 |
hefty:=false; % should we try hard not to be overweight? |
| 72 |
serifs:=true; % should serifs and bulbs be attached? |
| 73 |
monospace:=false; % should all characters have the same width? |
| 74 |
variant_g:=false; % should an italic-style g be used? |
| 75 |
low_asterisk:=false; % should the asterisk be centered at the axis? |
| 76 |
math_fitting:=false; % should math-mode spacing be used? |
| 77 |
numeric usual_right, usual_left; |
| 78 |
usual_right#:=0.5u#; |
| 79 |
usual_left#:=0.3u#; |
| 80 |
|
| 81 |
granularity:=1.01; |
| 82 |
%aspect_ratio:=2/3aspect_ratio; |
| 83 |
|
| 84 |
mode_setup; |
| 85 |
font_setup; |
| 86 |
cap_amount:=8/36pt; |
| 87 |
foot:=0.207x_height; |
| 88 |
num_height:=1.242x_height; |
| 89 |
cap_kern:=4/36pt; |
| 90 |
boolean ligature; ligature:=false; |
| 91 |
numeric alpha; alpha:=0; |
| 92 |
numeric coef, gencoef; gencoef:=1; |
| 93 |
|
| 94 |
% The positions of characters depending on cm or dc layouts |
| 95 |
|
| 96 |
if dc_layout>0: |
| 97 |
ae_ligature:=oct"346"; |
| 98 |
Ae_ligature:=oct"306"; |
| 99 |
ff_ligature:=oct"033"; |
| 100 |
ss_ligature:=oct"034"; |
| 101 |
st_ligature:=oct"035"; |
| 102 |
sf_ligature:=oct"036"; |
| 103 |
tz_ligature:=oct"037"; |
| 104 |
ch_ligature:=oct"027"; |
| 105 |
ck_ligature:=oct"275"; |
| 106 |
s_final:=oct"276"; |
| 107 |
en_dash:=oct"025"; |
| 108 |
em_dash:=oct"026"; |
| 109 |
eszet:=oct"377"; |
| 110 |
open_gaens:=oct"022"; |
| 111 |
else: |
| 112 |
ae_ligature:=oct"032"; |
| 113 |
Ae_ligature:=oct"035"; |
| 114 |
ff_ligature:=oct"013"; |
| 115 |
ss_ligature:=oct"014"; |
| 116 |
st_ligature:=oct"015"; |
| 117 |
sf_ligature:=oct"016"; |
| 118 |
tz_ligature:=oct"017"; |
| 119 |
ch_ligature:=oct"012"; |
| 120 |
ck_ligature:=oct"275"; |
| 121 |
s_final:=oct"276"; |
| 122 |
en_dash:=oct"173"; |
| 123 |
em_dash:=oct"174"; |
| 124 |
eszet:=oct"031"; |
| 125 |
open_gaens:=oct"134"; |
| 126 |
fi; |
| 127 |
|
| 128 |
%granularity:=1.01; |
| 129 |
|
| 130 |
%readfrom("yfrakbase"); % -sl 15-3-1991 |
| 131 |
|
| 132 |
%if proofing>1: generate ycurrent; fi % switch to the driver file% |
| 133 |
|
| 134 |
generate cmfrakmis; % -sl 15-3-1991 / 24-3-1994 DT |
| 135 |
|
| 136 |
generate cmfraklow; % -sl 15-3-1991 / 25-3-94 DT |
| 137 |
|
| 138 |
generate cmfrakupp; % -sl 15-3-1991 / 24-3-1994 DT |
| 139 |
|
| 140 |
generate cmfraknum; |
| 141 |
|
| 142 |
generate cmfrakoth; % -sl 15-3-1991 / 24-3-1994 DT |
| 143 |
|
| 144 |
font_slant slant; font_x_height x_height#; |
| 145 |
font_normal_space 6u#+2letter_fit#; |
| 146 |
font_normal_stretch 3u#; font_normal_shrink 2u#; |
| 147 |
font_quad 18u#+4letter_fit#; |
| 148 |
font_extra_space 2u#; |
| 149 |
|
| 150 |
ligtable "c": "h"=:ch_ligature, "k"=:ck_ligature; |
| 151 |
ligtable "f": "f"=:ff_ligature; |
| 152 |
ligtable "s": "z"=:eszet, |
| 153 |
":"=:s_final, "s"=:ss_ligature, "t"=:st_ligature, |
| 154 |
"f"=:sf_ligature, "b" kern 1.03u#, "d" kern 1.03u#, "h" kern 1.03u#, "k" kern 1.03u#, |
| 155 |
"l" kern 1.03u#, "i" kern 0.4u#, "j" kern 0.4u#; |
| 156 |
%, " "=:s_final " "; |
| 157 |
ligtable "t": "z"=:tz_ligature; |
| 158 |
ligtable oct"042": "a"=:oct"344", "e"=:oct"353", "o"=:oct"366", "u"=:oct"374", |
| 159 |
"s"=:eszet; |
| 160 |
% ligtable "*": "a"=:oct"211", "e"=:oct"220", "o"=:oct"231", "u"=:oct"236"; |
| 161 |
ligtable "`": "`"=:open_gaens; |
| 162 |
ligtable "'": "'"=:oct"042"; |
| 163 |
ligtable "-": "-"=:en_dash; |
| 164 |
ligtable en_dash: "-"=:em_dash; |
| 165 |
ligtable ss_ligature: "b" kern 1.03u#, "d" kern 1.03u#, "h" kern 1.03u#, "k" kern 1.03u# |
| 166 |
, "l" kern 1.03u#, "i" kern 0.4u#, "j" kern 0.4u#; |
| 167 |
|
| 168 |
end. |