PDF Studio › Guides › Why the font changes when you edit text in a PDF
Why the font changes when you edit text in a PDF
You change one word in a PDF and it comes out in a slightly different font. Almost every PDF editor has this problem sometimes. The reason is in how PDFs store text, and once you know it, you can make most edits blend in.
How a PDF stores text
A Word document stores text as characters and applies a font when it displays them. A PDF works more like a printout: for every piece of text it records which font to use, which shapes (glyphs) from that font to draw, and exactly where on the page. To make sure the page looks the same on every device, the font itself is usually embedded in the file.
To keep files small, most programs embed a subset: only the letters that actually appear in the document. If your PDF says "Invoice No. 1042", the embedded font might contain I, n, v, o, i, c, e, N, the full stop and the digits 0, 1, 2 and 4, and nothing else. There is no "Z" and no "7" in the file to draw with.
Why that makes editing hard
- Missing letters. Changing "1042" to "1057" needs a 5 and a 7 that the embedded font does not have.
- Coded text. Many PDFs map glyphs with their own internal numbering, so even the letters that exist are not stored as plain characters.
- Licences. Some fonts forbid being embedded for editing, only for viewing and printing.
So an editor has two choices: reuse the embedded font and risk missing or wrong letters, or write the new text in a font it can rely on.
What PDF Studio's editor does
The Edit PDF tool takes the safe route and tries to match the look:
- It reads the style of the original textWhether the font is a sans-serif (like Arial), a serif (like Times New Roman) or a typewriter font, and whether it is bold or italic, plus its size and position.
- It removes the original charactersThe old words are taken out of the page itself, not hidden under a white box, so they are really gone.
- It writes your text in the closest standard fontHelvetica for sans-serif, Times for serif, Courier for typewriter fonts, with the same size, weight and slant.
Text in Hindi and other non-Latin scripts cannot be written with those standard fonts, so it is placed as a sharp image of the text instead. It looks right, but that part cannot be selected afterwards.
When the change is noticeable, and when it is not
| Original font | Result | How visible |
|---|---|---|
| Arial, Helvetica, Calibri and similar | Helvetica | Hard to spot in most documents |
| Times New Roman, Georgia, Cambria | Times | Hard to spot in body text |
| Courier, Consolas | Courier | Very close |
| Brand, condensed or decorative fonts | Nearest of the three | Visible, especially in large headings |
| Handwriting-style fonts | Nearest of the three | Clearly different |
How to make edits blend in
- Edit the whole line, not one word. A full line in one font looks deliberate; one odd word in the middle of a sentence stands out.
- Keep the length similar. Standard fonts have different letter widths, and PDF pages do not reflow, so a much longer replacement can run into the next column.
- Edit numbers in tables with care. Numbers in the same column usually line up on the right. After editing, check that the column still lines up.
- For forms, add text instead. Filling blanks with Add text is cleaner than editing the printed labels.
When to use another route
If you need the exact original font, or big changes, edit the source document (the Word or design file) and export a new PDF. If you do not have the source, PDF to Word gives you editable paragraphs and tables, in Calibri, which you can restyle before converting back. For scanned PDFs there is no text to edit at all: cover the old value with Whiteout and type the new one with Add text, keeping in mind that the covered part is still in the file underneath.
Questions people ask
Can I install my own font into the editor?
Not at the moment. The editor sticks to the three standard PDF font families so that every letter is guaranteed to display.
Why is some text not outlined when I choose Edit text?
Only straight, left-to-right lines are offered for editing. Rotated or vertical text, and text that is part of an image, cannot be edited.
Does editing change anything else on the page?
No. Pictures, drawings and the rest of the text stay exactly as they were.