Commit Graph
40 Commits
Author SHA1 Message Date
saqib mir ed28cb68de pdf protetect:add and remove the proetect password 2026-08-14 14:57:45 +05:30
saqib mir a2f5d59171 features:(pdf protect): open and lock and unlock done 2026-08-14 11:36:13 +05:30
saqib mir 672e1594e1 font issue 2026-08-10 14:21:54 +05:30
saqib mir 47c03a0044 fix 2026-08-07 19:09:44 +05:30
saqib mir ab65b4435b fix the cursor issue 2026-08-06 12:12:56 +05:30
saqib mir da872bf4eb fix the issue 2026-07-31 10:50:37 +05:30
saqib mir 67b5aed642 Merge branch 'dev' of https://gitea.maskantech.in/gitea_admin/pdf into saqib 2026-07-10 11:20:16 +05:30
azeeee05 82a07d2e6e feat: implement PDF annotation extraction and inspector API endpoints via C++ bindings 2026-07-09 10:38:26 +05:30
saqib mir 10775936de Merge branch 'dev' of https://gitea.maskantech.in/gitea_admin/pdf into saqib 2026-07-09 10:25:24 +05:30
azeeee05 99f87eb7cf feat: implement PDF page parsing, text extraction, and document modeling logic 2026-07-07 19:03:11 +05:30
saqib mir 880e56b98b Tile-based rendering (partial page invalidation) 2026-07-07 11:25:09 +05:30
Furqan-14 17023abf27 feat: updated text handling bugs 2026-06-30 21:18:46 +05:30
Furqan-14 e795eed63e feat: updated font handling in older pdfs, along with tables 2026-06-26 11:33:28 +05:30
saqib mir 23b162f3c2 create the api for the display list 2026-06-22 16:23:59 +05:30
Furqan-14 a124a43877 feat: implemented multi page reflow 2026-06-18 16:48:29 +05:30
Furqan-14andClaude Opus 4.8 660649a562 fix(reflow): kill bulge/merge + font-change on edit; add center/right, IME; harden Raw Text
Reflow (primary editor):
- Geometric backstop in reflow_paragraph: adopt any text object fully inside the paragraph
  bbox that the model's objectIndices omitted (PDFium glyph->object map can return -1), so it's
  deleted + its original font is resolved. Fixes both the leftover-glyph "bulge/merge" and the
  font-substitution-on-edit (same root cause). No-op on correctly-indexed paragraphs (gate-proven
  byte-identical: overlay diff unchanged at 1.69%/1.70%).
- Preserve data-fid on edited contentEditable nodes (extractFlatRuns climbs to nearest styled
  ancestor / inherits from adjacent run) so edits keep their real font instead of the dominant.
- Converge preview & commit through one buildReflowData (no preview-OK/commit-wrong drift).
- Center/right alignment: additive emission branch (greedy path only) + heading-align inference.
- IME composition handling (suppress render mid-composition; don't commit on composing Enter).
- Fix WASM document-handle leak (free superseded versions on documentId change/unmount).
- Quiet the backstop instrumentation (warn -> debug) now the root cause is confirmed.

Raw Text / StreamEditor (beta companion):
- Permission-gate both text_objects endpoints behind canModify; label tool "(beta)".
- P1a: preserve TJ kerning numbers for same-length edits (redistribute into original slots),
  fall back to single-string collapse otherwise (never worse than before).
- P1b: reject edits with characters unencodable in the run's font (clear 400 instead of corruption).
- P2a: commit Raw Text edits as a new document version (add_document) and adopt the id via
  pushHistory, so they join undo/redo instead of mutating in place.
- P2b: exact hit-boxes from real font metrics (re-measured once @font-face loads).

WASM preview rebuilt with the reflow changes; cache version bumped.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 17:12:53 +05:30
Furqan-14 21f0bfab9a Merge branch 'dev' of https://gitea.maskantech.in/gitea_admin/pdf into furqan 2026-06-17 11:39:58 +05:30
Furqan-14 8f881dfbd5 feat: implemented reflow for bullets and single lines along with the fix for save on delay 2026-06-17 11:39:01 +05:30
saqib mir a39c15d0be content completed 2026-06-17 11:03:47 +05:30
saqib mir 20ee7fbe20 content ad the frontend 2026-06-16 19:27:32 +05:30
saqib mir 7cd400e62a content stream 2026-06-16 19:06:48 +05:30
Furqan-14 44f64a0d99 feat: implemented caret based selection at any click position 2026-06-12 19:13:29 +05:30
Furqan-14 d47895c990 feat: implemented base editing, underline and striking 2026-06-12 15:04:09 +05:30
Furqan-14 98c63f91fc Merge branch 'dev' of https://gitea.maskantech.in/gitea_admin/pdf into furqan 2026-06-11 19:22:07 +05:30
Furqan-14 377a9044af feat: implemented hit testing, form field, content stream and base security hardening 2026-06-11 19:19:01 +05:30
saqib mir b52890818b update the pipiline 2026-06-11 18:19:26 +05:30
Furqan-14 fa35589f81 fix: reworked ui components 2026-06-10 21:51:43 +05:30
azeeee05 58b39b6780 React: form field viewing (Widget annotations) 2026-06-10 18:38:38 +05:30
Furqan-14 42993cb839 feat: updated annotations 2026-06-10 15:22:34 +05:30
saqib mir 345f88c516 fix 2026-06-09 10:52:54 +05:30
saqib mir 6e987bb7e9 phase2 2026-06-09 10:35:12 +05:30
Furqan-14 5408540847 Merge branch 'dev' of https://gitea.maskantech.in/gitea_admin/pdf into furqan 2026-06-08 16:54:28 +05:30
Furqan-14 5d366132ef feat: page deletion, redaction and page rotation 2026-06-08 16:53:02 +05:30
saqib mir c27a80f840 integration done and testing done 2026-06-08 16:28:10 +05:30
saqib mir 0862afa1ce update some minor fixes 2026-06-03 10:51:33 +05:30
saqib mir 37b82b697a fix 2026-05-26 15:56:44 +05:30
saqib mir d2a12b4d1d fix 2026-05-26 15:55:48 +05:30
Furqan-14 39794ca65f feat: wasm update and annotations 2026-05-26 15:52:04 +05:30
Furqan-14 f961c579bc feat: implemented text extraction with bounding boxes 2026-05-25 14:47:38 +05:30
Furqan-14 fe627f4e19 feat: implemented wrapper and pdf doc page 2026-05-22 15:47:48 +05:30