Debian Codegraph @

texmf-dist/fonts/source/public/allrunes/frusep.mf

raw
1 %%
2 %% This is file `frusep.mf',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% allrunes.dtx (with options: `frusep')
8 %%
9 %%
10 %% Copyright 2001-2004 Carl-Gustav Werner
11 %%
12 %% This program is provided under the terms of the
13 %% LaTeX Project Public License distributed from CTAN
14 %% archives in directory macros/latex/base/lppl.txt.
15 %%
16 def draw_cross(expr y_centre, i) =
17 filldraw barpath(xmid-xhalf, ymid-xhalf+y_centre*yhalf, endrounding,
18 xmid+xhalf, ymid+xhalf+y_centre*yhalf, endrounding, 0, tightness_f, i);
19 filldraw barpath(xmid-xhalf, ymid+xhalf+y_centre*yhalf, endrounding,
20 xmid+xhalf, ymid-xhalf+y_centre*yhalf, endrounding, 0, tightness_f, i+10)
21 enddef;
22
23 def draw_plus(expr y_centre, i) =
24 filldraw barpath(xmid-xhalf, ymid+y_centre*yhalf, endrounding,
25 xmid+xhalf, ymid+y_centre*yhalf, endrounding, 0, tightness_f, i);
26 filldraw barpath(xmid, ymid+xhalf+y_centre*yhalf, endrounding,
27 xmid, ymid-xhalf+y_centre*yhalf, endrounding, 0, tightness_f, i+10)
28 enddef;
29
30 beginrunechar(".", sepdot_f*stem_w#+2*margin_width#);
31 filldraw dotpath(xmid, ymid, sepdot_f, 20);
32 endchar;
33
34 beginrunechar(":", sepdot_f*stem_w#+2*margin_width#);
35 save ddot_y_f;
36 ddot_y_f=0.3;
37 filldraw dotpath(xmid, ymid+yhalf*ddot_y_f, sepdot_f, 20);
38 filldraw dotpath(xmid, ymid-yhalf*ddot_y_f, sepdot_f, 30);
39 endchar;
40
41 beginrunechar(59, sepdot_f*stem_w#+2*margin_width#);
42 save tdot_y_f;
43 tdot_y_f=0.6;
44 filldraw dotpath(xmid, ymid+yhalf*tdot_y_f, sepdot_f, 20);
45 filldraw dotpath(xmid, ymid, sepdot_f, 30);
46 filldraw dotpath(xmid, ymid-yhalf*tdot_y_f, sepdot_f, 40);
47 endchar;
48
49 beginrunechar(60, sepdot_f*stem_w#+2*margin_width#);
50 save qdot_ymid_f;
51 save qdot_ytop_f;
52 qdot_ymid_f=0.25;
53 qdot_ytop_f=0.75;
54 filldraw dotpath(xmid, ymid+yhalf*qdot_ymid_f, sepdot_f, 20);
55 filldraw dotpath(xmid, ymid+yhalf*qdot_ytop_f, sepdot_f, 30);
56 filldraw dotpath(xmid, ymid-yhalf*qdot_ymid_f, sepdot_f, 40);
57 filldraw dotpath(xmid, ymid-yhalf*qdot_ytop_f, sepdot_f, 50);
58 endchar;
59
60 beginrunechar(61, sepdot_f*stem_w#+2*margin_width#);
61 save pdot_ymid_f;
62 save pdot_ytop_f;
63 pdot_ymid_f=0.4;
64 pdot_ytop_f=0.8;
65 filldraw dotpath(xmid, ymid+yhalf*pdot_ymid_f, sepdot_f, 20);
66 filldraw dotpath(xmid, ymid+yhalf*pdot_ytop_f, sepdot_f, 30);
67 filldraw dotpath(xmid, ymid, sepdot_f, 40);
68 filldraw dotpath(xmid, ymid-yhalf*pdot_ymid_f, sepdot_f, 50);
69 filldraw dotpath(xmid, ymid-yhalf*pdot_ytop_f, sepdot_f, 60);
70 endchar;
71
72 beginrunechar(62, 0.55*base_width#+2*margin_width#);
73 filldraw dotpath(xmid-xhalf, ymid+xhalf/sqrt(3), sepdot_f, 20);
74 filldraw dotpath(xmid+xhalf, ymid+xhalf/sqrt(3), sepdot_f, 30);
75 filldraw dotpath(xmid, ymid-2*xhalf/sqrt(3), sepdot_f, 40);
76 endchar;
77
78 beginrunechar(63, 0.6*base_width#+2*margin_width#);
79 filldraw dotpath(xmid, ymid-xhalf, sepdot_f, 20);
80 filldraw dotpath(xmid, ymid+xhalf, sepdot_f, 30);
81 filldraw dotpath(xmid-xhalf, ymid, sepdot_f, 40);
82 filldraw dotpath(xmid+xhalf, ymid, sepdot_f, 50);
83 endchar;
84
85 beginrunechar(64, 0.75*base_width#+2*margin_width#);
86 filldraw dotpath(xmid, ymid-xhalf, sepdot_f, 20);
87 filldraw dotpath(xmid, ymid, sepdot_f, 30);
88 filldraw dotpath(xmid, ymid+xhalf, sepdot_f, 40);
89 filldraw dotpath(xmid+xhalf, ymid, sepdot_f, 50);
90 filldraw dotpath(xmid-xhalf, ymid, sepdot_f, 60);
91 endchar;
92
93 cross_width_f=0.55;
94 beginrunechar("*", cross_width_f*base_width#+2*margin_width#);
95 draw_cross(0.0, 20);
96 endchar;
97
98 beginrunechar(37, cross_width_f*base_width#+2*margin_width#);
99 save dcross_y_f;
100 dcross_y_f=0.4;
101 draw_cross(-dcross_y_f, 20);
102 draw_cross( dcross_y_f, 40);
103 endchar;
104
105 beginrunechar(38, cross_width_f*base_width#+2*margin_width#);
106 save tcross_y_f;
107 tcross_y_f=0.7;
108 draw_cross(-tcross_y_f, 20);
109 draw_cross( 0.0, 40);
110 draw_cross( tcross_y_f, 60);
111 endchar;
112
113 plus_width_f=0.67;
114 beginrunechar("+", plus_width_f*base_width#+2*margin_width#);
115 draw_plus(0.0, 20);
116 endchar;
117
118 beginrunechar(44, plus_width_f*base_width#+2*margin_width#);
119 save dplus_y_f;
120 dplus_y_f=0.4;
121 draw_plus(-dplus_y_f, 20);
122 draw_plus( dplus_y_f, 40);
123 endchar;
124
125 beginrunechar(45, plus_width_f*base_width#+2*margin_width#);
126 save tplus_y_f;
127 tplus_y_f=0.76;
128 draw_plus(-tplus_y_f, 20);
129 draw_plus( 0.0, 40);
130 draw_plus( tplus_y_f, 60);
131 endchar;
132
133 beginrunechar("!", stem_w#+2*margin_width#);
134 save barheight_y_f;
135 barheight_y_f=0.4;
136 filldraw barpath(xmid, ymid+barheight_y_f*yhalf, endrounding,
137 xmid, ymid-barheight_y_f*yhalf, endrounding, 0, tightness_f, 20);
138 endchar;
139
140 beginrunechar(34, stem_w#+2*margin_width#);
141 save dbarheight_y_f;
142 save dbarpos_y_f;
143 dbarheight_y_f=0.3;
144 dbarpos_y_f=0.4;
145 filldraw barpath(xmid, ymid+( dbarpos_y_f+dbarheight_y_f)*yhalf, endrounding,
146 xmid, ymid+( dbarpos_y_f-dbarheight_y_f)*yhalf, endrounding, 0, tightness_f, 20);
147 filldraw barpath(xmid, ymid+(-dbarpos_y_f+dbarheight_y_f)*yhalf, endrounding,
148 xmid, ymid+(-dbarpos_y_f-dbarheight_y_f)*yhalf, endrounding, 0, tightness_f, 30);
149 endchar;
150
151 beginrunechar(35, stem_w#+2*margin_width#);
152 save tbarheight_y_f;
153 save tbarpos_y_f;
154 tbarheight_y_f=0.25;
155 tbarpos_y_f=0.7;
156 filldraw barpath(xmid, ymid+( tbarpos_y_f+tbarheight_y_f)*yhalf, endrounding,
157 xmid, ymid+( tbarpos_y_f-tbarheight_y_f)*yhalf, endrounding, 0, tightness_f, 20);
158 filldraw barpath(xmid, ymid +tbarheight_y_f *yhalf, endrounding,
159 xmid, ymid -tbarheight_y_f *yhalf, endrounding, 0, tightness_f, 20);
160 filldraw barpath(xmid, ymid+(-tbarpos_y_f+tbarheight_y_f)*yhalf, endrounding,
161 xmid, ymid+(-tbarpos_y_f-tbarheight_y_f)*yhalf, endrounding, 0, tightness_f, 30);
162 endchar;
163
164 beginrunechar(36, 0.7*base_width#+2*margin_width#);
165 filldraw barpath(xmid, ymid, jointrounding,
166 xmid+cosd(1/5*360+90)*xhalf, ymid+sind(1/5*360+90)*xhalf, endrounding, 0, tightness_f, 20);
167 filldraw barpath(xmid, ymid, jointrounding,
168 xmid+cosd(2/5*360+90)*xhalf, ymid+sind(2/5*360+90)*xhalf, endrounding, 0, tightness_f, 30);
169 filldraw barpath(xmid, ymid, jointrounding,
170 xmid+cosd(3/5*360+90)*xhalf, ymid+sind(3/5*360+90)*xhalf, endrounding, 0, tightness_f, 40);
171 filldraw barpath(xmid, ymid, jointrounding,
172 xmid+cosd(4/5*360+90)*xhalf, ymid+sind(4/5*360+90)*xhalf, endrounding, 0, tightness_f, 50);
173 filldraw barpath(xmid, ymid, jointrounding,
174 xmid+cosd(5/5*360+90)*xhalf, ymid+sind(5/5*360+90)*xhalf, endrounding, 0, tightness_f, 60);
175 endchar;
176