The Text visualizer loads font files listed in assets/fonts/fonts.json.
Bundled fonts live in assets/fonts/. You can add more by copying files and updating the manifest.
.ttf or .woff2 file in assets/fonts/ (use a short, ASCII filename without spaces if possible).assets/fonts/fonts.json and append a new object to the array, for example:{
"id": "my-display-font",
"label": "My Display Font",
"family": "VJGO_MyDisplayFont",
"src": "assets/fonts/MyDisplayFont-Regular.ttf"
}
@font-face and the options list rebuilds.| Field | Required | Description |
|---|---|---|
id | Yes | Stable slug (letters, numbers, hyphens). |
label | Yes | Name shown in the font picker. |
family | Yes | Unique CSS font-family name. Use a prefix like VJGO_ and no spaces so it matches canvas and the UI. Must be unique across all entries. |
src | Yes for files | Path from the project root, e.g. assets/fonts/YourFont.ttf. Omit for built-in system entries (system: true). |
system | No | Set to true only for the three system fonts (sans-serif, serif, monospace). |
Do not edit the three system entries unless you know what you are doing.
family unique: duplicate names will conflict with FontFace registration.fonts.json, keep it pretty-printed (readable array/objects) like the rest of the repo.