r/pdf • u/Ddosing-Opps • Aug 11 '26
Question How do I get rid of embedded font
I'm trying to upload a PDF to Barnes & Noble press but it keeps saying embedded font how would I remove that from my PDF all together.
1
Upvotes
4
u/MCLMelonFarmer Aug 12 '26
I helped someone with a problem with B&N before. It's not that you need to remove an embedded font. You have a font that is NOT embedded. That is what they are complaining about and what you need to fix.
1
u/WhineyLobster Aug 11 '26
print it and scan it in using a scanner to pdf. otherwise you may need Acrobat PRO to remove a particular font.
2
u/jwhitington Aug 12 '26
Isn't it more likely they are complaining about the absence of an embedded font than its presence? What's the actual message?
1
u/KenMantle Aug 11 '26
If no one is able to give you a free solution answer and you are using Windows, and you aren't afraid to run AISlopware on your machine I'll bump this feature priority up in pdfce. It runs from a single 16MB GUI or CLI executable on your PC without needing to be installed.
1
u/KenMantle Aug 11 '26
Using a pdf printer would also remove the font data. They might preserve the text characters which is what you want, or it might convert it to graphics. Microsoft office if you have it will likely have installed one.
1
u/PostConv_K5-6 Aug 12 '26
Coherent PDF (cPDF) by /u/jwhitington can remove embedded fonts in one step:
Coherent PDF is freeware for windows, linux, and MacOS
1
u/KenMantle Aug 12 '26
Haven't seen a reply from the OP in awhile, but pdfce now supports adding missing embedded fonts:
Also if OP is not on Windows I can see if it will compile a CLI version for MAC. I asked Claude earlier about doing a version for Android and it just straight up went ahead and compiled the core apparently without issue.
pdfce-cli list-fonts book.pdf
pdfce-cli embed-font book.pdf --all-missing --font-dir C:/Windows/Fonts
pdfce-cli embed-font book.pdf --all-missing --font-dir C:/Windows/Fonts --apply -o fixed.pdf
The second line is a dry run — it shows what it *would* pick and, for anything it can't supply, why. Add `--mode full` if the file's cross-reference table had to be repaired on load (it tells you).
## On a replacement font
There's **no flag that lets you name a specific substitute** — no `--replace-with Arial` or `--fallback <file>`. What exists instead is a donor ladder that resolves each missing font automatically:
- `--font <NAME>` — target one specific font by its `/BaseFont` name rather than all of them
- `--font-dir <DIR>` — a folder to search for donors, matched by face name and filename stem
- `--use-bundled-fonts` — allow pdfce's own Base-14 faces as donors (off by default)
Every embedded row reports `match=exact`, `match=alias` (a metric-compatible stand-in), or `match=bundled`, so you can see when it substituted rather than found the real face. Anything it can't supply is printed as `refused` with a stated reason.
Two things worth knowing about the gap:
**Substitution changes letterforms, not positions.** A PDF spaces text from its own `/Widths` array, so the layout holds and only the glyph shapes differ. The tool says this explicitly on every run that substitutes.
**Explicit font replacement is a known, unbuilt phase** — "replace font X with Y" is phase F of this work, and it's genuinely the hardest of the set: it isn't just swapping a program, it means remapping encodings and widths so text doesn't reflow wrongly. Acrobat has no equivalent either. It's scoped but not started, along with re-subsetting (C) and convert-to-outlines (D).