summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/fonts/source/public/wnri/odotacct.mf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/fonts/source/public/wnri/odotacct.mf')
-rw-r--r--Master/texmf-dist/fonts/source/public/wnri/odotacct.mf27
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/fonts/source/public/wnri/odotacct.mf b/Master/texmf-dist/fonts/source/public/wnri/odotacct.mf
new file mode 100644
index 00000000000..8e80b9df827
--- /dev/null
+++ b/Master/texmf-dist/fonts/source/public/wnri/odotacct.mf
@@ -0,0 +1,27 @@
+%
+% Washington Romanized Indic accent driver
+%
+% Macros to draw superscript dot accents
+%
+
+cmchar "Dot accent";
+numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#);
+beginchar(oct"137",5u#,min(asc_height#,10/7x_height#+.5dot_diam#),0);
+define_whole_blacker_pixels(dot_diam);
+italcorr h#*slant+.5dot_diam#-2u#;
+adjust_fit(0,0);
+pickup tiny.nib; pos1(dot_diam,0); pos2(dot_diam,90);
+x1=x2=.5w; top y2r=h+1;
+if bot y2l<x_height+o+slab: y2l:=min(y2r-eps,x_height+o+slab+.5tiny); fi
+y1=.5[y2l,y2r]; dot(1,2); % dot
+makeACCENT(DotPic);
+endgroup;
+
+extra_endchar:=
+ " czu ap(DotPic); ah; oechar; ";
+boolean dotson; dotson=true; % don't omit dots on i, j, and possibly etc.
+
+def cp = odot enddef;
+
+% end of file odotacct.mf
+