You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Victor Balta (Jira)" <ji...@apache.org> on 2019/11/19 04:09:00 UTC
[jira] [Created] (FOP-2888) Byte array different each time I
generate a PDF
Victor Balta created FOP-2888:
---------------------------------
Summary: Byte array different each time I generate a PDF
Key: FOP-2888
URL: https://issues.apache.org/jira/browse/FOP-2888
Project: FOP
Issue Type: Bug
Components: renderer/pdf
Affects Versions: 2.1
Reporter: Victor Balta
I have been using the FopFactory & FOUserAgent to render a PDF from an xsl & xml. This is working correctly however I'm running into an issue when writing my unit test.
I save the output PDF and in my unit test I am doing a render and then doing a byte[] compare. What I noticed is that the byte array is different each time I do a render.
When I compare the PDF's I am not able to see anything visually different. Does anyone know why it is changing each render?
I tried setting the FOUserAgent creation date, but it still shows differences each render
--
This message was sent by Atlassian Jira
(v8.3.4#803005)