Layout preservation test · 2026-11-16

Does the layout survive translation? 10 real PDFs.

We ran SameLayout on public documents of different kinds and languages and published the first output, unedited. For every text page we count the blocks that were rewritten, the ones whose font had to shrink to fit, and the ones that still overflow their box.

118 blocks rewritten22 shrunk to fit (19%)0 overflowing

Results by document

DocumentLanguagesPage typeBlocksShrunkOverflowCost to us
Research paper (arXiv 1706.03762)English → SpanishText610$0.0015
FDA presentation slideEnglish → ChineseText500$0.0001
IRS publication pageEnglish → VietnameseText2730$0.0021
Contract templateEnglish → SpanishText2220$0.0018
German government leafletGerman → EnglishText1000$0.0006
French official guideFrench → EnglishText910$0.0007
Japanese city leafletJapanese → EnglishText28100$0.0012
Chinese noticeChinese → EnglishText550$0.0008
Spanish journal articleSpanish → EnglishText600$0.0019
Scanned typewritten pageEnglish → FrenchScanned (OCR)———$0.0014

Shrunk: the translation was longer than the source, so the font was reduced (never below a readable minimum) to keep the box. Overflow: it still did not fit and runs past the box. Cost: what the translation model charged us for that page.

Every page, before and after

Method

Questions

Which PDF translator keeps the layout best?

Judge by real output on documents like yours. This page shows ours on ten kinds of PDF, including multi-column papers, tables, Chinese and Japanese sources and a scan, with the number of blocks that had to shrink or overflow.

Why do some blocks shrink?

Translations are often longer than the source (Chinese or Japanese to English can be 2–3× the characters). To keep the page, the text is wrapped to the original box and the font reduced only as much as needed.

More from SameLayout