jasperreports
jasperreports copied to clipboard
Red layer above QR and Barcode in PDF
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
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.
Hi,
This has been fixed and will be part of the next release.
Thank you, Teodor