pdfcraft/docs
Raj Patel 634f3d1144
Issue #1028: OCR can read pictures on pages that already have text (#1184)
* Issue #1028: OCR can read pictures on pages that already have text

Recognize Text skipped every page with text, so a picture of text on a
page that also has real text never became searchable. The engine and
the ocr_recognize tool already had skip_text_pages, but the desktop
dialog never offered it, and turning it off read the page's own text
again and added it a second time, so search found every word twice.

- Engine: always collect the page's own glyph boxes; with
  skip_text_pages false, a recognised word at least half covered by
  them (an earlier OCR layer included) is left out. OcrPage counts
  those words as already_on_page. The default still skips pages with
  text.
- Dialog: "Also recognize pages that already have text", kept with the
  other choices and used by Recognize text in multiple files too.
- Tools: ocr_recognize reports already_on_page; ocr_recognize_files
  accepts skip_text_pages.
- The two new labels in the 15 catalogs that translate the OCR dialog.
- Synthetic tests (a picture of a sentence plus real text) for the
  engine, the tool and the dialog; the engine test fails with the
  filter turned off. Unit tests for the coverage check, including
  NaN, infinite, inverted and overlapping boxes.
- parity, docs/roadmap.md M10 row and the ROADMAP.md progress log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JqiZ658tGndQaHao5Q6mdm

* Issue #1028: Czech labels for the OCR text-pages option

The Czech catalog was completed (#1066) while #1028 was in review, and
czech_covers_ui_literals requires every tl! literal: the two new
Recognize Text labels were missing, so the test failed after the merge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JqiZ658tGndQaHao5Q6mdm

* Contributors: credit rp6186030 as Raj Patel in the About window

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JqiZ658tGndQaHao5Q6mdm

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rp6186030 <25706807+rp6186030@users.noreply.github.com>
Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-11 18:45:36 -04:00
..
brand Rename PrintCraft to PdfCraft (#174) 2026-10-07 16:03:57 -04:00
images Rename PrintCraft to PdfCraft (#174) 2026-10-07 16:03:57 -04:00
architecture.md Raise workspace rust-version to 1.95 to match the UI crate (#1169) (#1188) 2026-10-11 18:30:25 -04:00
contributors.md Restore #196, #202, #203 and the macOS release-runner change, reverted by the i18n chain (#229) 2026-10-08 03:33:35 -04:00
development.md Raise workspace rust-version to 1.95 to match the UI crate (#1169) (#1188) 2026-10-11 18:30:25 -04:00
editing-images.md Edit images: moving or resizing a clipped image moves its own clip too (#1022) (#1049) 2026-10-11 12:16:57 -04:00
editing-multiple-objects.md M7: select and move mixed PDF objects together (#844) (#907) 2026-10-10 17:38:34 -04:00
file-format-parity.md Docs: sync the progress docs with issues closed on 2026-10-10 (#1064) 2026-10-11 13:14:48 -04:00
gaps.md Docs: sync the progress docs with issues closed on 2026-10-10 (#1064) 2026-10-11 13:14:48 -04:00
hardware-parity.md Docs: sync the progress docs with issues closed on 2026-10-10 (#1064) 2026-10-11 13:14:48 -04:00
localization-parity.md Progress docs: target-app parity, gaps, alpha gate, readiness by audience (#873) 2026-10-10 14:23:28 -04:00
localization.md M7: Hebrew in Edit text (reading order, writing order, Hebrew glyphs) (#521) 2026-10-11 17:41:06 -04:00
mcp.md CLI: reject malformed --root options before dispatch (#1048) 2026-10-11 12:12:23 -04:00
pdf-spec-parity.md Docs: sync the progress docs with issues closed on 2026-10-10 (#1064) 2026-10-11 13:14:48 -04:00
releasing.md M14: "Edit with PdfCraft" on the File Explorer menu of PDF files (#682) (#1180) 2026-10-11 18:35:02 -04:00
roadmap.md Issue #1028: OCR can read pictures on pages that already have text (#1184) 2026-10-11 18:45:36 -04:00
target-app-parity.md Docs: sync the progress docs with issues closed on 2026-10-10 (#1064) 2026-10-11 13:14:48 -04:00
ui-parity.md Docs: sync the progress docs with issues closed on 2026-10-10 (#1064) 2026-10-11 13:14:48 -04:00
windows-renderer-startup.md Return renderer initialization errors to the OpenGL startup fallback (#1042) 2026-10-11 12:05:45 -04:00