* metafonts
@ 2013-10-01 18:13 Hans Hagen
0 siblings, 0 replies; only message in thread
From: Hans Hagen @ 2013-10-01 18:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-10-01 18:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-01 18:13 metafonts Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).