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)
- Develop using IntelliJ IDEA? Check your productivity guide! - July 8, 2014
- Release Schedule Changes for PDF to HTML5/SVG - June 24, 2014
- Adding Google Analytics to Web Content - January 17, 2014
- Image Optimisation: What PNGQuant is and why you should use it - January 14, 2014