Mark Stephens

Mark Stephens has been working with Java and PDF since 1999 and has diversified into HTML5, SVG and JavaFX.

He also enjoys speaking at conferences and has been a Speaker at user groups, Business of Software, Seybold and JavaOne conferences. He has a very dry sense of humor and an MA in Medieval History for which he has not yet found a practical use.

What will Java 8 mean for PDF support?

46 sec read

Java_LogoWith Oracle already starting to talk about Java9 and Java10 (see here for details), I thought it would be interesting to look at what Java8 will mean for PDF support?

There are 3 things in particular which will be very useful.

1. Project Jigsaw will allow us to have a much smaller download. This makes Java modular so we only need to load the JVM parts needed and not all the legacy stuff in there (does anyone still use Cobra?).

2. Javafx will be standard and established. It is also likely to be mature and stable. Javafx makes a lot of things which are complicated in Swing (such as creating a reflection of an image) very easy. It also totally replaces the ‘dead’ Graphics3D library and some JAI functionality.

3. Java8 will include a new Javascript engine to replace Rhino. Obviously we are assuming it will be better than what we currently have! PDF files can contain lots of Javascript and we use Rhino as the parsing engine for this.

One thing that we feel is way overdue in Java (and would be nice to see in Java8 ) is an overhaul of the printing capabilities. JPS still lags behind what users can do in Windows and it is clunky (especially custom printing if you every use transparency). What about it Oracle? 

Mark Stephens

Mark Stephens has been working with Java and PDF since 1999 and has diversified into HTML5, SVG and JavaFX.

He also enjoys speaking at conferences and has been a Speaker at user groups, Business of Software, Seybold and JavaOne conferences. He has a very dry sense of humor and an MA in Medieval History for which he has not yet found a practical use.

Leave a Reply

Your email address will not be published. Required fields are marked *