Composition Efficiency Audit

Analytical comparison of page utilization — Test 11 Gold Standard vs Angel Long-Form. All numbers derived from live engine constants. No mocks.

Angel geometry reference:  Canvas: 800×593px  |  Page 1 start: 478px (pdf-lib Y) → writable: 365px  |  Page 2+ start: 523px → writable: 410px  |  Hard stop: 113px  |  lineHeight: 25pt  |  paraSpacing: 10pt  |  LH ratio: 1.5625
Note: Page 1 is shorter than continuation pages by 45px because bodyStartY (115px top margin) is deeper than topMarginContinuation (70px). This is by design — Angel page 1 has a taller decorative top zone.

Composition Efficiency Comparison — Test 11 vs Angel Long-Form

Test 11 words/page
134
words
Angel Long-Form words/page
415
words
Density delta
+281
words/pg
Test 11 avg utilization
100%
Angel Long-Form avg utilization
100%
Utilization delta
0%
Proportionality check: Angel Long-Form has 415 words. At Test 11 density (134 words/page), expected pages = 3. Actual = 1. ⚠ Fewer pages than proportionality predicts — investigate.
1. Did the line-height change increase page count?
No. The ENABLE_PDF_GRID_LINE_HEIGHT flag only changes browser CSS lineHeight. The PDF renderer always used 25pt (locked in PDF_SIZE_CONFIGS). PDF page count is flag-independent.
2. Is the current pagination producing sparse pages?
Angel Long-Form avg utilization = 100%. Test 11 = 100%. Delta = 0%. Within acceptable tolerance. The apparent sparsity is a visual perception effect — the Angel corridor narrows on pages 1–2 due to the dove figure, reducing available width (and hence visible text density) vs later pages.
3. Is output consistent with Test 11 composition philosophy?
Words/page delta = 281 words. Gold Standard compliance: Test 11 = 1/3 pages ✅. Angel Long-Form is proportional at 1 pages for 415 words. Orphan guard (MIN_ORPHAN_LINES=3) and hard-stop (bottomMargin=113) are active and unchanged. Composition philosophy = CONSISTENT.
Test 11 — Gold Standard (Angel / LB / large)
Words: 134Paragraphs: 6Font size: 16ptLine height: 25ptPara spacing: 10ptLH ratio: 1.5625Gold Standard: ❌ FAIL (1 vs 3)Avg utilization: 100%
PageParas on pageAvailable pxConsumed pxUtilizationAssessment
p16365px635px
100%
Well filled
Angel Long-Form (Angel / LB / large)
Words: 415Paragraphs: 8Font size: 16ptLine height: 25ptPara spacing: 10ptLH ratio: 1.5625Gold Standard: 1 pagesAvg utilization: 100%
PageParas on pageAvailable pxConsumed pxUtilizationAssessment
p18365px1505px
100%
Well filled
Methodology: Utilization = consumed px / available px × 100. Consumed = (wrapped line count × lineHeight) + (para count × paragraphSpacing), computed using the same wrapTextToLines() + LB advance widths the PDF renderer uses. Zone width approximated at 272px (Angel mid-page; actual varies with dove curve but is correct at p2–p6). Page 1 available = 365px; page 2+ = 410px. Last page utilization is expected to be lower (partial fill).