summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/fonts/source/public/wnri/ubrvacct.mf
blob: 06fe8e76d97f503c8ed13d493373cf5d9a88d9d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
%
% Washington Romanized Indic accent driver
%
% Macro to draw subscript breve accent
%

cmchar "Breve accent";
beginchar(oct"025",9u#,min(asc_height#,2x_height#),0);
italcorr h#*slant+.5vair#-1.5u#;
adjust_fit(0,0);
pickup crisp.nib; pos1(vair,-180); pos3(vair,0);
top y1=top y3=h; lft x1r=w-rt x3r=hround(2u-.5vair);
numeric mid_thickness; mid_thickness=vround 1/3[vair,stem];
pos2(mid_thickness,-90); x2=.5w;
%bot y2r=vround max(x_height+o+tiny,1/3[x_height,h]+o-.5mid_thickness);
bot y2r=h - vround max(2.5mid_thickness,1.5stem);
filldraw stroke z1e{down}...z2e{right}...{up}z3e;  % stroke
transform Tf; Tf=identity shifted(-.5w+slant*(-h-.25x_height),aspect_ratio*(-h-.25x_height));
savePicture(UBrevPic);
endgroup;

extra_endchar:=
  " czd ap(UBrevPic);  ah; oechar; ";
boolean dotson; dotson=true; % don't omit dots on i, j, and possibly etc.

def cp = ubrv enddef;

% end of file ubrvacct.mf