Skip to content

✨[Feat] Add searchable PDF output - #103

Open
maruson08 wants to merge 2 commits into
v2.2from
feat/searchable-pdf
Open

maruson08 wants to merge 2 commits into
v2.2from
feat/searchable-pdf

Conversation

@maruson08

Copy link
Copy Markdown
Member

Implements local Searchable PDF output inside /pdf/to-text/ using the existing OCR pass and pdf-lib writer.

  • retains Tesseract line layout and PDF.js viewport transforms
  • appends an invisible, selectable text layer while preserving original pages
  • supports English, Korean, mixed text, selected pages, existing-text skipping, cancellation, and stale-job guards
  • bundles a same-origin OFL-licensed Noto Sans KR font with subsetting and pinned integrity checks
  • keeps the route inventory at 19 canonical routes and 17 legacy redirects

Validation:

  • npm ci --ignore-scripts
  • npm run prepare:ocr
  • npm run typecheck
  • npm test
  • npm run build
  • node tests/ocr-smoke.test.mjs
  • git diff --check
  • browser workflow and responsive QA at 1280, 768, and 360 CSS pixels

Closes #102

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant