mirror of
https://github.com/PR0M3TH3AN/unredact.git
synced 2026-10-27 08:40:29 +00:00
d2b149f1ba53415be95fa63a51f84b33f95c1d5a
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]>
Languages
Python
65.5%
JavaScript
16.7%
Rust
10.6%
CSS
4.2%
HTML
1.8%
Other
1.2%