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!
This post is part of our “SVG Article Index” in these articles, we aim to help you build knowledge and understand SVG.
Latest posts by Leon Atherton (see all)
- Remote debugging iOS Safari on OS X, Windows and Linux - February 17, 2015
- 4 Reasons why Converting PDF to Responsive EPUB is Impossible - January 20, 2015
- Three ways to convert PDF to HTML5: Text and Fonts - December 16, 2014
- 6 Tips for Optimising SVG Files - November 11, 2014
- JPDF2HTML5 2015 Roadmap Customer Survey - November 10, 2014