summaryrefslogtreecommitdiff
path: root/fonts/wnri/ibrvacct.mf
blob: ef14a3b49e3fb83e8f68f9a6378bed6e87f8b980 (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
%
% Washington Romanized Indic accent driver
%
% Macros to draw inverted breve accents
%

cmchar "inverted 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);
numeric mid_thickness; mid_thickness=vround 1/3[vair,stem];
bot y1=bot y3=vround max(x_height+o+tiny,1/3[x_height,h]+o-.5mid_thickness); 
lft x1r=w-rt x3r=hround(2u-.5vair);
pos2(mid_thickness,90); x2=.5w;
top y2r=h;
filldraw stroke z1e{up}...{right}z2e...{down}z3e;  % stroke
makeACCENT(IbrvPic);
endgroup;

extra_endchar:=
  " czu ap(IbrvPic);  ah; oechar; ";
boolean dotson; dotson=false; % omit dots on i, j, and possibly etc.

def cp = ibrv enddef;

% end of file ibrvacct.mf