Release Update: Apex Blob.toPdf() Now Uses Visualforce PDF Renderer

Apex's Blob.toPdf() is being switched to use the Visualforce PDF rendering service. The new renderer is more capable, but it may produce different output for existing PDFs.

Where

Apex classes using PageReference with Blob.toPdf().

How

Search your Apex code for Blob.toPdf(. For each usage: capture a baseline PDF output before enabling the Release Update, enable the update in sandbox, then compare outputs. Update any Apex code or Visualforce templates that produce regressions. Adequate Apex test coverage is required before deploying to production.

Why

The previous renderer had font and multi-character limitations. The upgrade brings better output quality but is a breaking change for any code relying on the old renderer's specific behavior—fonts, layout, or character rendering may differ.

💬 Comments

Loading comments...