Skip to content

Commit 19e92f8

Browse files
committed
Add PDF content stream parsing logic
Initially the idea was to just use PdfTokenizer from iText, but it had some problems, like not preserving token positions in the input data, skipping whitespace outright, have hard errors for invalid output, etc. For more example see PdfContentStreamParser docs. This will be used as a reference model for the editor. Ideally we would have the same model in the editor to limit memory consumption, but having a separate one allows us some flexibility, which might be useful when implementing static analysis.
1 parent 7a19635 commit 19e92f8

File tree

4 files changed

+1786
-0
lines changed

4 files changed

+1786
-0
lines changed

0 commit comments

Comments
 (0)