PDF comparison gives a truncated report in Java

I am working with a trial and a trial license key with GroupDocs.Compare 17.3.2 and was comparing PDFs. The report generated has a summary page which is missing the Style changes and the text of the PDF is truncated in multiple places. I have attached a zip file with the two PDFs used for compare and the result page generated from ICompareResult.saveDocument().

The code used was:

private static void compareFiles(String file1, String file2, String reportPath)
{
	ComparisonSettings settings = null;
	Comparer comparer = null;
	ICompareResult result = null;
	String suffix = null;

	try
	{
		comparer = new Comparer();
		settings = new ComparisonSettings();
		settings.setGenerateSummaryPage(true);
		settings.setStyleChangeDetection(true);
		
		suffix = file1.substring(file1.lastIndexOf("."));
		if(!suffix.startsWith("."))
		{
			suffix = "." + suffix;
		}

		result = comparer.compare(new FileInputStream(file1), new FileInputStream(file2), settings);
		result.saveDocument(reportPath + suffix);
		
		System.out.println("Finished compare " + result.getCountOfErrors() + " errors and " + result.getChanges().length + " changes.");
		System.out.println("Report written to " + reportPath + suffix);
	}
	catch(Exception e)
	{
		e.printStackTrace();
	}
}

Compare.zip (152.5 KB)

Correction:
The line in the summary is there for Style changes, however it is 0 when it should be 1. It is not detecting the style change. The style change is also in one of the severely truncated paragraphs.

@sherter,

Thank you for your inquiry.
This issue is reproduced at our end as well. Hence, we have logged it in our internal issue tracking system with ID: COMPARISONJAVA-420 for further investigation. As we have any update on it, we shall surely notify you.

@sherter,

Your reported issue shall be resolved in next release of the API that is expected in June. As release gets on-board, you shall be notified.

@sherter,

Your reported problem COMPARISONJAVA-420 has been resolved in the v18.6. Please integrate the latest version of the API into your project and share your feedback.