Who it is forSomeone who must correct a typo, date, or figure in a PDF form, contract, or report they cannot get the source file for.
The problemEditing a PDF usually means adding a white box over the old text, which looks wrong and can be undone.
The outcomeA corrected PDF where the text is rewritten in the page itself and the original fonts are kept.
What you need first
- A Mac with Apple Silicon running macOS 11 or later for the published download, or a build from source for Intel Mac, Windows, or Linux
- An API key from a supported provider such as Claude, OpenAI, or Gemini, or a Genspark sign-in, only if you want the AI features
Steps
- Download and open Hermes Office on your machine.
- Open the PDF in Hermes Office PDF.
- Select the paragraph that contains the error.
- Retype the text in the page and check that the reflow and alignment look correct.
- Save the edited PDF and open it in a separate viewer to confirm the fonts and layout.
Prompt for your agent
Using the HermesOffice repo at github.com/criptogus/HermesOffice, edit the paragraph containing <text to change> in <path to PDF> using the true text editing in HermesOffice PDF. Output the saved PDF path. Verify that the corrected text appears and that the original fonts are preserved on that page.
Caveat. The README describes text editing by paragraph with in-block reflow, so very complex layouts may need checking after each edit.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for criptogus/HermesOffice and "Correct text in a PDF while keeping the original fonts"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer