Hi, Another new feature (side effect of ctx meeting): %D \module %D [ file=demo-symbols.mp, %D version=2013.09.06, %D title=\CONTEXT\ \METAPOST\ graphics, %D subtitle=demo font, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. passvariable("fontname","demo-symbols") ; passvariable("fontversion","1.004") ; beginglyph(9754,2,4,0) ; % high voltage interim ahlength := 1 ; drawarrow (1,4) -- (0,2) -- (2,3) -- (1,0) withcolor darkred ; endglyph ; \starttext \definemetafont[demo-symbols][demo-symbols.mp] \startbuffer watch this: {\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 ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (1)
-
Hans Hagen