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)
- Converting your PDF files to SVG with PDF2SVG - February 21, 2018
- Putting PDF Forms in the Browser with FormVu - February 13, 2018
- Making a Simple Basecamp Chatbot with NodeJS - November 29, 2017
- My Business of Software Conference Experience – BoS Europe 2017 - June 7, 2017
- Do you still need IE8 support in JPDF2HTML5? - February 8, 2017