mirror of
https://github.com/PR0M3TH3AN/unredact.git
synced 2026-11-04 04:30:29 +00:00
Instead of detecting one font per page, detect the font for each line independently. The previous line's font is used as a prior — if it scores within 15% of the best candidate, it's kept for consistency. This handles documents with mixed fonts (bold headers, regular body, different sections). Also: redirect / to the static UI, fix data endpoint to return per-line font info. Co-Authored-By: Claude Opus 4.6 <[email protected]>