Debian Codegraph @

texmf-dist/fonts/source/public/gothic/cmfrabase.mf

raw
1 def n_foot(suffix $) =
2 w':=7.806u; penpos$.1(hair,90); penpos$.2(hair,0);
3 penpos$.3(hair,-90);
4 y$.1=y$.3=0.5foot; y$.2=-apex_o;
5 x$.1=x$l-1/20w'; x$.3=x$r+1/20w';
6 x$.2=x$;
7 filldraw z$.2r{dir75}..z$.3r{dir15}--
8 z$.3l{dir165}..z$r{up}--z$l{down}..
9 z$.1r{dir195}--z$.1l{dir-15}..z$.2l{dir-65}
10 --z$.2r & cycle;
11 enddef;
12
13 def o_umlaut(suffix $) =
14 pickup pensquare yscaled 0.5hair xscaled 0.3[hair,stem] rotated 30;
15 z$.1=z$+(0,0.1x_height);
16 z$.2=z$.1+(stem,0.1x_height);
17 x$.3=x$.2; y$.3=y$.2+0.1x_height;
18 x$.4=x$.1; y$.4-y$.3=y$.2-y$.1;
19 x$.5+x$.3=2x$.4; y$.5=y$.3;
20 x$.6+x$.2=2x$.1; y$.6=y$.2;
21 draw z$.1--z$.2--z$.3--z$.4--z$.5--z$.6--z$.1;
22 penlabels(z$.1,z$.2,z$.3,z$.4,z$.5,z$.6);
23 enddef;
24
25 def e_umlaut(suffix $) =
26 penpos$.1(2u,45); z$.1=z$;
27 pickup pensquare yscaled 0.5hair xscaled 0.3[hair,stem] rotated 30;
28 z$.2=z$.1r; z$.3=z$.1l; rt x$.4=rt x$.2; top y$.4=y$;
29 draw z$.3--z$.2..z$.3..z$.4;
30 enddef;
31
32 def cap_e_umlaut(suffix $) =
33 penpos$.1(2u,45); z$.1=z$;
34 pickup pensquare yscaled 0.5hair xscaled 0.3[hair,stem] rotated 30;
35 z$.2=z$.1r; z$.3=z$.1l; rt x$.4=rt x$.2; top y$.4=y$;
36 draw z$.3--z$.2..z$.3..z$.4;
37 enddef;
38
39 def pointpoint =
40 penpos1(0.23570*(x_height+2apex_o),45);
41 penpos2(0.23570*(x_height+2apex_o),45);
42 penpos3(0.23570*(x_height+2apex_o),45);
43 penpos4(0.23570*(x_height+2apex_o),45);
44 penpos5(0.23570*(x_height+2apex_o),45);
45 penpos6(0.23570*(x_height+2apex_o),45);
46 x1l=x3l=x5l=0.5w;
47 z2r=z3l; z4r=z5l;
48 z2-z1=whatever*dir135;
49 z4-z3=whatever*dir135;
50 z6-z5=whatever*dir135;
51 y1l=-apex_o; y6r=x_height+apex_o;
52 penstroke z1e--z2e;
53 enddef;
54
55
56
57 def pointaccent(suffix $) =
58 penpos1(0.23570*(x_height+2apex_o),45);
59 penpos2(0.23570*(x_height+2apex_o),45);
60 penpos3(0.23570*(x_height+2apex_o),45);
61 penpos4(0.23570*(x_height+2apex_o),45);
62 penpos5(0.23570*(x_height+2apex_o),45);
63 penpos6(0.23570*(x_height+2apex_o),45);
64 x1l=x3l=x5l=x$;
65 z2r=z3l; z4r=z5l;
66 z2-z1=whatever*dir135;
67 z4-z3=whatever*dir135;
68 z6-z5=whatever*dir135;
69 y1l=-apex_o+y$+0.1x_height; y6r=1.1x_height+apex_o+y$;
70 penstroke z1e--z2e;
71 enddef;
72
73
74
75
76 def old_e_umlaut(suffix $) =
77 numeric ww;
78 ww:=2u; penpos$.1(hair,147);
79 penpos$.2(1.5hair,90); penpos$.3(2.5hair,0);
80 penpos$.4(1.2hair,-90);
81 penpos$.5(hair,-147);
82 penpos$.6(hair,-57); penpos$.7(hair,-57);
83 z$.1=z$+(0.4ww,-0.2ww);
84 z$.2l=z$-(0.111ww,0.556ww);
85 z$.3l=z$-(0.5ww,apex_o);
86 z$.4l=(x$,y$+0.556ww);
87 z$.6-z$=whatever*dir33; x$.6r=x$+0.5ww;
88 z$.5l=z$.6l; z$.7=whatever[z$,z$.6];
89 x$.7=x$.3;
90 penstroke z$.1e..z$.2e{left}..z$.3e{up}
91 ..z$.4e{right}..z$.5e;
92 penstroke z$.7e--z$.6e
93 enddef;
94
95 def umlaut (suffix $) =
96 y0=0; 0.5[x0,x0']=x$-2u;
97 z0'=z0+(2.5u,0);
98 penpos60(hair,145);
99 z60=(x0+stem,y$+0.090x_height);
100 z61=(x0+1.522stem,y$+0.387x_height);
101 z62=(x0+1.956stem,y$+0.324x_height);
102 z60'=(x0'+stem,y$+0.090x_height);
103 z61'=(x0'+1.522stem,y$+0.387x_height);
104 z62'=(x0'+1.956stem,y$+0.324x_height);
105 filldraw z60l{dir34}..z62{up}..z61{left}
106 ..z60r{dir259}--z60l & cycle;
107 penpos60'(hair,145);
108 filldraw z60'l{dir34}..z62'{up}..z61'{left}
109 ..z60'r{dir259}--z60'l & cycle
110 enddef;
111
112
113 def hat (suffix $) =
114 z60=(x$-2.5u,0.090x_height+y$);
115 z61=(x$+0.3u,0.387x_height+y$);
116 x62=x$-0.3u; y62=0.3333*(2y60+y61);
117 y60'=y60; x60'+x60=2x$;
118 filldraw z60--z61--z60'{left}..z62..{left}cycle;
119 enddef;
120
121
122
123 def hungarum (suffix $) =
124 z60=(x$-2.5u-0.25stem,0.090x_height+y$);
125 z63=z60+(0.5stem,0);
126 z61=(x$,0.387x_height+y$);
127 z62=z61+(stem,0);
128 filldraw z60--z61--z62--z63--cycle;
129 filldraw z60--z61--z62--z63--cycle shifted (2.5u,0);
130 enddef;
131
132 def ellbar (suffix $) =
133 z60=(x$,y$-0.5u);
134 z61=(x$+3.5u,0.5u+y$);
135 pickup pensquare scaled 2hair;
136 draw z60--z61;
137 enddef;
138
139 def hacek (suffix $) =
140 z60=(x$-2.5u,0.387x_height+y$);
141 z61=(x$-0.3u,0.090x_height+y$);
142 x62=x$+0.3u; y62=0.3333*(2y60+y61);
143 y60'=y60; x60'+x60=2x$;
144 filldraw z60--z61--z60'{left}..z62..{left}cycle;
145 enddef;
146
147 def breve (suffix $) =
148 z60=(x$-2.5u,0.387x_height+y$);
149 z61=(x$-0.3u,0.090x_height+y$);
150 x62=x$+0.3u; y62=0.3333*(2y60+y61);
151 y63=y60; x63+x60=2x$;
152 z60'=z60+(0,hair);
153 z63'=z63+(0,hair);
154 filldraw z60..{right}z61{right}..z63--z63'..{left}z62{left}..z60'--cycle;
155 enddef;
156
157 def tilde (suffix $) =
158 z60=(x$-2.1u,0.090x_height+y$);
159 z61=(x$-u,0.387x_height+y$);
160 z62=(x$+u,0.090x_height+y$);
161 z63=(x$+2.1u,0.387x_height+y$);
162 pickup pensquare xscaled stem yscaled hair rotated 30;
163 draw z60...{right}z61..z62{right}...z63;
164 enddef;
165
166
167 def cedilla (suffix $) =
168 pickup pensquare scaled hair;
169 z60=z$;
170 z61=(x$+u+0.16w,y$-0.18x_height);
171 x62=x$; y62=y61-0.12x_height;
172 penpos60(stem,30); penpos61(stem,30); penpos62(stem,-30);
173 penstroke z60e{dir-30}..{down}z61e..{left}z62e;
174 enddef;
175
176
177 def ogonek (suffix $) =
178 pickup pensquare scaled hair;
179 z60=z$;
180 z61=(x$-u-0.16w,y$-0.18x_height);
181 x62=x$; y62=y61-0.12x_height;
182 penpos60(stem,-30); penpos61(stem,30); penpos62(stem,40);
183 penstroke z60e{dir-135}..{down+0.25right}z61e..{right+0.3up}z62e;
184 enddef;
185
186 def acute (suffix $) =
187 y0=0; 0.5[x0,x0']=x$-2u;
188 z0'=z0+(2.5u,0);
189 penpos60(hair,145);
190 z60=(x0+stem,y$+0.090x_height);
191 z61=(x0+1.522stem,y$+0.387x_height);
192 z62=(x0+1.956stem,y$+0.324x_height);
193 z60'=(x0'+stem,y$+0.090x_height);
194 z61'=(x0'+1.522stem,y$+0.387x_height);
195 z62'=(x0'+1.956stem,y$+0.324x_height);
196 penpos60'(hair,145);
197 filldraw z60l{dir34}..z62'{up}..z61'{left}
198 ..z60r{dir259}--z60l & cycle
199 enddef;
200
201 def grave (suffix $) =
202 y0=0; 0.5[x0,x0']=x$-2u;
203 z0'=z0+(2.5u,0);
204 penpos60(hair,145);
205 z60=(x0+stem,y$+0.090x_height);
206 z61=(x0+1.522stem,y$+0.387x_height);
207 z62=(x0+1.956stem,y$+0.324x_height);
208 z60'=(x0'+stem,y$+0.090x_height);
209 z61'=(x0'+1.522stem,y$+0.387x_height);
210 z62'=(x0'+1.956stem,y$+0.324x_height);
211 penpos60'(hair,145);
212 filldraw (z60l{dir34}..z62'{up}..z61'{left}
213 ..z60r{dir259}--z60l & cycle) reflectedabout ((x$,x_height),(x$,0));
214 enddef;
215
216
217 def cap_grave (suffix $) =
218 y0=0; 0.5[x0,x0']=x$-2u;
219 z0'=z0+(2.5u,0);
220 penpos60(hair,145);
221 z60=(x0+stem,1.090x_height-x_height+y$);
222 z61=(x0+1.522stem,1.387x_height-x_height+y$);
223 z62=(x0+1.956stem,1.324x_height-x_height+y$);
224 z60'=(x0'+stem,1.090x_height-x_height+y$);
225 z61'=(x0'+1.522stem,1.387x_height-x_height+y$);
226 z62'=(x0'+1.956stem,1.324x_height-x_height+y$);
227 filldraw (z60l{dir34}..z62'{up}..z61'{left}
228 ..z60r{dir259}--z60l & cycle) reflectedabout ((x$,x_height),(x$,0));
229 enddef;
230
231 picture last_char;