CK Global PDF Editor — 2026-10-29
Copyright CK Global contributors. GNU AGPL v3 or later; see LICENZA-AGPL.txt.

Static browser-only application: no PDF data is transmitted or persisted.
Run through an HTTP server. Open index.html at /pdf-editor/.
Source: index.html, editor.css, editor.js, engine.js.
Vendor preparation: npm pack mupdf@1.28.1, unpack it with tar,
then node prepare-vendor.mjs <path-to-unpacked-package>.
This copies the official JavaScript and splits the unchanged WASM binary into
four static data assets, each at most 3 MiB. No document is sent to these URLs.
Dependencies: MuPDF.js 1.28.1, distributed under AGPL-3.0-or-later.
Official package and upstream corresponding source:
https://www.npmjs.com/package/mupdf/v/1.28.1
https://github.com/ArtifexSoftware/mupdf.js
https://github.com/ArtifexSoftware/mupdf/tree/1.28.1
MuPDF JavaScript/WASM source and build instructions are in platform/wasm of the upstream tree.

The original embedded font, glyph matrices, kerning, bold/italic, size and color
are reused. Text is never compressed or reduced. Fields expand for longer text
and may be resized horizontally and moved by dragging or entering millimeters.
Duplicate a single field or all text fields sharing its baseline as a service
row; move the draft into free space and Apply. Collisions and page overflow are
rejected. Original source fields remain intact on duplication.
Subset TrueType metadata is reconstructed in memory for input display only;
glyph outlines and PDF font programs remain unchanged.
Live saves preserve object numbers to avoid stale cached font references.
Final downloads are compacted through a separate document instance.
No editing of existing PDF images, OCR, totals calculation or XML invoice editing.

Signature photos: signature.js and signature-core.js remove paper using local
luminance contrast, crop transparent borders, and keep ink color or convert it
to black. Users may crop/rotate the source photo, tune background removal, and
position/resize a transparent PNG in page coordinates. Repeated and multipage
placements are supported. Each application is undoable. No photo or signature
is uploaded, persisted, logged, or bundled with the site. This is an image of a
handwritten signature, not cryptographic signing or a qualified digital signature.

Missing Inter glyphs: complete-font.js loads the appropriate locally hosted
complete Regular/Bold Inter font (SIL OFL). The UI reports this explicitly;
font weight and point size remain fixed, spacing may differ. Other unavailable
fonts are not silently replaced. See fonts/README.txt and fonts/OFL.txt.
Password-protected PDFs and pre-existing pending redactions are rejected.
Downloads contain real replaced PDF text, not an image overlay.
The source archive does not contain user PDFs.

