Load Font
photopea_load_fontIdempotent
Load custom fonts from URLs (TTF, OTF, WOFF2) into Photopea to expand typography options for text editing. Enables unique font styling in graphic design projects.
Instructions
Load a custom font from a URL (TTF, OTF, or WOFF2) into Photopea. The font becomes available for add_text and edit_text. Use list_fonts to find the PostScript name after loading.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to a font file (.ttf, .otf, or .woff2) |