summaryrefslogtreecommitdiff
path: root/fonts/thai/rmit/charc2.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/charc2.mf
Initial commit
Diffstat (limited to 'fonts/thai/rmit/charc2.mf')
-rw-r--r--fonts/thai/rmit/charc2.mf24
1 files changed, 24 insertions, 0 deletions
diff --git a/fonts/thai/rmit/charc2.mf b/fonts/thai/rmit/charc2.mf
new file mode 100644
index 0000000000..c7f57e3af2
--- /dev/null
+++ b/fonts/thai/rmit/charc2.mf
@@ -0,0 +1,24 @@
+beginthaichar("YAW YAH!K", "C2", "ya", 2thick# + normwd#, normht#, 0);
+ p_def(1, thick, 0);
+ penpos2(thin, 270);
+ penpos3(thick, 0);
+ cup_def(4);
+ penpos5(thick, 0);
+
+ lft x1lft = lft x4lft = leftmost;
+ rt x4rt = rt x5r = rightmost;
+ x2 = x1rt;
+ x3l = x4lft;
+ top y1top = normht;
+ %y2l = y1bot - dia - thin;
+ %y3 = y2r - dia - thin;
+ y2 = 1/2normht;
+ y3 = y4top;
+ top y5 = normht;
+
+ filldraw p_path(1){down} .. {right}z2l -- z2r{left} .. {up}cycle;
+ filldraw z2r{left} .. {down}z3r -- cup_path_i(4)
+ -- z5l -- z5r -- (reverse cup_path_o(4)) -- z3l{up}
+ .. {right}z2l -- cycle;
+ penlabels(1,2,3,4,5);
+endthaichar;