On 10/24/2017 07:51 PM, luigi scarso wrote:
On Tue, Oct 24, 2017 at 7:42 PM, Pablo Rodriguez wrote:
But replacing vectors with bitmaps is a way of avoiding the issue, not of fixing it (if this needs to be fixed).
yes, it's a clean way to resolve a problem that could not be solvable. The point is that is more easy to make a correct pdf than fix an arbitrary pdf to make it conform to the document
If the document is invalid, I totally agree with you, there is nothing to fix there. After analyzing cow.pdf, the issue is in that file. Of course, I didn’t mean to fix invalid documents. Although I think that there might be an issue with the way that LuaTeX (or ConTeXt, I don’t know) inserts form xobjects with CMYK colors in a PDF document. It adds them a color space that (I think) makes it impossible that an icc profile can be referred to the form xobject. Pablo -- http://www.ousia.tk