> For the complete documentation index, see [llms.txt](https://mkfont.gitbook.io/mkfont-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mkfont.gitbook.io/mkfont-docs/import-and-export.md). Agents can also search and read this documentation through its [MCP server](https://mkfont.gitbook.io/mkfont-docs/~gitbook/mcp).

# Import & Export

Every way a shape or a glyph gets into a MkFont project, and the one way a font file comes out of it.

A project is filled from outside: shapes drawn in a vector editor, glyphs taken from an existing font file or from another project. One thing leaves it, the font file. This section follows each of those routes.

<figure><img src="https://1675470811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwkWJ9v357hW91tto340i%2Fuploads%2Fgit-blob-308dc31d5c6138d10eea6d9a40dbc0f883c812f0%2Fplaceholder-wide.jpg?alt=media" alt="DIAGRAM | id: import-and-export-routes | SHOWS: Every route into a project, and the one route out | ELEMENTS: A box in the center labelled project, holding a small grid of glyphs. On its left, four sources stacked, each with an arrow into the project: SVG files, labelled import, with a thinner looping arrow labelled linked running both ways between the files and the project. The clipboard, labelled paste. A font file, labelled import glyphs. Another project file, labelled import glyphs. On the right, a single heavy arrow out of the project to a font file, labelled export, with TTF and OTF under it. Under the project box, a small arrow down to a script file labelled artboard template, and a dashed arrow from it round to the SVG files, labelled drawn and exported in the vector editor | MUST BE CLEAR: Many routes lead in, and each brings shapes or glyphs. One route leads out, and it produces the font file"><figcaption><p>Shapes and glyphs come in. A font file goes out.</p></figcaption></figure>

## Shapes from a vector editor

*SVG is the way in for anything drawn elsewhere.*

| Page                                                                                                                            | Covers                                                                                   |
| ------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| [Preparing SVGs](https://mkfont.gitbook.io/mkfont-docs/import-and-export/preparing-svgs.md)                                     | What MkFont reads from an SVG, and how to name files so they find their slots.           |
| [Importing SVGs](https://mkfont.gitbook.io/mkfont-docs/import-and-export/importing-svgs.md)                                     | Importing many files at once, one file into one glyph, and pasting.                      |
| [Linked Files & External Editing](https://mkfont.gitbook.io/mkfont-docs/import-and-export/linked-files-and-external-editing.md) | A glyph that reloads when its file is saved, and editing a glyph in another application. |
| [Illustrator Artboards](https://mkfont.gitbook.io/mkfont-docs/import-and-export/illustrator-artboards.md)                       | A script that sets up one artboard per glyph.                                            |

## Glyphs that exist already

*A glyph made before can be brought in whole.*

| Page                                                                                                                        | Covers                                                                                        |
| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| [Importing from a Font File](https://mkfont.gitbook.io/mkfont-docs/import-and-export/importing-from-a-font-file.md)         | Glyphs from a TTF, OTF or WOFF, into the open font or as a new one.                           |
| [Importing from Another Project](https://mkfont.gitbook.io/mkfont-docs/import-and-export/importing-from-another-project.md) | Glyphs from another project file, with their settings.                                        |
| [Copy & Paste](https://mkfont.gitbook.io/mkfont-docs/import-and-export/copy-and-paste.md)                                   | Copying glyphs, their transforms or their components, within a font or between two open ones. |

## The font file

*What the work is for.*

| Page                                                                              | Covers                                                                                                 |
| --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| [Exporting](https://mkfont.gitbook.io/mkfont-docs/import-and-export/exporting.md) | Writing a TTF, an OTF, a WOFF or a WOFF2: what goes in, what is left out, and what each warning means. |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://mkfont.gitbook.io/mkfont-docs/import-and-export.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
