Display Documents on mobile, tablet and desktop

The world’s most flexible document viewing solution

Download Trial Request a quote

JPDF2HTML5 July 2015 Release Notes

JPDF2HTML5 July 2015 Release (07/07/2015)

Next Release: 4th August 2015
 

 

Summary

  • Added option to enable PNG compression
  • New CompleteDocument setting in ContentOptions
  • IDRViewer bug fixes and improvements
  • General bug fixes and improvements

Changes and Enhancements

21611: Add conversion option to enable PNG compression
Rather than producing 24 bit RGB or 32 bit RGBA truecolor PNG images, instead the converter can now produce 8 bit palette images that have undergone quantization and dithering. This is a lossy compression, but visual quality remains very high.

Enabling compression will make conversion slower. On average, expect conversion time to at least double. File size saving can be significant. On files with large images, it is not unusual to see savings of 70-80% on the image file size.

More information about how the compression works: https://blog.idrsolutions.com/2015/07/how-to-generate-smaller-png-files-in-java/

Link to Javadoc for compressImages setting

21409: New CompleteDocument setting in ContentOptions
ContentOptions now has a setting CompleteDocument that when enabled, will write out each page as a valid HTML document that contains HTML, HEAD and BODY tags such that the file can be used as an iframe.

When disabled, just the page content inside a single DIV will be included in each file.

Link to Javadoc for completeDocument setting

21321: Changes to CONTENT mode
<!-- widthXheight --> comment has been removed from the top of HTML files. The containing div now has width and height set as styles.

The recommended way to access width and height is from the properties.json file.

21355: Simplify IDRViewer API
The API to setup the IDRViewer has been simplified.

21565: Increase accuracy of text matrix values
Small improvement to accuracy

21643: Move ‘insertIntoHead’ content to the bottom of the head tag
User code has been moved to the bottom of the head tag.

21285: Remove OutputDisplay.DVR as part of legacy code (and also OutputDisplay.DVR
Unused code removed

 

Fixes

21648: IDRViewer bookmarks are not output in SVG mode
Fixed

21649: IDRViewer panning not working on Chrome when viewing local documents
Fixed

21379: IDRViewer: In magazine modes only one thumbnail has the highlight set
Fixed

21516: IDRViewer continuous page bounds incorrect
Fixed

21378: insertIntoHead not working in HTML
Fixed

21035: Indexed mask not correctly handled if reused
Fixed

21061: (56385)[Customer File] Document is faded
Fixed

21210: XFA text missing in Customer PDF
Fixed

21330: Single pixel transparent XForm image not correctly handled in Customer PDF
Fixed

21382: Broken PDF does not open
Allow for xref pointing to itself

21320: Buffer underflow with some jpeg2000 images
Fixed

21228: Poor image quality when clipped text used in PDF
Fixed

21393: Space glyf not drawn in shape mode
Fixed

20549: Remapped tab character causes issues in PDF2HTML conversion
Fixed

21477: Unnecessary font weight and style sometimes output in SVG
Fixed

21591: mutli-byte CID not correctly handled in customer PDF in <>Tj command
Fixed

21620: Small dash value crashes JVM
Added workaround

21623: Broken customer PDF file opens in Acrobat but not JPedal
Fixed

21459: Some PDFs with direct Perms object in Catalog object not correctly decoded
Fixed

21612: Odd uses of comment (%) in PDf file causes issues in parser
Fixed

IDRSolutions Limited 1999-2016