[MacPorts] #50475: ghostscript needs font handling fix for PR696554
#50475: ghostscript needs font handling fix for PR696554 -----------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: ghostscript -----------------------------------+-------------------------------- A font handling bug, only exposed on darwin so far, has been reported upstream... http://bugs.ghostscript.com/show_bug.cgi?id=696554 and the followed fix found and committed upstream. {{{ --- Resource/Init/gs_fonts.ps.orig 2016-01-29 08:29:46.000000000 -0500 +++ Resource/Init/gs_fonts.ps 2016-01-29 08:17:32.000000000 -0500 @@ -183,7 +183,7 @@ } if { % Stack: key file % Protect ourselves against syntax errors here. - dup { token } stopped { pop //false exit } if + dup { token } stopped { //false exit } if not { //false exit } if % end of file dup /eexec eq { pop //false exit } if % reached eexec section dup /Subrs eq { pop //false exit } if % Subrs without eexec @@ -410,7 +410,7 @@ pop } { - 3 -1 roll pop + counttomark 1 add -1 roll pop not { dup 0 get } if % stack: (newname) [ (name) (path) ] % DEBUG { ( found ) print dup print (\n) print flush } if % add entry to the fontmap }}} The attached Portfile.diff and PR696554.diff fixes this issue. -- Ticket URL: <https://trac.macports.org/ticket/50475> MacPorts <https://www.macports.org/> Ports system for OS X
#50475: ghostscript needs font handling fix for PR696554 ------------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ghostscript | ------------------------------------+-------------------------------- Comment (by howarth.at.macports@…): Note that the changes in PR696554.diff only exist in upstream trunk and will still need to be applied if the package is updated to the 9.18 release. -- Ticket URL: <https://trac.macports.org/ticket/50475#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50475: ghostscript needs font handling fix for PR696554 ------------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ghostscript | ------------------------------------+-------------------------------- Comment (by howarth.at.macports@…): Upstream analyzed the origin of the bug as... It's a dfont file, which Postscript (and thus Ghostscript) does not support. It's possible we could add a non-standard extension to support dfonts, but a) this stuff is written in Postscript, and it is not really desirable to have platform specific stuff in Postscript, and b) I understood even Apple were shifting away from using dfont files. So, for now, it's best just to handle the incompatibility gracefully. -- Ticket URL: <https://trac.macports.org/ticket/50475#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50475: ghostscript needs font handling fix for PR696554 ------------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ghostscript | ------------------------------------+-------------------------------- Comment (by howarth.at.macports@…): Ping. It's been 2 months now with no action on this ticket. -- Ticket URL: <https://trac.macports.org/ticket/50475#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#50475: ghostscript needs font handling fix for PR696554 ------------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ghostscript | ------------------------------------+-------------------------------- Comment (by cal@…): We'll do this with #49324. -- Ticket URL: <https://trac.macports.org/ticket/50475#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#50475: ghostscript needs font handling fix for PR696554 ------------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: ghostscript | ------------------------------------+-------------------------------- Changes (by cal@…): * status: new => closed * resolution: => fixed Comment: Fixed by updating to 9.19 with r147230 in #49324. -- Ticket URL: <https://trac.macports.org/ticket/50475#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts