[cups.bugs] [HIGH] STR #1433: When compiling ESP GS with shared library "libgs", ps2pdf soes not work any more

Till Kamppeter till.kamppeter at gmx.net
Mon Feb 20 13:11:08 PST 2006


[STR New]

I have the same scenario as in STR #1419

http://www.cups.org/espgs/str.php?U1419

and there also the following bug occurs:

http://qa.mandriva.com/show_bug.cgi?id=21150

Generate simple PDF file with ("gs" is linked to /usr/bin/gsx)

echo "hello" > test.txt
a2ps test.txt -o test.ps
ps2pdf test.ps test.pdf

When opening test.pdf with:

- kghostview   -> blank page
- acroread     -> "An unrecognized token '0,1' was found."
- xpdf         -> appears a 'test.txt' image with a big font in
                  the upper left corner of the page rotated by 90 
                  degrees

If I link the "gs" command to a conventional GhostScript, which does not
use "libgs", all works fine. The test.pdf is generated correctly then and
displayed correctly by all the mentioned programs.

There seems something to be broken when dividing up GhostScript into the
shared library libgs and the small gsx executable.

I think that it is not viable for Linux distributions to have a
conventional GhostScript AND libgs, as this duplicates a bug piece of code
on the disk and also sometimes in memory. So gsx should replace the
conventional GhostScript.

ESP GhostScript is rev 128, both for this STR and STR #1419.

Link: http://www.cups.org/str.php?L1433
Version: 8.15-current





More information about the cups mailing list