diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/wnri/fubrvact.mf |
Initial commit
Diffstat (limited to 'fonts/wnri/fubrvact.mf')
-rw-r--r-- | fonts/wnri/fubrvact.mf | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/fonts/wnri/fubrvact.mf b/fonts/wnri/fubrvact.mf new file mode 100644 index 0000000000..e6a1991d3b --- /dev/null +++ b/fonts/wnri/fubrvact.mf @@ -0,0 +1,28 @@ +% +% Washington Romanized Indic accent driver +% +% Macros to draw flat subscript breve accents +% + +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=.825[x_height,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); +filldraw stroke z1e{down}...z2e{right}...{up}z3e; % stroke +transform Tf; Tf=identity shifted(-.5w+slant*(-y1-.25x_height),aspect_ration(-y1-.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 fubrvact.mf + |