Debian Codegraph @

texmf-dist/fonts/source/public/drm/drmlowmac.mf

raw
1 % +AMDG This document was begun on 18 May 11EX, the feast
2 % of St Bernardine of Siena, and it is humbly dedicated to
3 % him and to the Immaculate Heart of Mary for their prayers,
4 % and to the Sacred Heart of Jesus for His mercy.
5
6 lserhl := 5lserh/6;
7 lserwl := 5lserw/6;
8 userhl := 5userh/6;
9 userwl := 5userw/6;
10 lsercl := 5lserc/6;
11 usercl := 5userc/6;
12 lserstepl := 5lserstep/6;
13 userstepl := 5userstep/6;
14 curvl := curvwid;
15 slantl := slantwid;
16 thickl := thickstroke;
17 thinl := thinstroke;
18 dotwid := 0.7dotwidth;
19
20 picture lowz;
21 picture lowy;
22 picture lows;
23 picture lowt;
24 picture lowr;
25 picture lowg;
26 picture lowo;
27 picture lowe;
28 picture lowa;
29 picture lowu;
30 picture lowc;
31 picture lowd;
32 picture lowl;
33 picture lown;
34 picture dotlessi;
35 picture dotlessj;
36 picture filig;
37 picture flig;
38 picture fllig;
39
40 %%%% the back serif for the "s" %%%%
41
42 def sctbackserif(suffix i,j,k,l,m,n)(expr topbot) =
43 z.j=z.i+(0,userhl/2);
44 z.k=z.j-(userhl,0);
45 z.l=z.k+(0,-1.5userwl);
46 z.m=z.l+(userhl,0);
47 if topbot = 1:
48 path toplftserif; toplftserif = z.i---z.j..tension 2..z.k---z.l..tension 2..z.m---z.n;
49 elseif topbot = 2:
50 path botlftserif; botlftserif = z.i---z.j..tension 2..z.k---z.l..tension 2..z.m---z.n;
51 fi;
52 enddef;
53
54 %%%% Define Lower Right Serif on Caps %%%%
55
56 def lrserif(suffix i,j,k,l,m)(expr strokewidth) =
57 if strokewidth = 1:
58 z.j=z.i+(lserwl/3,-lsercl/2);
59 z.k=z.i+(lserwl,-lsercl);
60 z.l=z.k-(0,lserstepl);
61 z.m=z.l-(lserwl+thickl/2,0);
62 elseif strokewidth = 2:
63 z.j=z.i+(lserwl/3,-lsercl/2);
64 z.k=z.i+(lserwl+equalize/2,-lsercl);
65 z.l=z.k-(0,lserstepl);
66 z.m=z.l-(lserwl+thickl/2,0);
67 fi
68 enddef;
69
70 %%%% Define Lower Left Serif on Caps %%%%
71
72 def llserif(suffix i,j,k,l,m)(expr strokewidth) =
73 if strokewidth = 1:
74 z.j=z.i-(lserwl/3,lsercl/2);
75 z.k=z.i-(lserwl,lsercl);
76 z.l=z.k-(0,lserstepl);
77 z.m=z.l+(lserwl+thickl/2,0);
78 elseif strokewidth = 2:
79 z.j=z.i-(lserwl/3,lsercl/2);
80 z.k=z.i-(lserwl+equalize/2,lsercl);
81 z.l=z.k-(0,lserstepl);
82 z.m=z.l+(lserwl+thickl/2,0);
83 fi
84 enddef;
85
86 %%%% Define Upper Right Serif on Caps %%%%
87
88 def urserif(suffix i,j,k,l,m)(expr strokewidth) =
89 if strokewidth = 1:
90 z.j=z.i+(userwl/3,lsercl/2);
91 z.k=z.i+(userwl,usercl);
92 z.l=z.k+(0,userstepl);
93 z.m=z.l-(userwl+thickl/2,0);
94 elseif strokewidth = 2:
95 z.j=z.i+(userwl/3,lsercl/2);
96 z.k=z.i+(userwl+equalize/2,usercl);
97 z.l=z.k+(0,userstepl);
98 z.m=z.l-(userwl+thickl/2,0);
99 fi
100 enddef;
101
102 %%%% Define Upper Left Serif on Caps %%%%
103
104 def ulserif(suffix i,j,k,l,m)(expr strokewidth) =
105 if strokewidth = 1:
106 z.j=z.i+(-userwl/3,lsercl/2);
107 z.k=z.i+(-userwl,usercl);
108 z.l=z.k+(0,userstepl);
109 z.m=z.l+(userwl+thickstroke/2,0);
110 elseif strokewidth = 2:
111 z.j=z.i+(-userwl/3,lsercl/2);
112 z.k=z.i+(-(userwl+equalize/2),usercl);
113 z.l=z.k+(0,userstep);
114 z.m=z.l+(userwl+thickstroke/2,0);
115 fi
116 enddef;
117
118 def rbulb(suffix i,j,k,l,m) =
119 z.j=z.i shifted (bulbsh,-bulbsh);
120 z.k=z.j shifted (-bulbsh,-bulbsh);
121 z.l=z.k shifted (-bulbsh,bulbsh);
122 enddef;
123
124 def drtbulb(suffix i,j,k,l,m) =
125 z.j=z.i shifted (bulbsh,-bulbsh);
126 z.k=z.j shifted (bulbsh,bulbsh);
127 z.l=z.k shifted (-bulbsh,bulbsh);
128 enddef;
129
130 def urtbulb(suffix i,j,k,l,m) =
131 z.j=z.i shifted (-bulbsh,-bulbsh);
132 z.k=z.j shifted (-bulbsh,bulbsh);
133 z.l=z.k shifted (bulbsh,bulbsh);
134 enddef;
135
136 def dlftbulb(suffix i,j,k,l,m) =
137 z.j=z.i shifted (bulbsh,-bulbsh);
138 z.k=z.j shifted (bulbsh,bulbsh);
139 z.l=z.k shifted (-bulbsh,bulbsh);
140 enddef;