3 ms·
PDFBox committer here, if you want even lower-level access to the page content stream, without anything 'clever' at all, check out the PDFGraphicsStreamEngine c
by jahewson 9y ago
PDFBox committer here, if you want even lower-level access to the page content stream, without anything 'clever' at all, check out the PDFGraphicsStreamEngine class, which is a superclass of the text extraction and rendering classes. Gives you access to the raw glyphs. You can override PageRenderer too, for visual debugging, e.g. render glyph bounding boxes. We have an interactive Swing PDFDebugger which does just that.
https://github.com/apache/pdfbox/blob/6f18d7c4bef4d23a22d/examples/src/main/java/org/apache/pdfbox/examples/rendering/CustomGraphicsStreamEngine.java https://github.com/apache/pdfbox/blob/6f18d7c4bef4d23a22d/ex...
- joosters 9y agoThanks for the guidance, I'll take a look.