I would be surprised if anything other than a scanner application as
mentioned in #2 depended on OCR? It's relatively expensive, so I
wouldn't expect something like diffoscope or a PDF viewer to do it
itself (only to read existing OCR output, which afaik is just normal
text that ghostscript can read without tesseract).

Would it be possible to compile ghostscript to work with tesseract
without introducing a hard dependency at runtime? IIRC packages in main
are allowed to suggest non-main packages.

Also: From reading more about ghostscript's OCR*, it sounds like
leptonica is only used with tesseract, so removing them together makes
sense.

*https://ghostscript.com/blog/ocr.html,
https://ghostscript.readthedocs.io/en/latest/Devices.html#optical-
character-recognition-ocr-devices

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

Title:
  Remove repacked tesseract.

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to