Symptoms: After performing a text search for the first time after opening a document, GSview redraws the entire document window. However, subsequent text searches, even searching for different texts, does not cause GSview to redraw the entire page if the text is in the same page as the one being viewed. ------------------------------------------------------------------------ Ghostscript version (or include output from "gs -h"): 8.62 ------------------------------------------------------------------------ Where you got Ghostscript: Ghostscript.com ------------------------------------------------------------------------ Hardware system you are using (including printer model if the problem involves printing): Memory: 384MB CPU: Intel Pentium II 400 Sound: ESS Solo-1 Video: Neomagic MagicMedia 256AV ------------------------------------------------------------------------ Operating system you are using: Windows 98SE ------------------------------------------------------------------------ Suggested fix, if any: Considering GSview already has the text information when the document is loaded, there is no reason for GSview to redraw the entire page, unless text is not in the page being viewed.
The first time GSview searches for text, it stops displaying, unloads ghostscript, then reloads ghostscript and uses it to extract the text to a temporary index file. It then reloads ghostscript to display the page with the found text. Subsequent searches just search though the temporary index files. To improve this would require some text extraction support built into ghostscript.
(In reply to comment #1) > The first time GSview searches for text, it stops displaying, unloads > ghostscript, then reloads ghostscript and uses it to extract the text to a > temporary index file. It then reloads ghostscript to display the page with the > found text. > > Subsequent searches just search though the temporary index files. > > To improve this would require some text extraction support built into > ghostscript. The text extraction device 'txtwrite' is available in recent versions of Ghostscript. It is still a separate device though.