When a Converted EPUB Overrides Reader Font and Margins

A converted EPUB that ignores the font size control on your epub reader is not necessarily broken. In many files the text still reflows, chapters open, and nothing looks obviously corrupted. The problem is quieter: author CSS has hard-coded a font family, locked line spacing, or baked in margins wide enough to make reader controls feel dead. Reflowable EPUB text only delivers its real advantage when the reader can adjust it, and over-styling is the more subtle failure mode to plan for.
Convert your PDF to EPUB now
Upload a PDF and get a reflowable EPUB3 that keeps headings, footnotes, tables and images in reading order, so it resizes on any phone, tablet or e-reader. Preview the result before you decide.
Convert a PDF → See a converted paper →This tutorial treats that styling as a post-conversion problem with a repeatable check. You will see why reflowable EPUB text depends on reader control and what author CSS can override after a PDF conversion. Then you will run a six-check preview pass before the file reaches a device: hard-coded fonts and embedded font files, fixed line spacing, baked-in margins, forced alignment, and a final device sanity test. You will see what pass and fail cases look like, get a decision rule for accepting, fixing, or re-converting a file, and learn when a file is genuinely not worth fixing. The closing takeaways give you a practical checklist for your next converted EPUB.
Why Reflowable EPUB Text Only Pays Off When the Reader Controls It
This applies to reflowable EPUBs, where one file must render across many screen sizes. Fixed-layout EPUBs pin geometry by design and are outside the preview pass described here.
A reflowable file holds text and structure. The epub reader applies font size, line spacing and page margins as the text is laid out, so the converter should not lock them at export. EPUB 3.3 became a W3C Recommendation on 13 January 2026, remains backward compatible with EPUB 3.2, and includes CSS within EPUB content scope. Styled text is therefore expected, not a defect. The real failure mode is valid CSS that leaves the epub reader nothing to adjust, so its controls look broken when they are simply outranked by the file. Tables and figure captions often need fixed geometry, as covered in what survives conversion. Body text does not.
So the question becomes which author styles do the outranking.
What Author CSS Can Override in a Converted PDF
That outranking comes from a small set of declarations, and they are predictable enough to inspect directly.
Font family. A named font-family on body or paragraph selectors, paired with font files shipped inside the container, is a common reason an epub reader's typeface menu appears to do nothing. When font size controls also fail, the symptom overlaps with text that will not reflow.
Spacing. Fixed line-height values and absolute-unit vertical margins remove the slack a reading system needs to respond to its own spacing control.
Margins. Padding or margin on the body element, or per-paragraph indents in points, survive conversion as permanent geometry that does not shrink on a small screen.
Text alignment. text-align: justify carried over from a two-column PDF layout is a carryover worth flagging, because it can leave readers feeling that nothing can be changed.
Authority. EPUB Reading Systems 3.3 sets conformance requirements for reading systems and is the document to read for reader-side rules. Do not treat override precedence as a spec guarantee; what follows is a tested heuristic.
The Preview Pass: Six Checks Before the File Reaches a Device
Treat what follows as a proposed detection routine, not a standard. To apply that routine, run the six checks in a preview or reading pane, not a word processor. A preview pane renders the file the way an epub reader would; a word processor renders the source document under its own layout engine, so it can hide exactly the declarations you are hunting.
Work in this order:
- Font family declarations.
- Embedded font files in the container.
- Line spacing values.
- Page margins and body padding.
- Forced alignment.
- One sanity check on the device you actually read on.
toolkit.bot's free preview of the first 50 pages is a natural place to run checks 1 to 5 before converting the full document. Scans converted through automatic OCR for scanned PDFs can carry embedded fonts from the OCR layer, so give check 2 extra weight there.
Record each check per element group (body text, headings, tables, footnotes) as pass, soft fail or fail. That record is what the decision rule acts on.
Checks 1 and 2: Hard-Coded Fonts and Embedded Font Files
With the six checks ordered, begin with fonts. Scan the stylesheet for named font-family values on body, paragraph and heading selectors, and note declarations that omit a generic fallback such as serif or sans-serif. Inspect the EPUB container for the same reason, looking for bundled font resources that can back up those declarations.
Test directly in the epub reader: switch typefaces in the font menu and check whether any glyph on the page changes. No change across a chapter is the signal. Then look for a publisher-default or override toggle, record which state the file forces, and note the device and app version. Treat that result as a first-hand observation, not spec behaviour. For a reader-side check on Apple hardware, see converting PDFs for Apple Books.
Checks 3 and 4: Fixed Line Spacing and Baked-In Margins
Fonts are the first override, not the only one. Scan for line-height set in px or pt, which cannot scale with the reader's font size, and for low unitless ratios that leave text cramped before any reader setting is applied.
Then check padding and margin on body and html. Absolute units in px, pt or cm produce gutters the margin slider cannot touch. Values in em or % are less rigid but still worth noting.
Step the spacing and margin sliders one increment at a time. A page that does not move at all is pinned; one that moves slightly then stalls is merely tight. Record which.
Separate no effect from partial effect. If body text reflows but headings stay put, the rule targets specific selectors only, so the fix is a targeted stylesheet edit rather than a full re-conversion. Watch for the same on footnotes and captions, where footnote and page-number placement issues often share that root.
Checks 5 and 6: Forced Alignment and the Device Sanity Check
With spacing and margins settled, check alignment. Scan the stylesheet for text-align: justify and hyphens: auto, both typically carried over from two-column PDF layouts. Each fights the epub reader's ragged-right preference, and hyphenation can even masquerade as fixing stray line breaks.
Paragraph indents and spacing rules set in pt need their own look. Indentation survives reflow, so it can read as intentional in a desktop preview while quietly eating line length on a narrow phone screen. A hypothetical: a two-column paper keeps 12pt first-line indents, and the phone view collapses to three-word lines.
Then run the device sanity check on real hardware: one representative chapter containing a table, a figure caption and a footnote. An epub reader on a phone may differ from what a preview showed, so passing in preview does not guarantee passing on the phone. Report results as observation, naming the app and version, and skip any Kindle, Kobo, BOOX, PocketBook, reMarkable or Supernote claim you did not test directly.
What a Pass and a Fail Actually Look Like
With the device check recorded, classify each element group rather than the file as a whole.
- Pass: font, spacing and margin controls each visibly change the page, alignment follows the reader's preference, and body text is not pinned anywhere in the book.
- Fail: one or more controls do nothing in every chapter. That pattern points to a book-wide stylesheet rule, not one stubborn paragraph.
- Soft fail: body text responds but headings, captions, tables or footnotes do not. Those elements often need some fixed geometry to remain legible.
Two illustrative cases show the distinction. A two-column academic PDF may carry justification and running indents through conversion, so alignment controls stay inert. A scanned textbook can arrive with OCR text tied to an embedded font, leaving the epub reader's typeface menu ineffective; recovering searchable text via OCR explains the text layer, not the styling. Neither file is broken. Both are over-styled.
The Decision Rule: Accept, Fix, or Re-convert
With each element group scored, the rule reduces to where the failure sits. Treat it as a testing-based recommendation, not a standard: no EPUB specification defines this threshold.
Accept when every reader control responds, even if the default typography looks plainer than the PDF. Control is the reason to choose epub, so a responsive file beats a faithful-looking one.
Accept when tables, figure captions and footnotes are pinned but body text stays free. Fixed geometry on those structures is usually the right trade for a reference document.
Fix or re-convert when body text font, spacing or margins ignore the epub reader. That failure shapes the whole book, not one awkward element. For a book-wide fault, re-convert with styling stripped or converted to relative units; if a few selectors are responsible, edit the stylesheet directly. Revisit the PDF conversion to EPUB3 workflow before another pass.
Change the call for long reading sessions, a required accessibility-friendly typeface, or a small screen where fixed margins cost too much line length. Those needs turn a tolerable soft fail into a fix.
When It Is Genuinely Not Worth Fixing
Not every file earns the fix. Three cases sit outside the rule above.
Fixed-layout and facsimile EPUBs, such as image-based page reproductions, pin geometry by design. Design intent overrides reader control deliberately, not accidentally, so the preview pass does not apply and a dead font slider is expected behaviour rather than a defect. Treat that as a first-hand observation, not a spec guarantee.
Short reference documents read in one sitting on one device rarely justify another cycle. If the file is 30 pages of lookup material, the cost of re-converting exceeds the benefit of a working font slider.
Some conversions face a worse trade: the alternative to over-styling is broken reading order, displaced figures or unreadable tables. A pinned typeface is the smaller loss, and accepting it is honest rather than lazy.
Stop rule: if two re-conversions return the same pinned body text, the constraint is the source PDF's styling, not the converter. Edit the stylesheet next, not the source.
The remaining question is what to carry into your next file.
Takeaways for Your Next Converted EPUB
Once you have weighed whether a fix is worth it, carry that discipline into the next file. Treat a dead font or margin control as a styling problem first, not a broken file, and look for it in the preview rather than after a disappointing read.
Run the six checks in a preview pane before conversion, then confirm once on the device you actually read on and record the result, including the app version. Accept files where only tables, captions and footnotes are pinned. Fix or re-convert when body text ignores the epub reader's settings.
If two passes on the same source produce the same pinned body text, stop converting a third time; edit the stylesheet instead. That keeps the epub reader in control where it matters and avoids repeating a failed cycle.
Conclusion
Reader control is the point of a reflowable EPUB. Hard-coded fonts, embedded font files, fixed line spacing, baked-in margins and forced alignment all take that control away, and the preview pass is where you catch them before a device does. Accept pinning when it is limited to tables, captions and footnotes; fix or re-convert when body text ignores the reader's settings. And when two re-conversions return the same result, stop converting and edit the stylesheet.
Your next step: open the next converted file in a preview pane and run the six checks before it reaches your e-reader. Record what you find, including the app version. That habit keeps the reader in charge of the page and turns a frustrating cycle into a quick, confident decision.
Convert a PDF to reflowable EPUB — works in the browser on any operating system.
Convert a PDF →