summaryrefslogtreecommitdiff
path: root/fonts/drm/mf/drmit6.mf
blob: 3a9323f4a0839e625c5fd9af1dc13ff58d07b6e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
% +AMDG

font_identifier:="drm"; font_size:=6pt#; font_coding_scheme "T1";
pixels_per_inch:=2400;
mode_setup;

%%%% Define Dimensions for Whole Boxes %%%%

phi=(1+sqrt5)/2;
cap#=4pt#;
u#=2cap#/3;
em#=1.4cap#;
ex#=0.7cap#;
exw# = ex#; define_pixels(exw);
dep#=cap#/3;
ss#=0.2pt#;
asch#=12cap#/12;
digwid#=1ex#;
slant = 1/3;
font_slant slant;
font_normal_space 0.7u#;
font_normal_stretch 0.2u#;
font_normal_shrink 0.1u#;
font_x_height cap#/phi;
font_quad em#;
font_extra_space 0.5u#;

penwidth#=0.01pt#;

%%%% Define Dimensions for Letters %%%%

curlw#=0.2u#;
curlh#=0.2u#;
define_pixels(curlw,curlh);
lserc#=0.09u#;
lserh#=lserc#+lserstep#;
lhigh#=0.3u#;
lserstep#=0.05u#;
userc#=0.08u#;
userh#=userc#+userstep#;
lserw#=0.2u#;
userw#=0.2u#;
userstep#=0.05u#;
bulbsh#=0.10u#;
curvwid#=0.6pt#;
slantwid#=0.6pt#;
thickstroke#=0.6pt#;
loopgap#=0.6pt#;
thinstroke#=0.3pt#;
o#=0.1thinstroke#;
hair#=0.2pt#;
ssslant#=0.1u#;
dotwidth#=userw#-o#;
pwid#=3userw#;
accwid# = pwid#/16;
theight#=8asch#/8;
define_pixels(theight);

define_pixels(accwid,cap,u,em,ex,dep,ss,penwidth,lserh,userh,lhigh,lserw,bulbsh,userw,lserc,userc,lserstep,userstep,ssslant,curvwid,slantwid,pwid,hair,loopgap,dotwidth);
define_blacker_pixels(accwid,cap,u,em,ex,dep,ss,penwidth,lserh,userh,lhigh,lserw,bulbsh,userw,lserc,userc,lserstep,userstep,ssslant,curvwid,slantwid,pwid,hair);
define_blacker_pixels(thickstroke,thinstroke,penwidth,o,hair);

pickup pencircle scaled penwidth; cappen:=savepen;
equalize=thickstroke/2-thinstroke/2;

currenttransform:=identity slanted slant yscaled aspect_ratio scaled granularity;

input drmcap.mf;
input drmitcap.mf;
input drmlowmac.mf;
input drmitlow.mf;
input drmpunct.mf;
input drmacc.mf;
input drmitacclet.mf;
input drmitpunct.mf;
input drmitdigs.mf;
input drmitoldstydigs.mf;
input drmitligs.mf;

end;