Commit Graph
17 Commits
Author SHA1 Message Date
Furqan-14 17023abf27 feat: updated text handling bugs 2026-06-30 21:18:46 +05:30
Furqan-14 3b1c36d645 fix: code refactor 2026-06-29 10:51:04 +05:30
Furqan-14 e795eed63e feat: updated font handling in older pdfs, along with tables 2026-06-26 11:33:28 +05:30
Furqan-14 e8620947a5 fix: code cleanup 2026-06-22 15:18:47 +05:30
Furqan-14 c0bcfe47a2 fix: additional font handling, with operators font issues 2026-06-22 10:48:00 +05:30
Furqan-14 a124a43877 feat: implemented multi page reflow 2026-06-18 16:48:29 +05:30
Furqan-14andClaude Opus 4.8 ddbafbcd43 fix(build): build_wasm.ps1 builds the real wasm-pdfium engine + deploys pdfium-engine.{mjs,wasm}
build_wasm.ps1 built the `wasm` STUB preset (PDFENGINE_WITH_PDFIUM=OFF, reflow #ifdef'd out)
and deployed it to the UNUSED pdfengine.{mjs,wasm}. The frontend actually loads
pdfium-engine.{mjs,wasm} (the `wasm-pdfium` preset). So "rebuild the WASM" silently shipped a
reflow-less stub to the wrong file — engine changes never reached the browser.

- Build the `wasm-pdfium` preset (PDFium ON) into pdfeng-build/wasm-pdfium (outside OneDrive).
- Deploy bin/pdfengine.{mjs,wasm} -> public/pdfium-engine.{mjs,wasm} (the rename the frontend expects).
- Set EMSDK_QUIET before sourcing emsdk_env.ps1 (its stderr tripped $ErrorActionPreference='Stop').
- Run a new pdfium-engine.smoke.mjs (buildInfo + live-preview exports) instead of pdfengine.test.mjs,
  which targets the stub facade (mock render / engineHasSkia / getDocumentFonts) and can't pass here.
- Relax EAP around the smoke node call so a real failure reports cleanly, not as NativeCommandError.
- pdfengine.test.mjs: de-brittle the buildInfo assertion (was pinned to a stale exact phrase).

Verified: scripts/build_wasm.ps1 runs green end-to-end and deploys pdfium-engine.wasm (md5 53d1ec9f).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 19:24:45 +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
Furqan-14 ec509400e7 feat: implemented real flow text editor for paragraphs 2026-06-16 10:56:08 +05:30
Furqan-14 fa35589f81 fix: reworked ui components 2026-06-10 21:51:43 +05:30
Furqan-14 4544f5bab1 fix: build errors, and annotation issues 2026-06-09 11:08:45 +05:30
Furqan-14 83e18fff6f feat: implemented export and wasm rendering 2026-06-09 10:39:45 +05:30
saqib mir 0862afa1ce update some minor fixes 2026-06-03 10:51:33 +05:30
Furqan-14 6eb7c23cc4 feat: wasm build along with c++ facade 2026-06-01 15:28:32 +05:30
Furqan-14 39794ca65f feat: wasm update and annotations 2026-05-26 15:52:04 +05:30
Furqan-14 26dccd3536 fix: built base emsdk and other tool fixes 2026-05-16 11:01:20 +05:30
Furqan-14 43eba01201 first commit 2026-05-15 10:39:16 +05:30