#56455 closed defect (fixed)
fig2dev @3.2.7 has problems generating PDF files
Reported by: | josephsacco | Owned by: | Schamschula (Marius Schamschula) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | Schamschula (Marius Schamschula) |
Port: | fig2dev |
Description
There is something amiss with fig2dev @3.2.7:
/opt/local/bin/fig2dev -L pdf arrows.fig sh: -q: command not found Error in ghostcript command command was: -q -sAutoRotatePages=None -dAutoFilterColorImages=false -dColorImageFilter=/DCTEncode -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -o '-' -
The latest version of fig2dev, version 3.2.7a, does not have this problem. A patch for the Portfile to update to version 3.2.7a is attached.
-Joseph
Attachments (1)
Change History (6)
Changed 7 years ago by josephsacco
Attachment: | Portfile.diff added |
---|
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Keywords: | haspatch added |
---|
comment:2 Changed 7 years ago by Schamschula (Marius Schamschula)
Owner: | set to Schamschula |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:3 Changed 6 years ago by charles-c-allen
Both exporting PDF from within xfig and using fig2dev to generate a PDF file still give the above error, after an uninstall and reinstall to version 3.2.7a.
Error during EXPORT. Messages:
sh: -q: command not found Error in ghostcript command command was: -q -sAutoRotatePages=None -dAutoFilterColorImages=false -dColorImageFilter=/DCTEncode -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -o 'snark.pdf' -
comment:4 Changed 6 years ago by josephsacco
Hmmm.... That looks just like the same ghostscript error I saw when running fig2dev @3.2.7.
I just tested the two operations you mentioned on a late 2015 iMac running OSX 10.13.4 and all seems well. Both xfig and fig2dev are at version 3.2.7a:
$ port installed xfig The following ports are currently installed: xfig @3.2.7a_0 (active) $ port installed fig2dev The following ports are currently installed: fig2dev @3.2.7a_0 (active)
What platform are you running on?
-Joseph
comment:5 Changed 6 years ago by charles-c-allen
I installed via source (thanks to #56474 for reminding me of that) and it works now. The binary appears to be out of sync.
diff for Portfile