cartography

Upload a font

Convert a TTF, OTF or WOFF to SDF glyph ranges and report the Unicode blocks it covers.

When to use: Add a custom label font and inspect its supported Unicode ranges.

post/fonts

Request

  • Base URL: https://api.mapsource.io
  • URL: https://api.mapsource.io/fonts
  • Auth: HTTP bearer

Request body

namestring required

The stack name a style will refer to.

datastring required

The font file, base64-encoded.

licensestring

Recorded with the font; not verified.

Response

Upload a font

schemastring
fontobject
glyphsstring

Changes

No recorded changes to this operation across all 1 revision of this API.