I believe discovered a bug in the iText pdf generation library.
 
If code similar to the following is used.
 
get gc (graphics context) for the page
create a new gc1 from gc
change transform on gc1
render image to gc1
dispose gc1
render text to original gc
dispose gc
 
the image will be renderered on top of the text - obviously not what is desired
 
code similar to the following needs to be used
 
get gc (graphics context) for the page
save transform from gc
change transform
render image
restore saved transform
render text
 
Is this is known limitation.
 
Although we can control this in our code, it is difficult with using third-party libraries with iText to render their output as pdf.
 
Thanks,
Robert Engels
 
 

Reply via email to