I got the following answer from the author of pstoedit:

> Concerning your crash. I think this is related to the -ssp option -
> isn't it? Does the crash still happen without -ssp? Anyway - you could
> compile the source code yourself, e.g. under cygwin and simply apply
> the following patch.
>
> --- drvbase.cpp.orig    2005-06-23 09:52:08.000000000 +1000
> +++ drvbase.cpp 2005-06-23 09:53:10.000000000 +1000
> @@ -843,7 +843,7 @@
>                         if (verbose)
> errf << "dumping subpath from " << starti << " to " << end << endl;
>                         outputPath->subpathoffset = starti;
> -                       outputPath->numberOfElementsInPath = end - start;
> +                       outputPath->numberOfElementsInPath = end -
> + starti;
>                         show_path();            // from start to end
>                 }
>                 starti = end;
>
> Best Regards
>
> Wolfgang

In [MikTeX]/scripts/context/perl/makempy.pl I removed -ssp [simulate subpaths] from the following two routines:

sub make_mp_pictures_ps
  { process ("metapost file") ;
    run ($tmpfile, "$pstoedit", "-ssp -dt -f mpost $posfile $tmpfile") }

sub make_mp_pictures_pdf
  { process ("metapost file") ;
    run ($tmpfile, "$pstoedit", "-ssp -dt -f mpost $pdffile $tmpfile") }

pstoedit now doesn't crash any more, but 'P' or 'O' for example don't have "holes" any more. I'll try to reinstall my cygwin or to compile the source of pstoedit on Linux later. If I understood correctly than this patch should solve the problem and -ssp should work again.

Besides that, pstoedit will move to sourceforge, so it will hopefully soon be possible to download it more easily than it is now :)

Mojca
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to