summaryrefslogtreecommitdiff
path: root/fonts/thai/rmit/char89.mf
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/thai/rmit/char89.mf
Initial commit
Diffstat (limited to 'fonts/thai/rmit/char89.mf')
-rw-r--r--fonts/thai/rmit/char89.mf24
1 files changed, 24 insertions, 0 deletions
diff --git a/fonts/thai/rmit/char89.mf b/fonts/thai/rmit/char89.mf
new file mode 100644
index 0000000000..92b588ed91
--- /dev/null
+++ b/fonts/thai/rmit/char89.mf
@@ -0,0 +1,24 @@
+beginthaichar("small MY EHK", "89", "sme", 0, normht# + uvgap# + uvht# + tonegap# + toneht#, 0);
+ penpos1(thin, 180);
+ penpos2(thin, 90);
+ penpos3(thin, 0);
+ penpos4(thin, 270);
+ penpos5(thin, 90);
+ penpos6(thin, 0);
+
+ x6r = -rightgap;
+ x1l = x6l - 1/4toneht;
+ x1r - 1/4toneht = x3r;
+ x3l = x5;
+ x2 = x4 = 1/2[x1, x3];
+ y4l = y6 = normht + uvgap + uvht + tonegap + toneht;
+ y2r + 1/4toneht = y4r;
+ y1 = y3 = 1/2[y2, y4];
+ y5l = normht + uvgap + uvht + tonegap;
+
+ filldraw z1l{down} .. z2l{left} .. z3l{up} .. z4l{right} .. z1l{down}
+ .. {left}z5l -- z5r{right} .. z1r{up} .. z4r{left}
+ .. z3r{down} .. z2r{right} .. z1r{up} -- cycle;
+ filldraw z5r{right} .. {up}z6l -- z6r{down} .. z5l{left} -- cycle;
+ penlabels(1,2,3,4,5,6);
+endthaichar;