summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/fonts/bidi-symbols.tex27
1 files changed, 27 insertions, 0 deletions
diff --git a/metapost/context/fonts/bidi-symbols.tex b/metapost/context/fonts/bidi-symbols.tex
new file mode 100644
index 000000000..7e9c51a93
--- /dev/null
+++ b/metapost/context/fonts/bidi-symbols.tex
@@ -0,0 +1,27 @@
+% \nopdfcompression
+
+\starttext
+
+ \definemetafont[bidi-symbols][bidi-symbols.mp]
+
+ \startbuffer
+ xxx{\demo\char"202A}\relax xxx\quad % lre
+ xxx{\demo\char"202B}\relax xxx\quad % rle
+ xxx{\demo\char"202C}\relax xxx\quad % pdf
+ xxx{\demo\char"202D}\relax xxx\quad % lro
+ xxx{\demo\char"202E}\relax xxx\quad % rlo
+ \stopbuffer
+
+ \definefont[demo][demo@bidi-symbols]
+
+ \getbuffer \blank
+
+ \definefont[demo][demo@bidi-symbols at \the\dimexpr3\exheight]
+
+ \getbuffer \blank
+
+ \definefont[demo][demo@bidi-symbols at \the\dimexpr4\exheight]
+
+ \getbuffer \blank
+
+\stoptext