14 PostScript to Asymptote

The excellent PostScript editor pstoedit (version 3.50 or later; available from https://sourceforge.net/projects/pstoedit/) includes an Asymptote backend. Unlike virtually all other pstoedit backends, this driver includes native clipping, even-odd fill rule, PostScript subpath, and full image support. Here is an example:

asy -V /usr/local/share/doc/asymptote/examples/venn.asy

pstoedit -f asy venn.eps test.asy
asy -V test

If the line widths aren’t quite correct, try giving pstoedit the -dis option. If the fonts aren’t typeset correctly, try giving pstoedit the -dt option.