Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #2511 > unrolled thread

gv plunges into the Seascape again :-(

Started byPeter Billam <peter@www.pjb.com.au>
First post2016-04-13 03:50 +0000
Last post2016-05-26 13:11 +0000
Articles 8 — 4 participants

Back to article view | Back to comp.lang.postscript


Contents

  gv plunges into the Seascape again :-( Peter Billam <peter@www.pjb.com.au> - 2016-04-13 03:50 +0000
    Re: gv plunges into the Seascape again :-( Chris Liddell <news@shadesoft.net> - 2016-04-15 12:28 +0000
    Re: gv plunges into the Seascape again :-( ken <ken@spamcop.net> - 2016-04-15 15:34 +0100
      Re: gv plunges into the Seascape again :-( Peter Billam <peter@www.pjb.com.au> - 2016-04-16 07:01 +0000
        Re: gv plunges into the Seascape again :-( ken <ken@spamcop.net> - 2016-04-16 08:20 +0100
        Re: gv plunges into the Seascape again :-( Andre Majorel <cheney@halliburton.com> - 2016-05-23 09:32 +0000
          Re: gv plunges into the Seascape again :-( Peter Billam <peter@www.pjb.com.au> - 2016-05-25 11:38 +0000
            Re: gv plunges into the Seascape again :-( Andre Majorel <cheney@halliburton.com> - 2016-05-26 13:11 +0000

#2511 — gv plunges into the Seascape again :-(

FromPeter Billam <peter@www.pjb.com.au>
Date2016-04-13 03:50 +0000
Subjectgv plunges into the Seascape again :-(
Message-ID<slrnngrgg9.2do.peter@box8.pjb.com.au>
Greetings again.  I wrote, back in March 2016,

> Well, I can harldy believe it, but this fails
> (ie: gs -sDEVICE=pdfwrite -sPAPERSIZE=a4 rotates it into Seascape
>  and viewing the pdf with gv translates it, cropping the text in half)

Well, the following pdf document, downloaded from the real world,
triggers apparently similar gv behaviour

  https://www.consumer.vic.gov.au/resources-and-education/legislation/public-consultations-and-reviews/short-stay-accommodation-panel

on most but not all of its pages ?!  for example the first 8 pages
(up to page number 6) and then also on most of the rest.  Also,
I think, but I'm not sure, that which pages get switched into
Seascape and cropped varies every time I view the document ?!

OTOH, xpdf displays the document in A4 Portrait as intended :-)

Looks to me like gv has a problem.  What needs to happen now ?
Should I just give up gv and adopt xpdf ?

I'm on debian stable, gv Version: 1:3.7.4-1

Regards,  Peter

-- 

Peter Billam    www.pjb.com.au    www.pjb.com.au/comp/contact.html

[toc] | [next] | [standalone]


#2516

FromChris Liddell <news@shadesoft.net>
Date2016-04-15 12:28 +0000
Message-ID<785Qy.1166224$cz.337245@fx39.am4>
In reply to#2511
On Wed, 13 Apr 2016 03:50:34 +0000, Peter Billam wrote:

> Greetings again.  I wrote, back in March 2016,
> 
>> Well, I can harldy believe it, but this fails (ie: gs -sDEVICE=pdfwrite
>> -sPAPERSIZE=a4 rotates it into Seascape
>>  and viewing the pdf with gv translates it, cropping the text in half)
> 
> Well, the following pdf document, downloaded from the real world,
> triggers apparently similar gv behaviour
> 
>   https://www.consumer.vic.gov.au/resources-and-education/legislation/
public-consultations-and-reviews/short-stay-accommodation-panel
> 
> on most but not all of its pages ?!  for example the first 8 pages (up
> to page number 6) and then also on most of the rest.  Also,
> I think, but I'm not sure, that which pages get switched into Seascape
> and cropped varies every time I view the document ?!
> 
> OTOH, xpdf displays the document in A4 Portrait as intended :-)
> 
> Looks to me like gv has a problem.  What needs to happen now ? Should I
> just give up gv and adopt xpdf ?
> 
> I'm on debian stable, gv Version: 1:3.7.4-1
> 
> Regards,  Peter

Well, since gv uses Ghostscript for interpreting and rendering, I'm not 
sure why it should be a surprise that their results are similar!

The first thing I would do is see what Ghostscript's raster device make 
of it (i.e. *not* pdfwrite, ps2write etc). And also what Ghostscript's 
x11/x11alpha devices make of it (the x11 devices are raster devices, but 
are "special").

FWIW, I'd be slightly astonished if anyone is still working on gv - I 
thought it died a natural death years ago.....

Chris

[toc] | [prev] | [next] | [standalone]


#2517

Fromken <ken@spamcop.net>
Date2016-04-15 15:34 +0100
Message-ID<MPG.317b0c54432908f0989903@usenet.plus.net>
In reply to#2511
In article <slrnngrgg9.2do.peter@box8.pjb.com.au>, peter@www.pjb.com.au 
says...
> 
> Greetings again.  I wrote, back in March 2016,
> 
> > Well, I can harldy believe it, but this fails
> > (ie: gs -sDEVICE=pdfwrite -sPAPERSIZE=a4 rotates it into Seascape
> >  and viewing the pdf with gv translates it, cropping the text in half)
> 
> Well, the following pdf document, downloaded from the real world,
> triggers apparently similar gv behaviour
> 
>   https://www.consumer.vic.gov.au/resources-and-education/legislation/public-consultations-and-reviews/short-stay-accommodation-panel

That seems to be an HTML page, not a PDF, perhaps you mean :

https://www.consumer.vic.gov.au/library/publications/resources-and-
education/legislation/public-consultations-and-reviews/renting-report-
on-short-stay-accommodation-in-cbd-apartment-buildings.pdf?la=en

But running that through Ghostscript with tht pdfwrite device does not 
result in any pages being rotated (I might reasonably ask, I thnk, why 
are creating a PDF file when you already have one ?)

So I tried rendering, and that works as expected as well.

By the way -sPAPERSIZE=A4 won;t do anything useful with the pdfwrite 
device, unless the input lacks a media size request, which will never be 
the case if the input is a PDF file.

 
> Looks to me like gv has a problem.  What needs to happen now ?

If you think you have found a bug in Ghostscript then you need to report 
it as such. Don't forget to supply an example file, a precise command 
line to reproduce the problem, and fill in the fields regarding the 
version of Ghostscript and the platform.

The version of gv doesn't tell me anything I'm afraid.




				Ken

[toc] | [prev] | [next] | [standalone]


#2520

FromPeter Billam <peter@www.pjb.com.au>
Date2016-04-16 07:01 +0000
Message-ID<slrnnh3oq4.883.peter@box8.pjb.com.au>
In reply to#2517
On 2016-04-15, ken <ken@spamcop.net> wrote:
>> Well, the following pdf document, downloaded from the real world,
>> triggers apparently similar gv behaviour
>
> That seems to be an HTML page, not a PDF, perhaps you mean :
>
> https://www.consumer.vic.gov.au/library/publications/resources-and-
> education/legislation/public-consultations-and-reviews/renting-report-
> on-short-stay-accommodation-in-cbd-apartment-buildings.pdf?la=en

Indeed.

> But running that through Ghostscript with tht pdfwrite device does not 
> result in any pages being rotated (I might reasonably ask, I think,
> why are creating a PDF file when you already have one ?)

Sorry for not being clear: the  gs -sDEVICE=pdfwrite  command
arose back in March 2016, when the guilty party was deemed to be
gv that I used to view that resulting pdf.  Which seems to be
confirmed now, because:

>> Well, the following pdf document, downloaded from the real
>> world, triggers apparently similar gv behaviour

Chris Liddell wrote:

> FWIW, I'd be slightly astonished if anyone is still working
> on gv - I thought it died a natural death years ago.....

Oh...  That seems to leave me with a choice between:
  evince   GNOME https://wiki.gnome.org/Apps/Evince   38Mb
  atril    MATE http://www.mate-desktop.org/          36Mb
  okular   Qt/KDE http://www.kde.org/                209Mb
which seems to amount to a strategic choice between gnome3, gnome2
and kde, which needs research...

Do I have other good choices for a PS/EPS/PDF viewer ?

Will I still need ghostscript to convert PS/EPS to PDF, or do
these other viewers come with their own PS/EPS to PDF converters ?

The thing that most annoys me about gv is that the file-selector
doesn't have tab-completion - do any others offer tab-completion ?

Thanks for your help,

Regards,  Peter

-- 

Peter Billam    www.pjb.com.au    www.pjb.com.au/comp/contact.html

[toc] | [prev] | [next] | [standalone]


#2521

Fromken <ken@spamcop.net>
Date2016-04-16 08:20 +0100
Message-ID<MPG.317bf80fcc816410989904@usenet.plus.net>
In reply to#2520
In article <slrnnh3oq4.883.peter@box8.pjb.com.au>, peter@www.pjb.com.au 
says...

> Oh...  That seems to leave me with a choice between:
>   evince   GNOME https://wiki.gnome.org/Apps/Evince   38Mb
>   atril    MATE http://www.mate-desktop.org/          36Mb
>   okular   Qt/KDE http://www.kde.org/                209Mb
> which seems to amount to a strategic choice between gnome3, gnome2
> and kde, which needs research...
> 
> Do I have other good choices for a PS/EPS/PDF viewer ?
> 
> Will I still need ghostscript to convert PS/EPS to PDF, or do
> these other viewers come with their own PS/EPS to PDF converters ?

For PostScript and EPS (which is just PostScript) you need a PostScript 
interpreter. The only 2 open source PostScript interpreters currently in 
existence and being developerd (as far as I know) are luser droog's 
xpost and Ghostscript. As far as I know xpost doesn't have any 
'distiller' functionality to produce PDF files. So any solution will 
almost certainly have to include Ghostscript somewhere.

Of coruse Ghostscript tself can render PostScript, EPS and PDF, to the 
display but its not intended as a viewer.

			Ken

[toc] | [prev] | [next] | [standalone]


#2585

FromAndre Majorel <cheney@halliburton.com>
Date2016-05-23 09:32 +0000
Message-ID<slrnnk5jhv.4it.cheney@atc5.vermine.org>
In reply to#2520
On 2016-04-16, Peter Billam <peter@www.pjb.com.au> wrote:

> Oh...  That seems to leave me with a choice between:
>   evince   GNOME https://wiki.gnome.org/Apps/Evince   38Mb
>   atril    MATE http://www.mate-desktop.org/          36Mb
>   okular   Qt/KDE http://www.kde.org/                209Mb
> which seems to amount to a strategic choice between gnome3, gnome2
> and kde, which needs research...

Late reply but this computer runs neither Gnome nor KDE (nor any
kind of desktop environment, only a rather venerable window
manager called FVWM) and Atril & Evince seem to work fine.

aptitude install okular wanted to pull in 55 MB of KDE-related
packages so I held off for now.

-- 
André Majorel http://www.teaser.fr/~amajorel/
J'ai des vrais problèmes, vous avez des faux problèmes.

[toc] | [prev] | [next] | [standalone]


#2586

FromPeter Billam <peter@www.pjb.com.au>
Date2016-05-25 11:38 +0000
Message-ID<slrnnkb3l6.33o.peter@box8.pjb.com.au>
In reply to#2585
On 2016-05-23, Andre Majorel <cheney@halliburton.com> wrote:
> On 2016-04-16, Peter Billam <peter@www.pjb.com.au> wrote:
>>   evince   GNOME https://wiki.gnome.org/Apps/Evince   38Mb
>>   atril    MATE http://www.mate-desktop.org/          36Mb
>>   okular   Qt/KDE http://www.kde.org/                209Mb
>> which seems to amount to a strategic choice between gnome3,
>> gnome2 and kde, which needs research...
>
> Late reply but this computer runs neither Gnome nor KDE (nor
> any kind of desktop environment, only a rather venerable window
> manager called FVWM)

Good to hear from you; I run fvwm1 :-)
  ~> aptitude search fvwm1
  i  fvwm1   - Old version of the F(?) Virtual Window Manager
because I can configure keystrokes to move the mouse around,
and I'm really used to those keystrokes now...

> and Atril & Evince seem to work fine.

Ah, good.

> aptitude install okular wanted to pull in 55 MB of
> KDE-related packages so I held off for now.

I must have even less KDE stuff installed than you do.

Peter

-- 

Peter Billam    www.pjb.com.au    www.pjb.com.au/comp/contact.html

[toc] | [prev] | [next] | [standalone]


#2587

FromAndre Majorel <cheney@halliburton.com>
Date2016-05-26 13:11 +0000
Message-ID<slrnnkdtgd.92o.cheney@atc5.vermine.org>
In reply to#2586
On 2016-05-25, Peter Billam <peter@www.pjb.com.au> wrote:
> On 2016-05-23, Andre Majorel <cheney@halliburton.com> wrote:
>
>> Late reply but this computer runs neither Gnome nor KDE (nor
>> any kind of desktop environment, only a rather venerable window
>> manager called FVWM)
>
> Good to hear from you; I run fvwm1 :-)
>   ~> aptitude search fvwm1
>   i  fvwm1   - Old version of the F(?) Virtual Window Manager
> because I can configure keystrokes to move the mouse around,
> and I'm really used to those keystrokes now...

FVWM 1 ? You must be a die hard amongst die hards. I use the
keyboard bindings too, never was too keen on the mouse.

>> and Atril & Evince seem to work fine.
>
> Ah, good.

Update : if Atril is left running, its memory usage seems to get
significantly larger every time while the PostScript file is
modified. Looks like a memory leak.

Also, I don't know how to get detailed error messages from
either Atril or Evince, which limits their usefulness for
PostScript development.

>> aptitude install okular wanted to pull in 55 MB of
>> KDE-related packages so I held off for now.
>
> I must have even less KDE stuff installed than you do.

-- 
André Majorel http://www.teaser.fr/~amajorel/
J'ai des vrais problèmes, vous avez des faux problèmes.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.postscript


csiph-web