| 1 |
%% |
| 2 |
%% This is file `tgothlig.mf', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% tgothic.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 |
%%%%ligtable "c": "t"=:oct"014"; |
| 27 |
ligtable "s": "t"=:oct"015"; |
| 28 |
|
| 29 |
|
| 30 |
cmchar "TGOTH st ligature"; |
| 31 |
beginchar(oct"015", 2sb#+hstretch*((1 + narrowd + 3)*stem_width#), |
| 32 |
asc_height#, 0); |
| 33 |
adjust_fit(0,0); |
| 34 |
pcshiftx := sb; |
| 35 |
numeric n[]; |
| 36 |
numeric st; st := stem_width; |
| 37 |
n1 := h/ascratio; % x-height |
| 38 |
pickup quill; |
| 39 |
%% the S (long) |
| 40 |
lft x1 = pcshiftx + narrowd*st; |
| 41 |
x2 = x1; y2 = 0; y1 = h - (top y2 - bot y2); |
| 42 |
z12 = 1/2[z1,z2]; |
| 43 |
draw_updiamondstem(1,12,narrowd, 1/4narrowdmin, diawd, diang); |
| 44 |
draw_downdiamondstem(12,2,narrowd, narrowdmin, diawd, diang); |
| 45 |
%% the T |
| 46 |
%% bar |
| 47 |
lft x23 = rt x1 + pcshiftx; top y23 = n1; |
| 48 |
rt x24 = w-pcshiftx; y24=y23; |
| 49 |
draw z23--z24; |
| 50 |
%% stem |
| 51 |
lft x21 = rt x23; top y21 = h; |
| 52 |
x22 = x21; y22 = 0; |
| 53 |
draw_downdiamondstem(21,22,narrowd,narrowdmin,diawd,diang); |
| 54 |
%% the ligature |
| 55 |
x11=x1; top y11=h; |
| 56 |
draw z12--z11--z21; |
| 57 |
ductus:=false; |
| 58 |
penlabels(1,2,3,4,5,11,21,22,23,24,100); |
| 59 |
%% end "t" |
| 60 |
endchar; %% end st ligature |
| 61 |
|
| 62 |
|
| 63 |
cmchar "Closing quotes"; |
| 64 |
beginchar(oct"042",2sb#+hstretch*(comma_width#+3dot_size#),4/3x_height#,0); |
| 65 |
adjust_fit(0,0); |
| 66 |
pcshiftx:=sb; |
| 67 |
x1=w-pcshiftx-(0.5hstretch*dot_size); y1=y2=h; |
| 68 |
x2=x1-(2hstretch*dot_size); |
| 69 |
draw_pcomma(1,dot_size,comma_width); % right |
| 70 |
draw_pcomma(2,dot_size,comma_width); % left |
| 71 |
penlabels(1,2); |
| 72 |
endchar; % end of "''" |
| 73 |
|
| 74 |
|
| 75 |
cmchar "Opening quotes"; |
| 76 |
beginchar(oct"134",2sb#+hstretch*(comma_width#+3dot_size#),4/3x_height#,0); |
| 77 |
adjust_fit(0,0); |
| 78 |
pcshiftx:=sb; |
| 79 |
x1=pcshiftx+(0.5hstretch*dot_size); y1=y2=h; |
| 80 |
x2=x1+(2hstretch*dot_size); |
| 81 |
draw_plq(1,dot_size,comma_width); % left |
| 82 |
draw_plq(2,dot_size,comma_width); % right |
| 83 |
penlabels(1,2); |
| 84 |
endchar; % end of "``" |
| 85 |
|
| 86 |
|
| 87 |
cmchar "Hyphen"; |
| 88 |
beginchar("-",sb#+hstretch*((2)*stem_width#),x_height#,0); |
| 89 |
adjust_fit(0,0); |
| 90 |
pcshiftx:=sb/2; |
| 91 |
pickup threequarterquill; |
| 92 |
lft x21=pcshiftx; rt x22=w-pcshiftx; y21=y22=1/2h; |
| 93 |
draw z21--z22; |
| 94 |
%%draw_roundserif(21,22,srad); draw_flatserif(22,21,srad); |
| 95 |
penlabels(1,2); |
| 96 |
endchar; % end of "-" |
| 97 |
|
| 98 |
|
| 99 |
cmchar "En dash"; |
| 100 |
beginchar(oct"173",sb#+hstretch*((3)*stem_width#),x_height#,0); |
| 101 |
adjust_fit(0,0); |
| 102 |
pcshiftx:=sb/2; |
| 103 |
pickup threequarterquill; |
| 104 |
lft x21=pcshiftx; rt x22=w-pcshiftx; y21=y22=1/2h; |
| 105 |
draw z21--z22; |
| 106 |
%%draw_roundserif(21,22,srad); draw_flatserif(22,21,srad); |
| 107 |
penlabels(1,2); |
| 108 |
endchar; % end of "--" |
| 109 |
|
| 110 |
|
| 111 |
cmchar "Em dash"; |
| 112 |
beginchar(oct"174",sb#+hstretch*((6)*stem_width#),x_height#,0); |
| 113 |
adjust_fit(0,0); |
| 114 |
pcshiftx:=sb/2; |
| 115 |
pickup threequarterquill; |
| 116 |
lft x21=pcshiftx; rt x22=w-pcshiftx; y21=y22=1/2h; |
| 117 |
draw z21--z22; |
| 118 |
%%draw_roundserif(21,22,srad); draw_flatserif(22,21,srad); |
| 119 |
penlabels(1,2); |
| 120 |
endchar; % end of "---" |
| 121 |
|
| 122 |
|
| 123 |
cmchar "TGOTH ampersand"; |
| 124 |
beginchar("&", 2sb#+hstretch*((7/2)*stem_width#), asc_height#, 0); |
| 125 |
adjust_fit(0,0); |
| 126 |
pcshiftx := sb; |
| 127 |
numeric n[]; |
| 128 |
numeric st; st := stem_width; |
| 129 |
pickup quill; |
| 130 |
%% bar |
| 131 |
lft x3 = pcshiftx; top y1 = h; |
| 132 |
top y3 = bot y1; |
| 133 |
rt x4 = w-pcshiftx; y4=y3; |
| 134 |
draw z3--z4; |
| 135 |
%% stem |
| 136 |
lft x1 = rt x3; |
| 137 |
x2 = x1; y2 = 0; |
| 138 |
draw_downdiamondstem(1,2,wided,widedmin,diawd,diang); |
| 139 |
%% E bars |
| 140 |
n1 = 1/2[y3,y2a] + 1/2angdec; |
| 141 |
pickup halfquill; |
| 142 |
lft x11 = pcshiftx; rt x12 = w-pcshiftx; |
| 143 |
y11 = y12 = 1/2h; |
| 144 |
x13 = x11; x14=x12; y13 = y14 = n1-angdec; |
| 145 |
draw z11--z12; |
| 146 |
%%draw z13--z14; |
| 147 |
ductus:=false; |
| 148 |
penlabels(1,2,3,4,5,6,11,12,13,14,100); |
| 149 |
endchar; % end "&" |
| 150 |
|