set_canvas_font
Change the font for the entire Excalidraw canvas at once. Updates all existing elements and sets the default for new ones, with options from hand-drawn to clean styles.
Instructions
Set the global font for ALL elements on the canvas. Updates every existing element immediately and persists as the default for new elements. Excalifont (5) = hand-drawn, Helvetica (2) = clean standard, Virgil (1) = classic sketch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fontFamily | Yes | Font family: 1=Virgil (classic sketch), 2=Helvetica (clean), 3=Cascadia (mono), 5=Excalifont (hand-drawn), 6=Nunito, 7=Lilita, 8=Comic |