discuss-gnustep
[Top][All Lists]
Advanced

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

Re: ANN: ViewIt 0.5


From: Nicolas Roard
Subject: Re: ANN: ViewIt 0.5
Date: Sun, 10 Aug 2003 22:36:14 +0100

On 2003-08-10 21:06:39 +0000 stefan@wms-network.de wrote:

Well, great work ! I really live the UI, it's nice and clean.
but... I have a problem reading pdf !
nice to hear :-)

:-)
there are minor issues, like the fact the scroll bar aren't framed,
so it looks a bit strange, and that you didn't set a minimum window
size..


it seems that gs crash, then the NSPipe is closed and then
ViewIt crash too...
not so nice


--> GNU Ghostscript 7.07: Unrecoverable error, exit code 1#
I'am using Ghoscript Version 7.05, maybe you can send me copy of
your pdf so that i can test too? What version of GNUstep are
you using?

it doesn't seem to be a problem of PDF -- all the pdf I tested crashed
(even my own made with LaTeX)


but if I simply call gs on the pdf, it works ...
what are the parameters you pass to gs ? it's perhaps the
problem here..
The options are the following
-dNOPAUSE
-sOutputFile=somewhere-on-your-hd
-r144x144 where 144 is replaces with the current resolution
-sDEVICE=tiff24nc
-dTextAlphaBits=4
-dQUIET
-dSAFER

Well, I called gs by hand, following the same approach : cat /tmp/cvnico-en.pdf 
| gs -dNOPAUSE -sOutputFile=/tmp/nico/gs15335_1_%d.tiff  -r144x144 
-sDEVICE=tiff24nc -dTextAlphaBits=4 -dQUIET -dSAFER -

... and it works ! so it seems to be a problem with NSTask here ...
I have a quite recent cvs version of GNUstep, but is something changed
recently on NSTask ?
I'll try to find what's the problem.

These options are set in the Ghostscript class which is located under
pdfps/objc/Ghostscript.m. Look at the method startGsIfNeeded, there
you will find the options. Maybe i should make the configurable via
the Preferences dialog... You can tweak them by modifying this method if
you want.

yes, eventually let the user modify the parameters given to gs in an
"advanced user" preference ;-)

--
Nicolas Roard <nicolas@roard.com> PGP : 
http://www.roard.com/download/key.gpg.asc
http://www.petitiononline.com/laafs/petition.html
entia non sunt multiplicanda praeter necessitatem
Work for something because it is good, not just because it stands a chance to 
succeed.  - Vaclav Havel





reply via email to

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