Debian Codegraph @

texmf-dist/fonts/source/public/universa/uniacc.mf

raw
1 %%
2 %% This is file `uniacc.mf',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% universa.dtx (with options: `acc')
8 %%
9 %% Copyright (C) 1998 Christian Holm.
10 %%
11 %% The universal font and package is distributed in the hope that
12 %% it will be useful, but WITHOUT ANY WARRANTY; without even the
13 %% implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 %% PURPOSE. See the GNU General Public License for more details.
15 %%
16 %% See the file universa.dtx for further comments and documentation.
17 %%
18 %%
19
20 beginchar(hex"12",x_w#,l_h#,0) ; "The accent `" ;
21 uniend(P_T/2,(w/2,a_h+P_T/2),90,270,10) ;
22 z1 = (w/2,a_h+P_T) ; z2 = (w/2,a_h) ; z3 = (w/2+P_T,a_h) ;
23 fill z1--z2--z3--cycle ; penlabels(1,2,3) ;
24 endchar ;
25
26 beginchar(hex"13",x_w#,l_h#,0) ; "The accent '" ;
27 uniend(P_T/2,(w/2,a_h+P_T/2),-90,90,10) ;
28 z1 = (w/2,a_h+P_T) ; z2 = (w/2,a_h) ; z3 = (w/2-P_T,a_h) ;
29 fill z1--z2--z3--cycle ; penlabels(1,2,3) ;
30 endchar ;
31
32 beginchar(hex"14",x_w#,l_h#,0) ; "The accent hachek" ;
33 z1 = (w/2,a_h+p_t) ; uniend(p_t,z1,225,315,10) ;
34 z2 = z1 + p_t*(-1,-1)/sqrt(2) ; z3 = z1 + p_t*(-1,1) ;
35 z4 = z3 + (-p_t*sqrt(2),0) ; path rombe ;
36 rombe := z1--z2--z4--z3--cycle ; fill rombe ;
37 fill rombe reflectedabout ((w/2,0),(w/2,h)) ;
38 penlabels(1,2,3,4) ;
39 endchar ;
40
41 beginchar(hex"15",x_w#,l_h#,0) ; "The accent breve" ;
42 rad := 3p_t/2 ; uniarc(rad,p_t,(w/2,a_h+rad),180,360,10) ;
43 endchar ;
44
45 beginchar(hex"16",x_w#,a_h#+p_t#,0) ; "The accent macron (bar)" ;
46 pickup unipensqu ;
47 bot lft z1 = (w/2-2p_t,a_h) ; bot rt z2 = (w/2+2p_t,a_h) ;
48 draw z1--z2 ; penlabels(1,2) ;
49 endchar ;
50
51 beginchar(hex"17",A_w#+4/3*(l_h#-x_h#)*slantratio,l_h#,0) ;
52 "The accent circle" ;
53 rad := P_T ; unicir(rad,p_t,(w/2,h-rad),10) ;
54 endchar ;
55
56 beginchar(hex"18",x_w#,x_h#,2c_d#) ; "The accent cidelia" ;
57 uniarc(d/2,2P_T/3,(w/2+d/4,-d/2),90,270,10) ;
58 endchar ;
59
60 phi := 15 ; tmp# := 3c_d# ; define_pixels(tmp) ;
61 beginchar(hex"20",tmp#*cosd(phi)+p_t#*sind(phi),l_h#,0) ;
62 "The accent bar over l" ;
63 z1 = (0,(h+p_t*cosd(phi)-tmp*sind(phi))/2) ;
64 z2 = (p_t*sind(phi),(h-p_t*cosd(phi)-tmp*sind(phi))/2) ;
65 z3 = (w,(h-p_t*cosd(phi)+tmp*sind(phi))/2) ;
66 z4 = (w-p_t*sind(phi),(h+p_t*cosd(phi)+tmp*sind(phi))/2) ;
67 fill z1--z2--z3--z4--cycle ;
68 penlabels(1,2,3,4) ;
69 endchar ;
70
71 beginchar(hex"5E",x_w#,l_h#,0) ; "The accent hat" ;
72 z1 = (w/2,a_h+p_t) ; uniend(p_t,z1,45,136,10) ;
73 z2 = z1 + p_t*(-1,1)/sqrt(2) ; z3 = z1 + p_t*(-1,-1) ;
74 z4 = z3 + (-p_t*sqrt(2),0) ; path rombe ;
75 rombe := z1--z2--z4--z3--cycle ; fill rombe ;
76 fill rombe reflectedabout ((w/2,0),(w/2,h)) ;
77 penlabels(1,2,3,4) ;
78 endchar ;
79
80 beginchar(hex"5F",x_w#,l_h#,0) ; "The accent dot" ;
81 pickup UniPencir ; bot z1 = (w/2,a_h) ; drawdot z1 ; penlabels(1) ;
82 endchar ;
83
84 beginchar(hex"7D",x_w#,l_h#,0) ; "The accent ''" ;
85 rad := P_T/2 ;
86 uniend(rad,(w/2-rad,a_h+rad),-90,90,10) ;
87 uniend(rad,(w/2+P_T,a_h+rad),-90,90,20) ;
88 z1 = (w/2-rad-P_T,a_h) ; z2 = (w/2-rad,a_h) ;
89 z3 = (w/2-rad,a_h+P_T) ; fill z1--z2--z3--cycle ;
90 z4 = (w/2,a_h) ; z5 = (w/2+P_T,a_h) ;
91 z6 = (w/2+P_T,a_h+P_T) ; fill z4--z5--z6--cycle ;
92 penlabels(range 1 thru 6) ;
93 endchar ;
94
95 beginchar(hex"7E",x_w#,l_h#,0) ; "The accent ~" ;
96 rad := (w*sqrt(2)+p_t)/4 ; temp := (2w-p_t*sqrt(2))/8 ;
97 uniarc(rad,p_t,(w/2+temp,a_h+rad),225,315,10) ;
98 uniarc(rad,p_t,(w/2-temp,a_h+rad-2temp),45,135,20) ;
99 endchar ;
100
101 beginchar(hex"7F",x_w#,l_h#,0) ; "The accent umlout (double dot)" ;
102 pickup UniPencir ;
103 bot z1 = (w/2-P_T,a_h) ; bot z2 = (w/2+P_T,a_h) ;
104 drawdot z1 ; drawdot z2 ; penlabels(1,2) ;
105 endchar ;
106
107 \endinput
108 %%
109 %% End of file `uniacc.mf'.