[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gv] gv is a bit slower

From: Gary Hodges
Subject: Re: [bug-gv] gv is a bit slower
Date: Mon, 21 Dec 2009 10:10:02 -0700
User-agent: Thunderbird (X11/20090817)

Markus Steinborn wrote:
Gary Hodges schrieb:
I've recently done a fresh install of Kubuntu 9.10 (previous was 6.0.6) and gv is now a step slower. I mostly use gv to view .ps files I create. Each file can have upwards of 100s of pages. In the past I could page forward or back very quickly, with the window refreshing instantly. It now takes ~0.5 sec to refresh the window. The last time something like this happened it was the anti-alias setting. I'm hopeful there might be a similarly easy fix this time.

Try to test calling "gs" directly:

gs -sDEVICE=x11 -dSAFER /usr/share/cups/data/testprint.ps

Is it faster? (Note: Press return to switch to new page).

If it is faster, compare the options GNU gv uses to call gs (with "ps xaww", you can check them while GNU gv is running). In this case, changes are great that you can adjust GNU gv to use this faster setting.

If not, it's a problem of ghostscript.

Thank you for the reply. I've tried several different things based on your suggestions. Below are two with with comments on how each worked.

gs file.ps   # Slow page refresh.
gs -sDEVICE=x11   # Fast.  This is what gv used to be like.

If I run "gv file.ps" then:
address@hidden:~/bin$ ps xaww | grep gs
13079 pts/6 S+ 0:01 gs -sDEVICE=x11 -dNOPAUSE -dQUIET -dSAFER -dFIXEDMEDIA -

The only option I haven't been able to figure out how to leave off is -dNOPAUSE. The other options don't seem to have any affect on page refresh speed.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]