The PDF looks different from the preview

Preview versus PDF output. Troubleshooting in the DocStudio designer user guide.

Symptom

The PDF has different spacing, fonts or page breaks than the canvas.

Likely causes

  • The canvas is one continuous page and does not show page breaks.
  • The PDF service embeds fonts the host provides, while the preview uses the fonts of your browser.
  • Header and footer are printed in the margins in the PDF.
  • The PDF was made from the stored template, not from your unsaved changes.

Diagnose

  1. Save, then download again.
  2. Compare the Print view with the PDF.
  3. Look at the page size and margins in the Page group.

Solution

  • Press Save to server before Download PDF.
  • Provide the same fonts to the PDF service.
  • Use the PDF view for layout checks.

Limitation

Small differences in text metrics between browsers and Chromium on the server can remain.