Skip to content

List fonts

GET
/v1/fonts
curl -H "X-Api-Key: $KEY" http://localhost:9027/v1/fonts

Lists the fonts LibreOffice and the PDF stage can use.

The loaded fonts

Media typeapplication/json
Array<object>
object
family
required
string
file
required

The file’s base name.

string
id

The stored font this face belongs to, for deleting it. Absent for fonts in the image or the mounted directory.

string | null
mounted
required

True when it came from the mounted fonts directory.

boolean
style
required
string
weight
required
integer format: int32

Example generated

[
{
"family": "example",
"file": "example",
"id": "example",
"mounted": true,
"style": "example",
"weight": 1
}
]