Repository navigation
tpdf v26.11.13
What this is. A lightweight PDF reader and editor with search,
selection, an outline, thumbnails, session restore and printing.
PDFium parsing and rendering run in worker processes. On macOS,
workers cannot read arbitrary user files or access the network;
Windows workers use low integrity and resource-limited jobs; Linux
workers run under Landlock and seccomp. The Linux packages (deb
and AppImage) do not update themselves: install the new one.
Redacted with 26.11.11 or earlier? Redact the originals again.
A redacted file from those versions can still hold a copy of what
was removed, even where tpdf said verified. Updating tpdf does not
change files it has already written: redo the redaction from the
original with 26.11.13 or later and use the new file. If the older
file was already sent, assume it can still hold what was redacted.
Details: https://github.com/tstone-1/tpdf/blob/main/SECURITY.md#redactions-made-with-261111
New in 26.11.13. Saving, reloading and switching between PDFs
now preserve form answers and unfinished edits. The base document keeps
the bookmarks and page labels of its surviving pages. Appendix
bookmarks and page labels are omitted during merging. Adding
a filled form as an appendix keeps its answers visible. Print
preview counts duplex sheets and poster pages correctly on Windows.
Compression estimates include unsaved edits and check the size of
the finished copy. Redaction review shows the words under each mark
on cropped pages, and the command-line tool verifies its output
before replacing the destination. This release also fixes text
layout, OCR, attachment export and session restore.
New in 26.11.11. A redaction is checked more thoroughly. A
removed word is now found however its text is stored: with
accented letters, in hexadecimal or with escapes, broken by
letter spacing, or drawn as several pieces. Text drawn through a
composite font, which is most output of Word and LaTeX, is read
through the font's own character map, so such a document can
now read verified; until now it never could. An LZW or ASCII85
stream that stops part way, and a font that places letters at
its own codes, are reported as not verified, with the reason.
The image-only copy checks every page with no marked region for
the removed words. A result that is not verified now groups its
reasons under three headings, each with its next step: still in
the file, not read in pictures, and could not be checked.
Dependency updates.
New in 26.11.10. A redaction is checked more strictly. A
picture stored losslessly, a stream the check could not decode
as a viewer does, and the image-only copy of a document with a
QR code were reported as verified without having been read;
they are now reported as not verified, with the reason. A
document that holds a figure or a logo on any page therefore
reads not verified for a redaction anywhere in it, because
pictures are not read. A redaction also reads the QR codes on
every page of the file it wrote, removes more copies of the
removed words (inside forms, in the file's trailer, in inline
form fields and replies), and its verdict is no longer replaced
by a later message about links or a file changed on disk. A
redaction or drawing dragged onto the next page stays on the
page it started on. Print and the copy commands include a form
answer still being typed. Saving over a read-only or locked file
is refused before the document is closed. The signature panel
says which timestamps and revocation data it could not read.
In the command-line tool, verify --strict fails a document whose
list of signatures may be incomplete, and redact --force refuses
to leave an earlier output in place when nothing matched.
Explorer's preview pane ends a page it no longer shows. The PDF
engine is PDFium 8154, the branch Chrome 159 ships. Dependency
updates.
New in 26.11.9. A screen reader now hears the command
palette: NVDA and VoiceOver say what a command asks for, the
preview of the value as it is typed, the reason one is refused,
and the page by the number printed on it ("Page 2 of 8, printed
as ii"). Typing a printed number where a position is asked is
answered with the position ("Printed as ii: type 2"). Extract
pages says what it wrote, typing "extract" finds Extract pages
first, and Split document and Merge documents report their
result in green instead of red. The PDF engine is the newest
build of PDFium 8127; its code is unchanged. Dependency updates.
New in 26.11.8. Where a document states its page numbers,
the page printed on a page is shown beside its position: the
page counter reads 5 / 20 (1), and the previews of Extract pages,
Split document and Go to page add "printed as i–ii, 1–3". The
numbers typed are still positions. The message after signing is
laid out in rows, an instruction such as "Drag a rectangle where
the signature should appear" is drawn amber instead of red, and
a screen reader now announces the message bar. Dependency
updates.
New in 26.11.7. While the command palette asks for a value,
such as the pages to extract or where to split, the document
behind it can be scrolled: the mouse wheel and the scroll bar
reach it, and Page Up and Page Down turn its pages. The PDF
engine is the newest build of PDFium 8127; its code is unchanged.
Dependency updates.
New in 26.11.6. A hardening release from a full read of the
code. A redaction is no longer reported as verified over bytes the
check did not read: a file with an indirectly named filter, a
composite (Type0) font, embedded files or an application's private
data now reads not verified, with the reason. A redaction also
removes an annotation written inline over the region and the page's
thumbnail. A long-term signing no longer seals a timestamp from an
authority this computer does not trust. On Windows, edits made
while an update downloads are no longer lost, and a worker process
can no longer read or replace the clipboard. Tabs from last time
that cannot be opened are named and kept, and a centred line that
is kerned stays centred when it is edited. Dependency updates.
New in 26.11.5. Copy a graphic and Save a graphic...
take a logo or figure out of a page on its own: click it, or drag
around it, and copy it as a PNG on a transparent background or save
it as SVG, PNG or the JPEG the document stores. On Windows, Copy
page for PowerPoint leaves out a word a box or an annotation
covers, and says how many pieces of text it left out. A stalled
update check now fails after 30 seconds instead of blocking the
next one.
New in 26.11.4. On Windows, Copy page for PowerPoint no
longer puts words the page hides into the picture as text: a word
under a box or a redaction mark, cut away by a clip, or fully
transparent became a text box after Ungroup. The PDF engine is
PDFium 8127, the branch Chrome 158 ships. Dependency updates.
New in 26.11.3. Fixes. On Windows, another program can now
overwrite a document while it is open in tpdf; it failed with
Invalid argument until the tab was closed. On every platform, a
file another program rewrites before your first edit is reported as
changed and is not saved over.
New in 26.11.2. On Windows, Copy page for PowerPoint puts the
page in view on the clipboard as a picture that PowerPoint's Ungroup
turns into shapes and text boxes you can edit. Text in documents
exported from Word can now be edited when it has curly quotes or
Symbol bullets; tpdf refused the whole page before.
New in 26.11.1. Measure a distance: drag along something on a
page and the line shows its length, and Set the scale turns it
into a real unit such as centimetres. Measurements stay on screen and
are never written to the file. A signature field whose form asks
that signing it locks other fields can now be signed: the signature
states that lock, so a validator reports a later change to a locked
field. And text fields made in Acrobat with "Allow rich text
formatting" can now be filled; tpdf refused them before, so on some
forms only the dropdowns could be answered.
New in 26.11.0. On a new Windows computer, signing with a DigiCert
or GlobalSign timestamp stopped with "not trusted by this computer",
because Windows fetches most roots only when they are needed. tpdf now
lets Windows fetch a root on Microsoft's list for the authority of a
signing that asked for a timestamp. A signature that may read as not
trusted only for that reason now says so, and the properties dialog
offers Ask Windows for the root; tpdf verify --fetch-roots does
the same. Nothing of the document is sent, and opening or verifying a
document still goes online for nothing by itself.
New in 26.10.28. A hardening release from a security review.
tpdf verify --strict fails more forged changes appended after a
signature, and a revocation can no longer be hidden by a look-alike
certificate added to the signature. A timestamp from an authority
this computer does not trust is no longer written into a signature:
sign --timestamp exits 3 and writes nothing unless
--allow-untrusted-timestamp is given, and on Windows that includes
a real authority whose root this machine has not fetched yet.
Scripts should expect more exit codes of 1 and 3, and --help beside
other words now exits 2. German comes in two forms of address.
New in 26.10.27. The window is available in German, following
the system language or the new Language setting; the command-line
tool stays English. The window uses American spelling unless the
system or the setting asks for British English. The updater refuses
an update whose signature does not name the version on offer, which
closes a route to an older release. Page numbers and watermarks take
a size typed with a decimal comma, and Recognize this page in the
find bar is enabled again.
New in 26.10.26. Find offers Recognise this page when visible
words cannot be searched, including pages with broken font mappings.
Recognition is temporary and leaves the PDF unchanged; it clears after
edits or reopening. Verified redaction and successful signing messages
now have a green background; failures and unverified results remain red.
ECDSA arithmetic is updated to fix RUSTSEC-2026-0387, including Linux
certificate-file signing.
New in 26.10.25. The PDF engine is PDFium 8103, the branch
Chrome 157 ships. Dependency updates, among them tokio 1.54.1,
which replaces a yanked release with a security advisory, and
Tauri 2.12.5.
New in 26.10.24. On Windows the print preview is the print
dialog: printer, pages, copies, paper and two-sided beside the
sheets, plus a scale, 2 to 16 pages to a sheet, pages turned to
fit, odd or even pages, prints without comments, and posters
across several sheets. Linux shows the same preview before its
print dialog. A Windows print shows its progress, can be stopped,
reports a failure or a stuck queue, and draws dense pages about
six times faster. A comparison that could not read every page
says so instead of reporting the same words.
New in 26.10.23. Compare with... lists every change in the
words between two open documents, washed red and green on both,
and tpdf compare prints the same. Save a copy with page numbers
or with a watermark, in Latin, Greek, Cyrillic, Chinese, Japanese
or Korean; tpdf page-numbers and tpdf watermark do it from the
command line. Text set at an angle no longer scrambles the
reading order of the lines it crosses.
New in 26.10.22. Fixes. On Windows, the print dialog no
longer says "This app doesn't support print preview", winget uninstall removes tpdf without opening a window, and
uninstalling no longer leaves an empty entry for PDF files.
Cropping a page of a long document keeps you on that page, and
the next drag on it works.
New in 26.10.21. Facing pages, book view, one page or pair
at a time, full screen, and a presentation mode on black.
Sideways scrolling with a trackpad, a tilt wheel or Shift and
the wheel. Close other tabs, close tabs to the left or right,
and reopen a closed tab. Pictures from a file or the clipboard
go on a page as stamps; a dragged region copies or saves as a
PNG. Lines, arrows, polygons, connected lines and links can be
drawn, and marks copied, cut and pasted between documents.
Favourites, fit height and fit content, the next and previous
PDF in the folder, the whole outline opened or closed in one
step, and a file the document carries saved to disk. From the command line: --page, --zoom and LaTeX
--forward-search, tpdf print with no dialog, and tpdf render --fit for thumbnails, in a pipe. On Windows, Explorer
can show PDF thumbnails and previews through tpdf's sandboxed
renderer, when you turn it on. The signing dialogs share a
clearer layout. Fixed: a page cropped by dragging is drawn
cropped, and on macOS ⌘V pastes into every text field.
New in 26.10.20. Signing asks whether anyone else still
needs to sign, and locks the document only when you answer that
you are the last; it locked by default before. Text recognition
reads a scan that already has a little text. Fixed: Redact
every search result could mark only part of the matches while
the document was still being searched; it now waits. On Linux,
text recognition and verified redaction work on Fedora, whose
Tesseract library has another name; a missing recognition
engine is reported as missing, with the package to install;
"Show in folder" selects the file in the file manager; and the
packages need glibc 2.39 or newer: Ubuntu 24.04, Debian 13,
Fedora 40 and later.
New in 26.10.19. tpdf runs on Linux. Releases carry a deb
and an AppImage for x86-64. A document prints through GTK's
dialog and is handed to CUPS as a PDF; a PDF opened from a file
manager reaches the running window; text is recognised with
Tesseract (English and German ship with the deb); and a document
is signed with a smart card or token through PKCS#11, or with a
certificate file, where tpdf asks for the PIN or password in a
window of its own. On every platform: dimmed text in the palette
and the sidebar is easier to read, a search result shows its
match, and a failure is said without the system's error number.
New in 26.10.18. A signature can lock the document: Lock
the document after signing in the signing dialog, and tpdf sign --lock. The signature then states that nothing may change after
it, and a program that checks signatures reports a later change
as one the signer did not permit. Long-term validation data can
still be added. Sign document... now opens on a visible
signature, with a timestamp from Sectigo and the lock selected;
each can be changed in the dialog. This changes what leaves
the computer by default: a signing sends a hash of the new
signature to Sectigo unless another authority or none is chosen.
The document is never sent. The toolbar's signature button is
called Sign and signs with a certificate; placing a picture of
a signature without one is still in the Edit menu, under a name
that says so.
New in 26.10.17. An amount with a thousands separator, such
as 4,250.00, that was redacted by search was reported "not
verified" although it was gone from the file. It is now removed
as one passage and verified. The website has a made-up letter
with four black boxes for trying Find text the pages do not
show.
New in 26.10.16. The PDF engine is PDFium 8078, the branch
Chrome 156 ships; it was 8066. The newer branch carries what
Chrome merged into it since, among them a fix in the code that
draws shapes.
New in 26.10.15. Add long-term validation data... takes a
document that is already signed, by tpdf or by anything else, and
writes a copy that can still be checked after the certificates
expire: it adds the revocation answers for every signature and a
timestamp over the whole. Every signature is covered or nothing
is written, and the message says which signature stopped it and
why. tpdf long-term does the same from a terminal. Fixed: a
certification against any change whose level was written as
1.0 was read as no certification, so the document could be
signed. Fixed on Windows: uninstalling tpdf after an update left
.pdf assigned to nothing; the installer now keeps the program
it remembered at the first install.
New in 26.10.14. Two documents are shown side by side: Show
side by side with..., or drag a tab onto the left or right half
of the pages. One document can be on both sides, the two sides
can scroll together, and they come back at the next launch.
Fixed in what tpdf says about a signed document: a page changed
after a signature was reported as not rewritten in three cases,
and tpdf verify --strict passed them; it also failed an honest
second signature in two cases. Fixed in redaction: redacting a
page that shares its content with another page changed the other
page too, and text after a removed part of a line could move.
A signature field that asks its signer to lock other fields, or
sets requirements for the signature, is no longer signed, since
tpdf does neither.
New in 26.10.13. Find text the pages do not show checks a
document for words that are in the file and not visible on its
pages, such as words under a black box drawn in another program.
It lists them in the sidebar and says what it did not look at.
After an update on Windows, a document in a folder with a space
in its name is opened again; it was reported as not found. The
update that brings this fix still loses the document once. The
Python client is on PyPI as tpdf-client and is imported as
tpdf_client.
New in 26.10.12. An image-only redacted copy has its boxes in
the colour chosen in the Redactions panel; it painted them black
whatever was chosen. The Windows uninstaller is code-signed: in
26.10.11 the installer and the program were, and it was not.
New in 26.10.11. The Windows installer is code-signed, and
so are tpdf.exe, tpdf-cli.exe and pdfium.dll inside it.
New in 26.10.10. Redacting part
of a line removes that part and leaves the rest of the line
where it was; it used to take the whole line. Where tpdf cannot
prove which characters a line draws, the whole line still goes
and the panel says so first. A page with empty text
instructions, which a phone company's invoices have on every
page, can now be redacted; before, every redaction on it was
refused. The redaction tool stays on until Esc and marks the
words you drag across or double-click as well as regions. The
boxes can be black, white or red. Deleting a page keeps the
bookmarks of the pages that stay. tpdf hidden lists text that
is in a file and not visible on its pages, for checking a
document redacted elsewhere.
Fixed in 26.10.9. A document
exported from LibreOffice Writer with a numbered or bulleted
list in it showed no text to edit on any page. The text of its
list is now edited like any other. A page signed with Acrobat's
Fill & Sign is no longer refused either. A line that is full
takes more words: the paragraph wraps at its right margin and
what is below moves down, bullets and line-end hyphens with
it. Still read-only on such a page: the bullets themselves, a
justified paragraph, and the header and footer. A line that
ends at a hyphen LibreOffice added takes no more words.
New in 26.10.8. Recognise text reads scans in Japanese,
Chinese, Korean and Thai on a Mac, and a page the recogniser
refuses is named and left as it is while the other pages get
their text. Not read on a Mac: Greek and Armenian, which come
out as wrong letters, and Hebrew, Arabic and the scripts of
India. Recognise text: language... lets you name the
language a scan is in; the choice is remembered. On Windows,
tpdf ocr --language chooses among the installed recognisers.
New in 26.10.6. The blank window lists the documents you
opened lately. Form commands have a Form menu and a Form
button in the tool row. With two or more fields or boxes
picked, a small bar beside them aligns, spaces and sizes them.
A text box shows its words on the page while you type them.
Text in a table that states its own bounds can be edited.
Editing existing text. Text can be edited in place in ordinary
Word, Acrobat, LibreOffice, LiveCycle and PowerPoint exports, LaTeX
papers, and documents made with XeLaTeX, LuaTeX and Typst. Math
symbols, slide backgrounds and page stamps stay read-only.
Edits must fit their chosen box, clips and surrounding content; a box
you have not sized grows with the text, and wraps within its paragraph.
Unsupported pages and glyphs are refused; automatic table resizing,
flow across pages and complex-script shaping remain unbuilt.
Save text edits before marking redactions.
What it edits. Pages can be turned, deleted, moved, extracted to
a second file, and cropped to what is actually printed on them — drag
a thumbnail in the page strip, or use the command palette. Any number
of other PDFs can be merged onto the end of the open one, into a new
file. Text you
drag across can be highlighted, underlined, struck out or
squiggled; you can leave a comment anywhere on a page, draw a
box, an ellipse or freehand ink on one, add a text box, stamp it
APPROVED, CONFIDENTIAL, DRAFT or FINAL, and rub any of it out again
with the eraser. A page can also be cropped by dragging out the part
you want to keep. Marks take a colour you choose and each
takes a note, the pen takes a nib --- fine, medium, broad or marker
--- and a sidebar panel lists every mark you have made. A comment the
file already carried can be rewritten, answered in its own thread, or
deleted outright. A blank page can be inserted, either the size of the
page you are on or A4, A3, A5, US Letter or US Legal, and so can the
pages of another PDF --- all of them, or a range you type --- after
the page you are on. All
of them are real annotations any PDF reader shows — /Highlight,
/Square, /Circle, /Ink, /FreeText and the rest — rather than
anything only tpdf can read. Everything is undoable, and the result is
printed, written back into the file you opened with Save, or written
out to a new file with Save a copy.
What it redacts. Mark what has to go — drag a region over it,
select the words, or search and mark every match at once — review the
list in a sidebar panel that says what is under each region, then
Redact and save as to a copy or Redact and save over the file you
opened. The words are removed from the page's own drawing
instructions. After verification, marked regions receive an opaque
fill, black unless you choose white or red; the fill itself is never used as proof of removal. It reaches
further than the page, too — the alternate
text a tagged document keeps beside the words, bookmarks that name
what went, comments sitting on it, form answers, and the document's
own title and author.
It then reads the file back and tells you what it found: verified,
or that it could not prove the file clean and why. Never a bare
success. That reading is visual as well as textual — the area is
rendered and put through the system's own text recogniser, so words
that were never text cannot slip through, and nothing is called clean
unless the recogniser was first shown to be working on the same
image. That recogniser is Vision on macOS and the system's own engine
on Windows, where one caveat applies and the report carries it: that
engine corrects what it reads and cannot be told not to.
A curve or dashed line that extends beyond a marked region stays
in place and is reported. Where tpdf can identify the marked
characters, adjacent text stays in place. Where it cannot, the
panel warns before removing the whole line.
Image-only redaction copies. For scans and drawings, Redact to
image-only copy renders every page at 300 dpi, blackens marked pixels,
and writes a fresh PDF without the original text layers, annotations,
links or metadata. It keeps the original file and preserves encryption.
Text in this copy is no longer selectable. The output is checked
structurally and rendered back before it is saved.
Documents behind a password. An encrypted PDF opens: tpdf asks
for the password and says so when it is wrong. A mark can be saved
onto one, as an update appended to the end of the file, so it stays
encrypted and every byte that was already there is untouched.
Deleting, moving, rotating or cropping a page of one works too: the
file is rewritten with its own encryption put back — the same
algorithm, the same permissions, the same password. Printing part of
one is the exception and says so; print the whole document, which is
handed to the printer unchanged.
What it tells you about a document. Document properties, in the
palette and at the foot of the File menu, shows what a file says
about itself: its title, author, producer and dates, its page count,
size and PDF version, whether it is encrypted and which operations it
permits, and any standard it claims to conform to. Where a document
is signed, tpdf reads the signature and the certificate behind it —
who signed, who issued that certificate, when, and whether a
timestamp authority attested to it.
What it checks about a signature. Whether each signature still
covers the bytes it was made over, whether its timestamp checks out,
and whether this computer's own trust store vouches for the signer.
A trusted timestamp supplies the time used to judge the certificate;
without one, the check uses the current time. Revocation is checked
from data carried in the document; when that data is absent or cannot
establish a result, the report says so. Opening a document never goes
online. A signature trusted only through Adobe's list can read as
ending at a root this computer does not trust. A document can be signed
with a certificate from your keychain or certificate store, invisibly
or drawn on the page; the key never leaves the operating system.
From a terminal. tpdf sign, verify and identities sign and
check signatures; info and text read a document's properties and
text; fields and fill read and answer its form; redact removes
words, patterns or areas and reports whether the result is verified.
merge, extract, split, rotate and crop operate on pages;
edit applies JSON plans; comments and text-runs inspect editable
content; render writes PNG images. Results use versioned JSON and
documented exit codes. Cropping and text replacement are not redaction.
On macOS choose Install command-line tool… in the tpdf menu; on
Windows the installer puts tpdf-cli.exe beside tpdf.exe. See the
README's Command-line tool section.
What it is not, yet. Certification signatures: tpdf reads one and
says what it permits, and does not make one. Text editing does not
support automatic table resizing, flow across pages or complex-script
shaping. See the roadmap in docs/PLAN.md.
(Stamps were listed here until 26.8.8, one release after they
shipped, and Merge documents was missing from the paragraph above
until 26.8.10, the release that added it -- the same drift in the
other direction, caught by the same step. Third time in four
releases: this block still called true redaction unbuilt while
26.8.11 was being published as the release that ships it, and the
paragraph above described none of it. Fourth time in five, on
26.8.12: "inserting pages" was called unbuilt in the release that
added a blank page and five named sizes, and the marker could not
catch it --- edit.insertPages names inserting from another file,
which really is absent, so the id was right and the sentence was
wrong. A gate over claimed absences only ever catches the name the
claim guessed. Fifth time, on 2026-09-01, and it was an external
review that reached the same two sentences from the README: this block
still said the workers have no filesystem or network authority, which
is macOS only, and that Windows has no recogniser to ask, which had
been false since 26.8.12. Nothing can go red for a
stale sentence in this block --
it is a literal in the workflow, deliberately, so that no tag can
pick up a CHANGELOG heading of the wrong shape. The cost is that it
is only ever as current as the last person who read it, which is why
step 11 of the release checklist says to read it here.)
Which file to take. macOS: the .dmg. Windows: the
-setup.exe. There is no .msi from this release on: if you
installed tpdf from one, uninstall it once in Windows Settings →
Apps and install the -setup.exe.
Updating. tpdf checks for a newer version once per launch and
offers it in the toolbar; nothing is downloaded or installed until
you click. Every update is signed, and a copy
already installed accepts only payloads signed with the key baked
into it. The .app.tar.gz, .sig and latest.json files are how
that works — you do not need to download them by hand.
macOS — signed with a Developer ID identity and notarized by
Apple. Open it normally; no Gatekeeper bypass needed. Apple Silicon only.
Windows — signed; the publisher reads Open Source Developer
Timo Stein. The certificate is new, so SmartScreen can still warn
on first launch: choose More info → Run anyway.