Visual Parity Validation

Writer · Preview · PDF — same letter, same personalization, three templates. Flag: ENABLE_PDF_GRID_LINE_HEIGHT = true. Goal: no overlap visible in Writer, Preview matches PDF page breaks.

✓ PDF_GRID lineHeight active — browser CSS lh = 1.5714 (matches PDF engine ratio exactly)
Writer — composition engine page layout rendered at reduced scale. Red border = text zone boundary. No overlap between paragraphs = PASS.
Preview — LetterPreviewCanvas (same engine, CSS rendering on background image). Scale 38%.
PDF — live generateParityTestPDF output. Click "Generate PDF" to load. Page count shown; ✓ = matches expected.
Blue Floralsize_id: "16" · Libre Baskerville · LH ratio: 1.5714 · Expected PDF pages: 3
Writer — 1 page

Dear Friend,

Some days move quickly, and others seem to ask us to slow down and notice the small things around us. Today I found myself thinking about how important it is to pause and appreciate the people who make life brighter.

I hope you know how much your kindness, encouragement, and friendship mean. Even simple conversations can leave a lasting impact, and I am grateful for the moments we have shared.

Whatever challenges or opportunities may be in front of you right now, I hope you move forward with confidence. You have already overcome so much, and there is every reason to believe that good things are still ahead.

Take care of yourself, celebrate the small victories, and remember that you are appreciated more than you may realize.

With warm regards, A Friend

p1
Preview

Dear Friend,

Some days move quickly, and others seem to ask us to slow down and notice the small things around us. Today I found myself thinking about how important it is to pause and appreciate the people who make life brighter.

I hope you know how much your kindness, encouragement, and friendship mean. Even simple conversations can leave a lasting impact, and I am grateful for the moments we have shared.

Whatever challenges or opportunities may be in front of you right now, I hope you move forward with confidence. You have already overcome so much, and there is every reason to believe that good things are still ahead.

Take care of yourself, celebrate the small victories, and remember that you are appreciated more than you may realize.

With warm regards, A Friend

YOUR LETTER CONTINUES — SCROLL DOWN

PDF
Tropical Beachsize_id: "16" · Libre Baskerville · LH ratio: 1.5714 · Expected PDF pages: 1
Writer — 2 pages

Dear Friend,

Some days move quickly, and others seem to ask us to slow down and notice the small things around us. Today I found myself thinking about how important it is to pause and appreciate the people who make life brighter.

I hope you know how much your kindness, encouragement, and friendship mean. Even simple conversations can leave a lasting impact, and I am grateful for the moments we have shared.

Whatever challenges or opportunities may be in front of you right now, I hope you move forward with confidence. You have already overcome so much, and there is every reason to believe that good things are still ahead.

Take care of yourself, celebrate the small victories, and remember that you are appreciated more than you may realize.

p1

With warm regards, A Friend

p2
Preview
1 / 2

Dear Friend,

Some days move quickly, and others seem to ask us to slow down and notice the small things around us. Today I found myself thinking about how important it is to pause and appreciate the people who make life brighter.

I hope you know how much your kindness, encouragement, and friendship mean. Even simple conversations can leave a lasting impact, and I am grateful for the moments we have shared.

Whatever challenges or opportunities may be in front of you right now, I hope you move forward with confidence. You have already overcome so much, and there is every reason to believe that good things are still ahead.

Take care of yourself, celebrate the small victories, and remember that you are appreciated more than you may realize.

2 / 2

With warm regards, A Friend

YOUR LETTER SPANS 2 PAGES — SCROLL TO READ ALL

PDF
Angelsize_id: "16" · Libre Baskerville · LH ratio: 1.5714 · Expected PDF pages: 3
Writer — 1 page

Dear Friend,

Some days move quickly, and others seem to ask us to slow down and notice the small things around us. Today I found myself thinking about how important it is to pause and appreciate the people who make life brighter.

I hope you know how much your kindness, encouragement, and friendship mean. Even simple conversations can leave a lasting impact, and I am grateful for the moments we have shared.

Whatever challenges or opportunities may be in front of you right now, I hope you move forward with confidence. You have already overcome so much, and there is every reason to believe that good things are still ahead.

Take care of yourself, celebrate the small victories, and remember that you are appreciated more than you may realize.

With warm regards, A Friend

p1
Preview

Dear Friend,

Some days move quickly, and others seem to ask us to slow down and notice the small things around us. Today I found myself thinking about how important it is to pause and appreciate the people who make life brighter.

I hope you know how much your kindness, encouragement, and friendship mean. Even simple conversations can leave a lasting impact, and I am grateful for the moments we have shared.

Whatever challenges or opportunities may be in front of you right now, I hope you move forward with confidence. You have already overcome so much, and there is every reason to believe that good things are still ahead.

Take care of yourself, celebrate the small victories, and remember that you are appreciated more than you may realize.

With warm regards, A Friend

YOUR LETTER CONTINUES — SCROLL DOWN

PDF