[metapost] Running mpost as a unix daemon?
Hans Hagen
pragma at wxs.nl
Thu Feb 20 19:50:10 CET 2014
On 2/20/2014 6:12 PM, Dave Crossland wrote:
> On 20 February 2014 08:35, Hans Hagen <pragma at wxs.nl> wrote:
>> unless you have a limited well known application you still have to restart
>> the mp session from scratch as macros can rewrite themselves, variables can
>> be set, and one run can influence an upcoming one.
>
> We're just using it to calculate glyph outlines with very simple
> variables, not hand written metafont code, so metaprogramming and
> inter-run changes won't happen.
>
> So we can use LuaTeX's sockets to send in a simple mf description of a
> glyph, with a preamble setting some variables, and see returned a new
> glyph with different point co-ordinates, and no start up time cost?
yes
Hans
-----------------------------------------------------------------
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
-----------------------------------------------------------------
More information about the metapost
mailing list