Skip to main content

Fonts

Retrieve the list of available fonts on the local machine.

Response Body

[
{
"family": "Serif"
},
{
"family": "Sans-Serif"
},
{
"family": "Monospace"
}
]
  • The response is a JSON array, with each element containing a font family name family.
  • Can be used to specify fonts when generating PDFs or images to ensure consistent layout.