Bug 693334 - Cannot print a PDF on Kyocera Printer
Summary: Cannot print a PDF on Kyocera Printer
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PS Writer (show other bugs)
Version: master
Hardware: PC Linux
: P4 normal
Assignee: Ken Sharp
QA Contact: Bug traffic
Depends on:
Reported: 2012-09-14 16:27 UTC by Felix Möller
Modified: 2014-02-17 04:43 UTC (History)
2 users (show)

See Also:
Word Size: ---

PDF which produces the error (828.50 KB, application/pdf)
2012-09-14 16:27 UTC, Felix Möller

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Möller 2012-09-14 16:27:33 UTC
Created attachment 8936 [details]
PDF which produces the error

All information at https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1049635
Comment 1 Ken Sharp 2012-09-15 07:48:20 UTC
As per the discussion on the Ubuntu bug tracker, the problem here is simply complexity.

The 'text' in the PDF file is not exactly text, it is set in text render mode 7, ie clip, and then the image is drawn through that clip. When we convert this to PostScript we emit a large clip path, and this clip is simply too complex for the simple-minded interpreter.

The only way to alter this, without rendering everything to an image,  would be to emit the clip as a 'charpath clip' instead of an explicit clip, but the paths *should* be equivalent in complexity/ Indeed the printer originally quoted fails in the same way when this is done.

Although 2 HP printers are able (in one case barely able) to print the charpath version its probable that a slight increase in path size would cause these printers to fail too.

Since altering the output to use charpath would be a significant task for strictly limited benefit I don't propose to do anything about it at present.