| 1 |
% Computer Modern Roman Fibonacci Font |
| 2 |
if unknown cmbase: input cmbase fi |
| 3 |
|
| 4 |
font_identifier:="CMFIB"; font_size design_size * pt#; |
| 5 |
|
| 6 |
u#:=(21*(design_size/8))/36pt#; % unit width |
| 7 |
width_adj#:=0pt#; % width adjustment for certain characters |
| 8 |
serif_fit#:=(-2*(design_size/8))/36pt#; % extra sidebar near lowercase serifs |
| 9 |
cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs |
| 10 |
letter_fit#:=0pt#; % extra space added to all sidebars |
| 11 |
|
| 12 |
body_height#:=(233*(design_size/8))/36pt#; % height of tallest characters |
| 13 |
asc_height#:=(233*(design_size/8))/36pt#; % height of lowercase ascenders |
| 14 |
cap_height#:=(233*(design_size/8))/36pt#; % height of caps |
| 15 |
fig_height#:=(233*(design_size/8))/36pt#; % height of numerals |
| 16 |
x_height#:=(144*(design_size/8))/36pt#; % height of lowercase without ascenders |
| 17 |
math_axis#:=(89*(design_size/8))/36pt#; % axis of symmetry for math symbols |
| 18 |
bar_height#:=(89*(design_size/8))/36pt#; % height of crossbar in lowercase e |
| 19 |
comma_depth#:=(55*(design_size/8))/36pt#; % depth of comma below baseline |
| 20 |
desc_depth#:=(55*(design_size/8))/36pt#; % depth of lowercase descenders |
| 21 |
|
| 22 |
crisp#:=0pt#; % diameter of serif corners |
| 23 |
tiny#:=(13*(design_size/8))/36pt#; % diameter of rounded corners |
| 24 |
fine#:=(13*(design_size/8))/36pt#; % diameter of sharply rounded corners |
| 25 |
thin_join#:=(13*(design_size/8))/36pt#; % width of extrafine details |
| 26 |
hair#:=(21*(design_size/8))/36pt#; % lowercase hairline breadth |
| 27 |
stem#:=(34*(design_size/8))/36pt#; % lowercase stem breadth |
| 28 |
curve#:=(39*(design_size/8))/36pt#; % lowercase curve breadth |
| 29 |
ess#:=(34*(design_size/8))/36pt#; % breadth in middle of lowercase s |
| 30 |
flare#:=(34*(design_size/8))/36pt#; % diameter of bulbs or breadth of terminals |
| 31 |
dot_size#:=(34*(design_size/8))/36pt#; % diameter of dots |
| 32 |
cap_hair#:=(21*(design_size/8))/36pt#; % uppercase hairline breadth |
| 33 |
cap_stem#:=(34*(design_size/8))/36pt#; % uppercase stem breadth |
| 34 |
cap_curve#:=(39*(design_size/8))/36pt#; % uppercase curve breadth |
| 35 |
cap_ess#:=(34*(design_size/8))/36pt#; % breadth in middle of uppercase s |
| 36 |
rule_thickness#:=(21*(design_size/8))/36pt#; % thickness of lines in math symbols |
| 37 |
|
| 38 |
dish#:=(1*(design_size/8))/36pt#; % amount erased at top or bottom of serifs |
| 39 |
bracket#:=(21*(design_size/8))/36pt#; % vertical distance from serif base to tangent |
| 40 |
jut#:=(21*(design_size/8))/36pt#; % protrusion of lowercase serifs |
| 41 |
cap_jut#:=(21*(design_size/8))/36pt#; % protrusion of uppercase serifs |
| 42 |
beak_jut#:=(13*(design_size/8))/36pt#; % horizontal protrusion of beak serifs |
| 43 |
beak#:=(55*(design_size/8))/36pt#; % vertical protrusion of beak serifs |
| 44 |
vair#:=(13*(design_size/8))/36pt#; % vertical diameter of hairlines |
| 45 |
notch_cut#:=(8*(design_size/8)) * pt#; % maximum breadth above or below notches |
| 46 |
bar#:=(13*(design_size/8))/36pt#; % lowercase bar thickness |
| 47 |
slab#:=(13*(design_size/8))/36pt#; % serif and arm thickness |
| 48 |
cap_bar#:=(13*(design_size/8))/36pt#; % uppercase bar thickness |
| 49 |
cap_band#:=(13*(design_size/8))/36pt#; % uppercase thickness above/below lobes |
| 50 |
cap_notch_cut#:=(8*(design_size/8)) * pt#; % max breadth above/below uppercase notches |
| 51 |
serif_drop#:=(3*(design_size/8))/36pt#; % vertical drop of sloped serifs |
| 52 |
stem_corr#:=(1*(design_size/8))/36pt#; % for small refinements of stem breadth |
| 53 |
vair_corr#:=(1*(design_size/8))/36pt#; % for small refinements of hairline height |
| 54 |
apex_corr#:=0pt#; % extra width at diagonal junctions |
| 55 |
|
| 56 |
o#:=(8*(design_size/8))/36pt#; % amount of overshoot for curves |
| 57 |
apex_o#:=(8*(design_size/8))/36pt#; % amount of overshoot for diagonal junctions |
| 58 |
|
| 59 |
slant:=0; % tilt ratio $(\Delta x/\Delta y)$ |
| 60 |
fudge:=1; % factor applied to weights of heavy characters |
| 61 |
math_spread:=3/8; % extra openness of math symbols |
| 62 |
superness:=1/sqrt2; % parameter for superellipses |
| 63 |
superpull:=1/13; % extra openness inside bowls |
| 64 |
beak_darkness:=5/13; % fraction of triangle inside beak serifs |
| 65 |
ligs:=2; % level of ligatures to be included |
| 66 |
|
| 67 |
square_dots:=false; % should dots be square? |
| 68 |
hefty:=false; % should we try hard not to be overweight? |
| 69 |
serifs:=true; % should serifs and bulbs be attached? |
| 70 |
monospace:=false; % should all characters have the same width? |
| 71 |
variant_g:=false; % should an italic-style g be used? |
| 72 |
low_asterisk:=false; % should the asterisk be centered at the axis? |
| 73 |
math_fitting:=false; % should math-mode spacing be used? |
| 74 |
|
| 75 |
generate roman % switch to the driver file |
| 76 |
|