HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › Trouble understanding differencies between Linux and Windows › Re: Re: Trouble understanding differencies between Linux and Windows
Hi !
We are trying to make binary comparaison on our pdf file to ensure non regression test.
As asked, two pdf which permit to understand well our problem.
From the unzipped pdf generated from linux we get the following header :
‘qn% PD4ML version: 396 Pro DMSn% JDK version: 1.7.0_79n% OS version: Linux 3.13.0-53-genericn% File encoding: UTF-8n%
From the unzipped pdf generated from windows we get the following header :
‘qn% PD4ML version: 396 Pro DMSn% JDK version: 1.7.0_71n% OS version: Windows 7 6.1n% File encoding: windows-1252n%
Thus, we still have some problem regarding binary comparaison. In fact the actual version of PD4ML doesn’t allow us to overwrite the data of the pdf regarding those 3 elements :
callParameters.append( “% JDK version: ” + System.getProperty( “java.version” ) + “n” );
callParameters.append( “% OS version: ” + System.getProperty( “os.name” ) + ” ” );
callParameters.append( System.getProperty( “os.version” ) + “n” );
Hoping the release allowing this overwrite will be able soon.
Best regards,