Our own test book

Our own test book, not a customer's: Lewis Carroll's Alice's Adventures in Wonderland (public domain, Project Gutenberg 11) with three simple drawings, set up wrongly on purpose, as authors often export: US Letter pages and narrow margins.

The first two pages of the test book, before and after

What changed

Book: Lewis Carroll, Alice's Adventures in Wonderland (12 chapters), assembled by make_sample.py into manuscript.docx, then built wrong on purpose the way authors do: US Letter pages, narrow side margins (0.3 in), one picture shown too large for its pixels. before.pdf is that Word file exported to PDF (LibreOffice). after.pdf is kdpfix manuscript.docx --trim 6x9 --shrink-low-res-images. Both were checked with kdpcheck --trim 6x9 (the size the author chose in KDP).

Scores: before 73/100 (8 of 11 rules passed; failed K01, K03, K07); after 100/100 (11 of 11; failed none).

Setting Before After
Page size (K01) 8.5 x 11 in (= 8.5" x 11") [fail] 6 x 9 in (= 6" x 9") [pass]
Page count (K02) 54 pages [pass] 88 pages [pass]
Inside margin (K03) smallest inside margin 0.3 in [fail] smallest inside margin 0.5 in [pass]
Top, bottom, outside margin (K04) smallest top/bottom/outside margin 0.301 in [pass] smallest top/bottom/outside margin 0.436 in [pass]
Fonts embedded (K05) 2 of 2 fonts embedded [pass] 2 of 2 fonts embedded [pass]
Smallest text (K06) smallest text 12 pt [pass] smallest text 12 pt [pass]
Picture resolution (K07) 3 picture(s); lowest 111 dpi [fail] 3 picture(s); lowest 300 dpi [pass]

What kdpfix changed

What did not change

Text comparison (run by kdpfix itself, stored in after.fixlog.json)

Sources and public-domain status