Recently we announced our Online PDF to JavaFX Converter, and today I am pleased to announce that we have now added PDF to FXML functionality to the converter.
Simply select FXML before you hit upload to enable FXML mode, and press upload as usual. The download link it gives will now provide you with an FXML representation of the page!
In the last few weeks we have been busy adding in lots of little tweaks to the JavaFX and FXML conversion to improve the output and bring it closer to that of our PDF to HTML5 and SVG conversion.
An extra treat is that the converter will now also output and provide a runnable jar file to save you the bother of having to compile the code manually! You will need to make sure that jre/lib/jfxrt.jar is either copied into your jre/lib/ext/ directory or placed on the classpath.
The current version unfortunately does not support embedded fonts, instead using existing Java fonts. A lot of our work on the PDF to HTML5 and SVG conversion has been working on cross browser compatibility of converted fonts. JavaFX is essentially another platform which requires more work, so if Oracle can provide more details on how they are using fonts, we can look for a fix for the future.
What do you think of the output? I actually prefer the FXML over standard JavaFX!
Latest posts by Leon Atherton (see all)
- What is the optimum number of lines of code written per day? - June 13, 2013
- Improving the way settings get passed in ExtractPagesAsHTML - May 30, 2013
- Why convert PDF magazines to HTML5? – Part 6. Load quickly and save on bandwidth - May 22, 2013
- What size is 100% scaling in PDF? - May 7, 2013