imgix APIs
Rendering API
Text Font

Text Font


Defines the typeface and style to set the text in.

The value may be either a CSS-style category, or an explicit font name. The possible CSS names are serif, sans-serif, monospace, cursive, fantasy. For an explicit typeface, use the name instead.

To make the type style bold or italic, append the desired options as a comma-separated list. For example: txt-font=sans-serif,bold,italic.

Supported Fonts

Prefer Base64 Variant

imgix recommends using the Base64 variant version of this parameter to make encoding values easier.

Custom Fonts Not Supported

We support a large library of fonts but currently we do not support custom fonts.