Repository navigation
LiteDoc v3.4.0
The improvement release. No new features piled on, no server, no model download. The same single file, better at the documents people actually feed it.
What got better
- Newer engines inside: Tesseract.js 7 for OCR and PDF.js 6.5 for parsing, with PDF scripting switched off for good.
- Reading order: pages are cut along their real gutters before anything is sorted, so side by side blocks like invoice headers stop interleaving line by line.
- Arabic and corrupted fonts: broken font encodings are scored per font. When a page text layer is garbage, LiteDoc renders the page and reads it with OCR instead of printing the garbage.
- Page furniture: repeating headers, footers, and page numbers are stripped across the document, and words split by a hyphen across lines are joined back when the document itself proves the joined word exists.
- Tables: ruled and unruled readings of a table are scored against each other and the better grid wins, and a table that continues on the next page stays one table.
- Headings: the PDF outline now outranks font size guessing, and footnotes are moved after the page body where they belong.
- OCR: low confidence pages get extra attempts with different image preparation and page modes, and the best scoring result wins.
- Memory: documents, pages, and canvases are cleaned up on every path, including errors and cancels, and the OCR engine only loads when a document actually needs it.
- The creator banner and avatar are bundled into the file now instead of hotlinked, so the page looks right offline too.
Honest limits
- The single file grew to about 5.6 MB. That is the price of the newer PDF.js. Still one file, zero setup.
- Images encoded only as JPEG2000 are not decoded by the new PDF.js in this build. Standard JPEG and PNG images are unaffected.
- In Chrome, opening the file straight from disk makes PDF.js use its main thread fallback worker. Conversions still complete; over http or https the real worker loads.
Free and open source, MIT. Your files never leave your machine.