% Redefine pathforall for tracing.
% Can't be used recursively.
/-pathforall /pathforall load def
/-close exch def /-curve exch def /-line exch def /-move exch def
{2 copy exch =only # =only ( moveto\n)print -dict /-move get exec}
{2 copy exch =only # =only ( lineto\n)print -dict /-line get exec}
{6 copy 6 -1 roll =only # 5 -1 roll =only #
4 -1 roll =only # 3 -1 roll =only # exch =only # =only ( curveto\n)print
{(closepath\n)print -dict /-close get exec}
% Just print the current path
{ {pop pop} {pop pop} {pop pop pop pop pop pop} {} pathforall } def