Start a font
font_newStart a new font: a canvas people watch while you draw its letters, one at a time, with a grid of every letter. Give it a family name (not an existing font's or a trademark) and a letter set: latin-basic (95 letters: A to Z, a to z, figures and punctuation.); latin-extended (About 340. Adds the accented letters of Western and Central Europe, made from parts, so they fill in as their base letters are drawn.); digits (0 to 9, for numbers on signs and prices.); or custom with glyphs ["A", "B", ...]. from starts it from an open font instead of blank: every letter of the set comes in drawn (outlines, accents, widths, metrics, kerning), ready to change; the font is then under the SIL Open Font License, and can't take that font's name or its Reserved Font Names. from is one of the open-font ids in the enum (78, across grotesque, geometric, humanist, slab serif, serif, monospace, display, handwriting), such as inter-400, pt-serif-700, lato-400, zillaslab-700, spectral-400, ibmplexmono-400, bungee, kalam-400; or {canvas, font} for an Open Font License font uploaded to a canvas you can edit. From a source, try the first moves (font_metrics transform: heavier, narrower, rounder corners, taller x-height...) before redrawing letters one by one. Give the watch link to your user right away. Then draw with glyph_draw (H, O, n, o first: they set the stems, the curves and the spacing), check with font_proof, space with font_metrics, and export with font_export. Letters are drawn in font units: 1000 to the em, x to the right, y DOWN, the baseline at y = 0. So the cap height is y = -700, the x-height y = -500, the ascender -800 and the descender +200 (unless font_metrics changed them). A letter starts at x = 0 on the left; its width (adv) is where the next one starts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"family": "<family>"
},
"name": "font_new"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | which letters (default latin-basic) | |
| from | No | start from an open font: one of the open-font ids in the enum (78, across grotesque, geometric, humanist, slab serif, serif, monospace, display, handwriting), such as inter-400, pt-serif-700, lato-400, zillaslab-700, spectral-400, ibmplexmono-400, bungee, kalam-400; or {canvas, font} for an OFL font uploaded to a canvas. Left out: blank. | |
| note | No | what the font is for, shown on its page ("a friendly sans for a bakery's signs") | |
| style | No | Regular (default), Bold, Italic... | |
| title | No | the canvas title (default the family and style) | |
| family | Yes | the family name, as people will pick it in a menu ("Harbour Sans") | |
| glyphs | No | set custom: the characters | |
| italic | No | ||
| weight | No | ||
| licence | No | default OFL-1.1: anyone may use and share it. A font with from is always OFL-1.1. | |
| metrics | No | ||
| private | No | default true: private, or refused when the plan has no private place left. false: shared (only when your user asks for that). | |
| designer | No | the name written into the file (your user's, if they say) | |
| model_label | No |