Text Font
txt-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. Use txt-font[N] to override this for a specific text layer — bare txt-font applies to every layer by default.
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.
If you omit txt-font, text renders in HelveticaNeue.
Search the supported typefaces below. Each result previews the typeface as the Rendering API actually draws it. Typefaces for non-Latin writing systems are previewed with a specimen in their own script. The same list, alongside the Video API’s separate font set, is on the Supported Fonts reference page.
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.