Martijn Benders
the .fab format Fabylon · FAB2 · v0.2

.fab — questions

Does converting to .fab lose anything?

This is a question a format should answer with a number, not a promise.

Fabylon measures fidelity with a character multiset: count every alphanumeric character in the source, count every one in the result, subtract. The metric is deliberately blind to reflow, hyphenation and ligatures — the three things that make line-by-line comparison produce false alarms. Blunt, and impossible to fool.

It runs against the published books, not a convenient test fixture. Across 36 editions in 11 languages — Amharic and Geez, Georgian and Polish among them — the result is zero source content lost and zero text truncated, with zero failures and zero errors. Reproduce it yourself: Bookmaker/tools/compare_fab_vs_weasyprint.py.

What the number does not say: it measures characters, not layout taste. And a handful of editions differ from their published counterparts in front matter or notes — flagged for review, informative, not a pipeline fault. That distinction is in the report rather than buried.