Example.

Start with GS 9.26 installed.

1 Install package ocrfeeder from the Graphics (universe) category (if
not already installed).

2 Run ocrfeeder (desktop menu item OCRFeeder).

3 Select a PDF file to use with File>Import PDF.

4 A pop-up dialog "Loading" appears; after it closes the images of the
pages from the PDF file are shown in the ocrfeeder application window.
One can then use the application UI to run OCR on the images or selected
areas from them.

Start again with GS 9.50 installed.

Repeat steps 1-3. At step 4, nothing happens.

Repeat but at 2 start ocrfeeder from a terminal window. At step 4 a
Ghostscript error exit 1 is reported.

The referenced bug (which owing to a long-standing bug in Launchpad has
been automatically linked to Launchpad, but is actually in GS's
Bugzilla) means that some ways of passing a filename argument from  the
GS command line fail to give the said file read permission in the GS
interpreter.

ocrfeeder sensibly calls GS using "gs ... -- <filename>", which protects
against incorrect command-line parsing for a file called (eg) "--
startswithhyphens.pdf", but is also one of the bugged cases.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1913656

Title:
  Fix for Ghostscript 9.50 upstream bug needs to be back-ported

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1913656/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to