Fonts

Font tools maintain the fonts of the Fonts tool. A font holds font files for PDF documents and for the web. A font must always keep at least one file. To create a font, upload its first file with upload_font_file.

The font tools are available from Neptune DXP - Open Edition 25.0.1.

Required access: the Fonts tool (fonts) in one of your roles. Display access is enough to list and read fonts. Saving and deleting require Edit access. upload_font_file does not check tool access itself. Your access to the target font is checked when the upload starts.

If none of your roles includes this tool with the required access, the tool fails immediately with an access denied error. Contact an administrator to request access, or see Access control for more information on how access is enforced.

Available tools

Tool Description

list_fonts

List fonts. Supports filtering, field selection, and sorting through listOptions.

get_font

Return detailed information about a font by its ID.

save_font

Update an existing font. id is required. To create a font, use upload_font_file.

delete_font

Delete a font by its ID.

upload_font_file

Add one font file to the font with this id, or pass name instead of id to create a font with this file as its first file. Use a TTF or OTF file for PDF documents and a WOFF2 file for the web. Pass sourceUrl to upload a file from a URL. For a local file, omit sourceUrl and run the returned curl command. See File uploads.

Was this page helpful?

What made the biggest difference for you?
What went wrong? (Your feedback helps us fix it.)

Please don't include personal or sensitive data.