Debian Codegraph @

texmf-dist/fonts/source/public/bookhands/auncllig.mf

raw
1 %%
2 %% This is file `auncllig.mf',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% auncial.dtx (with options: `lig')
8 %%
9 %% Copyright 1999 Peter R. Wilson
10 %%
11 %% This program is provided under the terms of the
12 %% LaTeX Project Public License distributed from CTAN
13 %% archives in directory macros/latex/base/lppl.txt.
14 %%
15 %% Author: Peter Wilson (CUA)
16 %% now at: [email protected]
17 %%
18
19
20 ligtable "`": "`"=:oct"134";
21 ligtable "'": "'"=:oct"042"; %% , "?" kern 2u#, "!" kern 2u#;
22
23 ligtable "-": "-"=:oct"173";
24 ligtable oct"173": "-"=:oct"174";
25
26
27 cmchar "Uncial closing quotes";
28 beginchar(oct"042",2u#+hstretch*(comma_width#+3dot_size#),4/3x_height#,0);
29 adjust_fit(0,0);
30 pcshiftx:=u;
31 x1=w-pcshiftx-(0.5hstretch*dot_size); y1=y2=h;
32 x2=x1-(2hstretch*dot_size);
33 draw_pcomma(1,dot_size,comma_width); % right
34 draw_pcomma(2,dot_size,comma_width); % left
35 penlabels(1,2);
36 endchar; % end of "''"
37
38
39 cmchar "Uncial opening quotes";
40 beginchar(oct"134",2u#+hstretch*(comma_width#+3dot_size#),4/3x_height#,0);
41 adjust_fit(0,0);
42 pcshiftx:=u;
43 x1=pcshiftx+(0.5hstretch*dot_size); y1=y2=h;
44 x2=x1+(2hstretch*dot_size);
45 draw_plq(1,dot_size,comma_width); % left
46 draw_plq(2,dot_size,comma_width); % right
47 penlabels(1,2);
48 endchar; % end of "``"
49
50
51 cmchar "Uncial hyphen";
52 beginchar("-",u#+hstretch*(0.8x_height#),x_height#,0);
53 adjust_fit(0,0);
54 pcshiftx:=u/2;
55 numeric alpha; alpha:=w/8;
56 pickup quill;
57 lft x1 = pcshiftx; rt x2=w-pcshiftx; y1=y2=h/2;
58 x11=lft x1+alpha/2; y11=top y1-0.5thin;
59 x12=rt x2; y12=bot y1+0.5thin;
60 draw z1--z2; % bar
61 draw_triangle(11,alpha);
62 draw_rutriangle(12,alpha);
63 penlabels(1,2);
64 endchar; % end of "-"
65
66
67 cmchar "Uncial en dash";
68 beginchar(oct"173",u#+hstretch*(x_height#),x_height#,0);
69 adjust_fit(0,0);
70 pcshiftx:=u/2;
71 numeric alpha; alpha:=w/8;
72 pickup quill;
73 lft x1 = pcshiftx; rt x2=w-pcshiftx; y1=y2=h/2;
74 x11=lft x1+alpha/2; y11=top y1-0.5thin;
75 x12=rt x2; y12=bot y1+0.5thin;
76 draw z1--z2; % bar
77 draw_triangle(11,alpha);
78 draw_rutriangle(12,alpha);
79 penlabels(1,2);
80 endchar; % end of "--"
81
82
83 cmchar "Uncial em dash";
84 beginchar(oct"174",u#+hstretch*(2x_height#),x_height#,0);
85 adjust_fit(0,0);
86 pcshiftx:=u/2;
87 numeric alpha; alpha:=w/8;
88 pickup quill;
89 lft x1 = pcshiftx; rt x2=w-pcshiftx; y1=y2=h/2;
90 x11=lft x1+alpha/2; y11=top y1-0.5thin;
91 x12=rt x2; y12=bot y1+0.5thin;
92 draw z1--z2; % bar
93 draw_triangle(11,alpha);
94 draw_rutriangle(12,alpha);
95 penlabels(1,2);
96 endchar; % end of "---"
97
98
99 cmchar "Uncial ampersand";
100 beginchar("&", 2u#+hstretch*(7/4x_height#), x_height#, 0.5desc_depth#);
101 adjust_fit(0,0);
102 pcshiftx:=u;
103 numeric alpha; alpha:=4/7w-u;
104 pickup quill;
105 lft x1=pcshiftx; rt x3= alpha; y1=y3=h/2;
106 x2=x4=alpha/2; top y2=h; bot y4=0;
107 x5=x6=x3;
108 y5=0.1h;
109 top y6=0.95h; y6'=top y6; y6''=bot y6; x6''=lft x6;
110 pickup stylus;
111 rt x16=alpha; top y16=y6';
112 x17=x6; y17=y16-jut;
113 lft x18=x6''; bot y18=y6'';
114 pickup quill;
115 x7=x1; y7=y1;
116 x8=w-pcshiftx; y8=y7;
117 lft x31=alpha+2thin; y31=y8;
118 x32=x31; bot y32=-d;
119 x33=rt x8-0.5thin; y33=top y31-0.5thin;
120 %%ductus:=true;
121 if ductus:
122 pickup stylus;
123 fi
124 draw z5{-pdir}..{left}z4..z1..z2..z6; % the bowl
125 draw_tstem(31,32,srad); % t stem
126 draw z7--z8; % the (top) bar
127 draw_rtriangle(33,jut); % t bar serif
128 pickup stylus;
129 filldraw z17..z18--z16--cycle; % e serif
130 ductus:=false;
131 penlabels(1,2,3,4,5,6,7,8,9,10,16,17,18,31,32,33);
132 endchar; % end of "&"
133