MarginaGet Margina
Artigos

Publicado

Reflowable vs. Fixed-Layout: Why Some Files Resize and Others Don't

Open a PDF on your phone and you're squint-scrolling sideways. Open an EPUB and the words just fit. The difference isn't luck — it's a structural choice baked into how each format stores a page, and once you understand it, file behavior stops feeling random.

Introduction

Open a PDF on your phone and you're squint-scrolling sideways, zooming in on one paragraph at a time. Open an EPUB of the same length and the words just fit — the type resizes, the lines re-wrap, the page count changes to match your screen. That's not luck, and it isn't a setting you forgot to toggle. It's a structural choice baked into how the file stores its own page.

If you move documents between your phone, a tablet, and a laptop the way most people who send themselves things to read do, it helps to know which kind of file you're holding before you open it. Here's what "reflowable" and "fixed-layout" actually mean, why PDF behaves the way it does, and when a locked layout is genuinely the right call.

What "reflowable" actually means

Reflowable content is a single stream, closer to a webpage than a printed page. Words, images, and headings are stored with relative sizing and semantic structure rather than pinned to exact coordinates, so a reading app can re-wrap that stream to fit whatever width it's given. That's what makes text on a phone screen readable without you doing anything — the file was never a fixed picture of a page to begin with.

This is the default behavior of EPUB 3, the format most modern e-readers are built around. It's also why plain text and Markdown files are so forgiving across devices: there's no positioning information to preserve in the first place, so a plain-text file reflows by default with nothing extra required.

What "fixed-layout" actually means

Fixed-layout EPUB — often shortened to FXL — works differently. Each page is its own separate document with an exact width and height declared up front. The W3C's own accessibility guidance puts it plainly: fixed-layout publications preserve the print layout in the digital edition, pre-paginated rather than flowing.

Technically, that page declares a viewport — a set pixel width and height — and the EPUB 3 fixed-layout specification requires reading systems to clip content to that exact box. Anything positioned outside it simply doesn't show up. That's also why zooming into a fixed-layout page isn't the same as reflow: zooming just magnifies the fixed composition, the way zooming into a photo does. Nothing re-wraps. Every element keeps its exact relative position, just bigger.

That rigidity has a real cost. The same W3C guidance notes that resizable text, reflow, and adjustable text spacing are hard, sometimes impossible, to satisfy in a fixed layout — which matters if you, or someone you're sending a file to, needs larger type or wider line spacing to read comfortably.

Why PDF is fixed by design

PDF takes the fixed approach even further. Per Wikipedia's overview of the format, PDF graphics use a device-independent Cartesian coordinate system — every piece of text and every image sits at an absolute position on the page, not a relative one. The format was built to encapsulate a complete, fixed description of a document: text, fonts, vector graphics, and images, all locked exactly where they were placed.

That's not an oversight. It's the point. PDF grew out of PostScript, a print-workflow language designed to make a page look identical no matter which printer or screen displayed it. That heritage is exactly why re-flowing text to fit a phone screen has traditionally been so difficult for PDF. Later additions like Tagged PDF and the PDF/UA standard introduced limited reflow metadata, but reader support for it has stayed thin, and most PDFs you'll actually receive were never tagged that way to begin with.

When fixed layout is the right call

None of this makes fixed layout the wrong choice. It's the right one for content where design and meaning can't be separated: comics and graphic novels, children's picture books, technical documents built around precise diagrams or tables, where a re-wrapped paragraph could break the point the page is making. Even Kindle draws a similar line internally — its own file formats handle this distinction the same way, reflowable for prose and fixed for anything design-dependent.

For ordinary prose — an article, a contract, a chapter someone sent you to read on the train — reflowable is almost always the better experience, because it adapts to whatever screen you actually have in your hand. That's part of why Margina treats reflow as the default assumption for the documents you send yourself, rather than something you have to configure.

Frequently Asked Questions

Can a PDF ever reflow like an EPUB?

Sometimes, partially. Tagged PDF and the PDF/UA standard added metadata that lets some readers re-flow text, but support is inconsistent across apps, and most PDFs in the wild aren't tagged this way. For anything you actually want to resize on a phone, EPUB or a plain-text format remains the more reliable choice.

Why does a fixed-layout EPUB still let me zoom in?

Zooming just magnifies the fixed page image proportionally — the same operation as zooming a photo. The text and elements keep their exact relative positions; nothing re-wraps to fit the new width, which is the core difference between zooming and reflowing.

Is fixed layout ever the better choice?

Yes, for content where the exact position of elements carries meaning: comics and graphic novels, children's picture books, and technical documents built around precise diagrams or tables. For ordinary prose, reflowable is almost always the better experience across devices.

Conclusion

The resize behavior you notice isn't a bug, and it isn't a setting hiding in a menu somewhere. It's a direct consequence of whether a format stores a flowing stream of content or a fixed, positioned page. PDF and fixed-layout EPUB choose fidelity to a print-like page; reflowable EPUB and plain text choose adaptability to whatever screen you're holding. Once you know which kind of file you're dealing with, you know exactly what to expect before you even open it.