(0007730)
james (manager)
2010-03-23 15:46
|
The anti-alias device used in gv is what is making gv slower. Turn off anti aliasing and see the difference. Simulate the effect directly with Ghostscript:
gs -sDEVICE=x11alpha test.ps
Try alternate aliasing:
gs -dGraphicsAlphaBits=1 -dTextAlphaBits=1 test.ps
gs -dGraphicsAlphaBits=2 -dTextAlphaBits=2 test.ps
gs -dGraphicsAlphaBits=4 -dTextAlphaBits=4 test.ps
You can set the gs parameters in gv.
The underlying problem is the Postscript itself, it just slow. It's plotting dots by drawing zero length lines with the linecap set to round. Try the dot or as procedure, gylph or similarly cached bit map, user path or form. Even then, it's plotting the dots over each other, I expect the whole thing can be improved but decide if you want to spend time writing a better prologue, time writing better output, or spend time waiting for the Postscript interpreter. |