# Blog — Edit My PDF

> Engineering notes from building Edit My PDF: fonts, spacing, content streams, and why editing a PDF in place is hard.

Canonical: https://editmypdf.dev/blog/

What it takes to edit a page in place, written from the code that does it. No roadmap posts, no announcements, just the engineering.

[28 October 2026 · 4 min read

## Exporting edits as real text, in the page's own font

How Edit My PDF removes the original strings from a page's content stream, embeds a subset of the font pdf.js decoded, and writes your edit as positioned text rather than a picture.

 [export] [fonts] [pdf-lib]Read](https://editmypdf.dev/blog/exporting-real-text/)[21 October 2026 · 3 min read

## What the editor leaves alone

Covered text, tables, Type 3 fonts, form XObjects, phantom spaces and the lines you did not touch: the deliberate limits of editing a PDF in place.

 [limits] [design]Read](https://editmypdf.dev/blog/what-the-editor-leaves-alone/)[14 October 2026 · 4 min read

## Editing a paragraph that mixes bold, italic and regular as one block

A textarea holds one font. A paragraph with a bold lead-in needs a contentEditable editor that owns its DOM, maps every edit into styled spans and keeps the page's line layout.

 [editor] [fonts]Read](https://editmypdf.dev/blog/mixed-face-paragraphs/)[7 October 2026 · 5 min read

## Opening an element exactly as the page prints it

Fitting every run and line to its printed width, keeping a block's own baselines and breaks, measuring the baseline in the browser, and reading colour from the pixels.

 [fidelity] [layout]Read](https://editmypdf.dev/blog/exactly-as-the-page-prints-it/)[30 September 2026 · 3 min read

## Nothing leaves your browser: how Edit My PDF is built

pdf.js in a web worker, pdf-lib for writing, IndexedDB for storage and no server at all. What that architecture buys, what it costs, and how to verify it.

 [privacy] [architecture]Read](https://editmypdf.dev/blog/nothing-leaves-your-browser/)[16 September 2026 · 6 min read

## Why editing text inside a PDF is hard

No paragraphs, subset fonts with no space glyph, spacing operators that leak, phantom spaces, mixed faces and browsers that round: the real reasons a click can shift a line.

 [fonts] [pdf]Read](https://editmypdf.dev/blog/why-editing-pdf-text-is-hard/)

---

Markdown version of https://editmypdf.dev/blog/. Every page of Edit My PDF has one at the same address with .md appended; the index is https://editmypdf.dev/llms.txt.
