summaryrefslogtreecommitdiff
path: root/metapost/context/fonts/demo-symbols.tex
diff options
context:
space:
mode:
Diffstat (limited to 'metapost/context/fonts/demo-symbols.tex')
-rw-r--r--metapost/context/fonts/demo-symbols.tex21
1 files changed, 21 insertions, 0 deletions
diff --git a/metapost/context/fonts/demo-symbols.tex b/metapost/context/fonts/demo-symbols.tex
new file mode 100644
index 000000000..e9af4a027
--- /dev/null
+++ b/metapost/context/fonts/demo-symbols.tex
@@ -0,0 +1,21 @@
+\starttext
+
+ \definemetafont[demo-symbols][demo-symbols.mp]
+
+ \startbuffer
+ watch this: {\demo\char"261A} \quad \ruledhbox{\demo\char"261A}
+ \stopbuffer
+
+ \definefont[demo][demo@demo-symbols]
+
+ \getbuffer \blank
+
+ \definefont[demo][demo@demo-symbols at \the\dimexpr3\exheight]
+
+ \getbuffer \blank
+
+ \definefont[demo][demo@demo-symbols at \the\dimexpr4\exheight]
+
+ \getbuffer \blank
+
+\stoptext