Fonts
Retrieve the list of available fonts on the local machine.
- API Endpoint: http://127.0.0.1:8080/fonts
- Request Method:
GET
- Description: Returns all available font families on the system.
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.