Fonts Available When Using Visualforce PDF Rendering

Visualforce PDF rendering supports a limited set of fonts. To ensure that PDF output renders as you expect, use the supported font names. The default font is serif.

For each typeface, the first font-family name listed is recommended.

Typefacefont-family Values
Arial Unicode MSArial Unicode MS
Helveticasans-serif, SansSerif, or Dialog
Timesserif or Times
Couriermonospace, Courier, Monospaced, or DialogInput
  • These rules apply to server-side PDF rendering. Viewing pages in a web browser can have different results.
  • Text styled with a value not listed here uses Times. For example, if you use the word “Helvetica,” it renders as Times, because that’s not a supported value for the Helvetica font. We recommend using “sans-serif”.
  • Arial Unicode MS is the only multibyte font available. It’s the only font that provides support for the extended range of characters of languages that don’t use the Latin character set.
  • Arial Unicode MS doesn’t support bold or italic font-weight.
  • Web fonts aren’t supported when the page is rendered as a PDF file. You can use web fonts in your Visualforce pages when they’re rendered normally.

You can use the following page to test font rendering with the Visualforce PDF rendering engine.

The preceding page uses the following controller, which provides a simple Save to PDF function.