summaryrefslogtreecommitdiff
path: root/fonts/thai/rmit/charb3.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/charb3.mf
Initial commit
Diffstat (limited to 'fonts/thai/rmit/charb3.mf')
-rw-r--r--fonts/thai/rmit/charb3.mf26
1 files changed, 26 insertions, 0 deletions
diff --git a/fonts/thai/rmit/charb3.mf b/fonts/thai/rmit/charb3.mf
new file mode 100644
index 0000000000..f5a2d1ac6f
--- /dev/null
+++ b/fonts/thai/rmit/charb3.mf
@@ -0,0 +1,26 @@
+beginthaichar("NAW NEHN", "B3", "ne", jutout# + 3thick# + 2normwd#, normht#, 0);
+ b_def(1, thick, thick - thin);
+ gor_def(2);
+ penpos3(thick, 0);
+ penpos4(thin, 270);
+ b_def(5, thick, thick - thin);
+ topcap_def(6);
+
+ lft x1lft = lft x2lft = leftmost + jutout;
+ x2rt = x3r;
+ rt x5rt = rightmost;
+ x4 = x5l;
+ x6 = x5;
+ x3l = 1/2[x1,x6];
+ bot y1bot = 0;
+ bot y3 = 0;
+ bot y5bot = 0;
+ top y6top = normht;
+ y4l = y5top;
+
+ filldraw b_path(1) -- gor_path_i(2) -- z3l -- z3r
+ -- reverse gor_path_o(2) -- cycle;
+ filldraw z3l .. {right}z4l -- z4r{left} .. z3r -- cycle;
+ filldraw b_path(5) -- z6r -- z6l -- cycle;
+ penlabels(1,2,3,4,5,6);
+endthaichar;