jasperreports icon indicating copy to clipboard operation
jasperreports copied to clipboard

Red layer above QR and Barcode in PDF

Open Canos opened this issue 7 years ago • 1 comments

Hi guys, if i open the pdf generated by jasper with an editor like ilustrator i see a red layer above the QR and barcode. Not happening within adobe reader niether browser preview viewer.
If you print the document from this editor you will print the layer, since the QR or barcode is behind is not printed so they are impossible to read.

do you have any idea how to solve it?

Thanks in advance

Canos avatar Nov 16 '18 11:11 Canos

I had a similar problem with SVG-images.

The root cause of the problem and and a concept for a solution is described in the JasperSoft Comunity Forum. It is basically an invisible embedded image of the size of the underlying graphic.

To fix it you have to create your own implementation of the JRPdfExporter class, to prevent the call of getPxImage(). I implemented a fix and it worked fine.

BernwardWeigand avatar Mar 09 '20 13:03 BernwardWeigand

Hi,

This has been fixed and will be part of the next release.

Thank you, Teodor

teodord avatar Jul 21 '23 07:07 teodord