API & MCP

Everything a person can do on Font Monospacer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Font Monospacer

Upload a TTF or WOFF font with TrueType outlines. Every character gets the same width (taken from the digit 0, the average letter, the widest character or your own value); letters are centred in their cell or keep their side-bearing balance, and letters that are too wide are narrowed or may stick out. You get a renamed, verified TTF or WOFF marked as monospaced, read back with Lumina's own font reader.

Inputs of Font Monospacer
FieldTypeDefaultDescription
font (required)file—Font (TTF or WOFF with TrueType outlines; up to 10 MB; uploaded to the server)
widthselect (zero, average, widest, custom)"zero"Cell width
customWidthinteger600Custom cell width (thousandths of an em, e.g. 600)
fitselect (condense, overhang)"condense"Glyphs wider than the cell
alignselect (center, proportional)"center"Placement in the cell
marginnumber4Space on each side of narrowed glyphs (% of the cell)
doubleWidebooleanfalseGive very wide glyphs (1.5 cells or more) two cells
familyNametext—New font name (empty = original name + Monospaced)
formatselect (ttf, woff)"ttf"Output format
axestext—Freeze a variable font at (e.g. wght=700; empty = default instance)
sampletext—Sample text for the preview

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "lumina-font-monospace": { "type": "http", "url": "https://luminafontmonospace.usefulweb.app/mcp" }
  }
}