[metapost] Problem with generating EPS from MetaFont source

Michael Ummels michael.ummels at rwth-aachen.de
Wed Dec 1 11:41:12 CET 2010


Sorry, when stripping the test file, I removed some dimensions. If you want
to compile test.mf using MetaFont, replace the line

define_whole_pixels(equal_spread, arrow_horiz_len,
arrow_vert_len, arrow_diag_len, arrow_spread, line_thickness,
rule_thickness, side_bearing);

by

define_whole_pixels(equal_spread, arrow_diag_len, arrow_spread,
line_thickness, rule_thickness, side_bearing);

Then, if you run "mf '\mode:=localfont; input test'", you will see that it
compiles just fine.

Michael

On Wed, Dec 1, 2010 at 10:07, luigi scarso <luigi.scarso at gmail.com> wrote:
>
> Not an answer, but a question (a bit off-topic..): how can you process
> you test.mf with METAFONT ?
> I've tried
> # ./mf '&plain \mode:=localfont; mag=100.375; input test'
>
> This is METAFONT, Version 2.718281 (Web2C 7.5.7)
> (test.mf
> >> 277.77776arrow_horiz_len#+0.5
> ! Not implemented: floor(unknown numeric).
> <to be read again>
>                   endgroup
> <to be read again>
>                   ;
> <for(arrow_horiz_len)> ...hround((SUFFIX0)#*hppp);
>                                                   ENDFOR
> l.13 ...e_thickness, rule_thickness, side_bearing)
>
> --
> luigi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20101201/898ae169/attachment.html>


More information about the metapost mailing list