I made this! A full PDF suite in 100% JavaFX, on my own engine
Ok, a while ago I showed an early version of my PDF engine here. A lot has changed since then, I tried everything, so here is where it stands.
Mergi is a Windows desktop PDF suite: a real viewer, full editing, comments, forms, signatures, redaction, a small word processor that writes PDFs, conversion to Word and Excel, and the everyday tools (merge, organize, split, compress, protect, watermark, batch). Every file stays on the user's computer.
It is 100% JavaFX. No WebView, no embedded browser, no Electron, no third-party UI kit. The only UI module is javafx.controls; the page view, the virtualized lists, the responsive grid, the print dialog and the editor are all built on it by hand, title bar included (StageStyle.EXTENDED + HeaderBar). And there is not one line of AWT or Swing: no BufferedImage, no SwingFXUtils, no ImageIO. Pages go straight from the engine to JavaFX.
jux-pdf
Everything runs on jux-pdf, a PDF engine I started more than three years ago, I changed the name like 5 times already 😂, but this stay.
Pure Java, zero AWT, zero natives. No JNI, nothing to bundle per platform. Fonts and image codecs are part of the engine.
Runs where Java runs: desktop, Android, server and cloud. Nothing in it depends on a windowing toolkit.
Built to PDFium's standard. I followed PDFium's guidelines and its tests to reach the same rendering quality or better, and kept checking against it as the engine grew.
Every font PDF uses: Type 1, TrueType, OpenType/CFF, Type 3 and CID, embedded, subset or missing, through its own rasterizer. For writing: the standard fonts, the system's fonts and every Google Fonts family, embedded into the file.
Full editing of any PDF. The page is read as objects (text, pictures, paths) and written back changed, moved, restyled or removed. Not boxes painted on top: the file's own content.
JavaScript and actions. Its own sandboxed JS engine, also pure Java, runs form scripts (keystroke, validate, calculate, format) and button actions.
Real redaction. Black-out and white-out destroy what is under the box: the letters leave the text, a picture is cut where the box is. Nothing can be copied or recovered afterwards.
OCR, Word and Excel. Its own text recognition module, and converters that write real
.docxand.xlsx(styles, pictures, tables, numbers as numbers). No Office, no POI.Also: forms, every standard annotation, AES-256 encryption, digital signatures with trusted timestamps, compression, and search and text extraction with positions.
There is a lot to say but I suck writing posts , Im tired and AI will do a bible about this , so ask me if you got any question.
Mergi will be released soon on my own website, with a free version and a paid version.
The viewer and editor as a JavaFX control. Everything above is one component, and it will be published for anyone to drop into their own JavaFX app: one node, choose the features, theme and language.
jux-pdf will be released on my own repository 😏.
There is still a lot of work before each of these, but it is getting close. Happy to answer questions about the engine or the JavaFX side.



