summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-09-30 20:05:00 +0200
committerHans Hagen <pragma@wxs.nl>2013-09-30 20:05:00 +0200
commit1872cae81d4c51b6eba9475ad99a8ae95acf2550 (patch)
treebec3ac3faa459f9297e127fdba213f0dc20a3feb /metapost
parent3bd0c3e25a26069d71a5c905cd8af54b38172655 (diff)
downloadcontext-1872cae81d4c51b6eba9475ad99a8ae95acf2550.tar.gz
beta 2013.09.30 20:05
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