You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GhostScript 9.27 released with yet another bug #880
I think they have fixed the #195 but added another bug. The attached minimal pure PostScript example demonstrates the problem. It looks fine in previewers as a full US Letter page. To crop tightly we need the bounding box. In gs 9.26 we get the correct box:
The smaller y-max means we crop across the Title and we get an error. Before I post this to the ghostscript issue tracker, can at least one confirm that this is the case please?
I am using macports and they finally updated to 9.27 today. Surprised the homebrew is behind - they seem to be ahead of macports for most things. 9.27 was released 4 months ago.
Given the rate of bugs they have had I decided to stay with 2.22 until I get confident to update again. Would have to build the ghost to try that and I’m a bit short of time for that these days.
From: Paul Wessel <[email protected]>
Sent: Tuesday, June 11, 2019 4:14 AM
To: GenericMappingTools/gmt <[email protected]>
Cc: Subscribed <[email protected]>
Subject: [GenericMappingTools/gmt] GhostScript 9.27 released with yet another bug (#880)
Fixed one bug, introduced another
I think they have fixed the #195<#195> but added another bug. The attached minimal pure PostScript example demonstrates the problem. It looks fine in previewers as a full US Letter page. To crop tightly we need the bounding box. In gs 9.26 we get the correct box:
gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=bbox bug.ps
which gives
%%BoundingBox: 71 71 361 385
%%HiResBoundingBox: 71.278803 71.278803 360.721184 384.173988
while in 9.27 we now get
%%BoundingBox: 71 71 361 377
%%HiResBoundingBox: 71.278803 71.278803 360.721184 376.541989
The smaller y-max means we crop across the Title and we get an error. Before I post this to the ghostscript issue tracker, can at least one confirm that this is the case please?
bug.ps.zip<https://github.com/GenericMappingTools/gmt/files/3274611/bug.ps.zip>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#880?email_source=notifications&email_token=AAEDF2PRDBCI2SNBJZOCSQLPZ4J7PA5CNFSM4HW2FPP2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GYWQTKA>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAEDF2JLP6FJQGWDADBIYZDPZ4J7PANCNFSM4HW2FPPQ>.
Is there an alternative to postscript to create figures? Will this ever be necessary? It appears to me that postscript is becoming more and more peripheral, and the tools to show and process (at least free/open source) are fading away. Is this true?
As of know, GMT is totally dependant on gs, right? Any danger that gs will disappear? What happens then?
I do not know my gs history, so please dont keelhaul me.
Presumably the same with using test.ps directly? Please post that file (just in case) and gs --version output and I can submit a bug report. Alternatively, you could do the same at bugs.ghostscript.com.
And it's only getting narrower. Because my eyes are f I'm forced to increase font size.
Maybe we should simply shut up that warning. Things initiated long ago when in our (almost unused -J proj4 codes we have an -Jxy. But probably I don't know anymore what to do with it and when psconvert finds that for likely geog limits, it issues that warning.
Update: At least macports have moved to @9.27_1 from @9.27_0 and this fixes the original bug reported at the top. This is a patch since there is no 9.28 out, but it does mean that perhaps most non-Linux users will be OK by just getting the latest from fink, macports, home-brew. I just noticed that my gs was updated June 27 to 9.27_1.
Activity
seisman commentedon Jun 11, 2019
How did you install ghostscript 9.27?
The ghostscript from homebrew is still in 9.26. I also don't find a binary package from ghostscript website.
PaulWessel commentedon Jun 11, 2019
I am using macports and they finally updated to 9.27 today. Surprised the homebrew is behind - they seem to be ahead of macports for most things. 9.27 was released 4 months ago.
joa-quim commentedon Jun 11, 2019
seisman commentedon Jun 11, 2019
I can reproduce the issue with the Linux x64 binary package provided by ghostscript website.
PaulWessel commentedon Jun 11, 2019
Thanks, I have opened a bug report with ghostscript: https://bugs.ghostscript.com/show_bug.cgi?id=701186.
joa-quim commentedon Jun 11, 2019
This is even worst than the bugs. No more previewer on Windows (not even the abandoned gsview is now available to dowload)
PaulWessel commentedon Jun 11, 2019
Are there really no other viewers for Windows? Presumably you will be OK producing PDFs instead.
joa-quim commentedon Jun 11, 2019
Not an issue for me that have both gsview 5 and 6 but highly disturbing news.
PaulWessel commentedon Jun 11, 2019
Well, you know the old story about rats and sinking ships.
joa-quim commentedon Jun 11, 2019
Yes, but there is also that story about the Ghost ships squad (Mary Celeste, of its name, was the head of them).
Nice name for a gsview replacement.
PaulWessel commentedon Jun 12, 2019
My bug report was seen as a duplicate of another report and apparently the problem has been fixed in the repo (https://bugs.ghostscript.com/show_bug.cgi?id=700952).
anbj commentedon Jun 12, 2019
Is there an alternative to postscript to create figures? Will this ever be necessary? It appears to me that postscript is becoming more and more peripheral, and the tools to show and process (at least free/open source) are fading away. Is this true?
As of know, GMT is totally dependant on gs, right? Any danger that gs will disappear? What happens then?
I do not know my gs history, so please dont keelhaul me.
7 remaining items
PaulWessel commentedon Jun 27, 2019
Yep, I grepped for too much and @joa-quim breaks lines to fit his tiny screen.
seisman commentedon Jun 27, 2019
Run psconvert with -S option:
Copy the raw gs command and run it give nothing. No errors, no test.jpg generated. Removing the
-qoption in the gs command doesn't help.PaulWessel commentedon Jun 27, 2019
Maybe see if removing any of the -d choices affects the outcome, i.e., find the fewest arguments that still fails so we can report a simple case.
seisman commentedon Jun 27, 2019
I removed all -d choices and used following command:
gs development version still fails to generate the JPG file and gives no warnings. However, gs 9.26 works well.
PaulWessel commentedon Jun 27, 2019
Presumably the same with using test.ps directly? Please post that file (just in case) and gs --version output and I can submit a bug report. Alternatively, you could do the same at bugs.ghostscript.com.
seisman commentedon Jun 27, 2019
EPS file (zipped): psconvert_59910d.eps.zip
gs command
gs is installed via
brew install ghostscript --HEAD, which compiles the gs source codes from the master branch. The commit hash is12ffa0f40.PaulWessel commentedon Jun 27, 2019
I have submitted a bug report for master regarding this case, at https://bugs.ghostscript.com/show_bug.cgi?id=701272.
PaulWessel commentedon Jun 27, 2019
Developers say:
--- Comment #1 from Chris Liddell (chrisl) [email protected] ---
It does produce the output file for me, on Linux.
joa-quim commentedon Jun 27, 2019
And it's only getting narrower. Because my eyes are f I'm forced to increase font size.
Maybe we should simply shut up that warning. Things initiated long ago when in our (almost unused -J proj4 codes we have an -Jxy. But probably I don't know anymore what to do with it and when psconvert finds that for likely geog limits, it issues that warning.
seisman commentedon Jun 27, 2019
This gs (9.28) command doesn't work:
This gs (9.28) command works well:
The only difference is the
-f.PaulWessel commentedon Jul 1, 2019
Update: At least macports have moved to @9.27_1 from @9.27_0 and this fixes the original bug reported at the top. This is a patch since there is no 9.28 out, but it does mean that perhaps most non-Linux users will be OK by just getting the latest from fink, macports, home-brew. I just noticed that my gs was updated June 27 to 9.27_1.
claudiodsf commentedon Oct 29, 2019
Hi,
gson homebrew (and maybe on other distributions as well) is now at version9.50.All the above examples work for me.
Should this issue be closed?
joa-quim commentedon Oct 29, 2019
Yes, I think so.
Add affiliations and ORCIDs to AUTHORS.md (GenericMappingTools#857)