> 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/readme.md). Agents can also search and read this documentation through its [MCP server](https://mkfont.gitbook.io/mkfont-docs/~gitbook/mcp).

# MkFont

MkFont builds fonts from shapes drawn elsewhere: SVG files in, a TrueType or OpenType font out.

**MkFont composes fonts from SVG files and reusable components.** The shapes are drawn in a vector editor. MkFont gives each one a place in a font: a character, a size, a baseline, the space around it, and its relation to the other glyphs. Then it exports a font file.

***

<p align="center"><a href="https://github.com/Nebukam/mkfont/releases/download/v2.0.1/MkFont-2.0.1-win-x64.exe" class="button primary" data-icon="windows">Windows</a><a href="https://github.com/Nebukam/mkfont/releases/download/v2.0.1/MkFont-2.0.1-mac-x64.dmg" class="button primary" data-icon="apple">MacOS</a><a href="https://github.com/Nebukam/mkfont/releases/download/v2.0.1/MkFont-2.0.1-linux-x86_64.AppImage" class="button primary" data-icon="linux">Linux</a> ··· <a href="https://github.com/Nebukam/mkfont" class="button secondary" data-icon="github">Github</a></p>

***

<figure><img src="https://1675470811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwkWJ9v357hW91tto340i%2Fuploads%2Fgit-blob-1641af115807a7a02f2705748feabd82e80d9236%2Freadme-hero.png?alt=media" alt="STILL | id: readme-hero | SHOWS: A font open in MkFont, with a glyph built from components selected and the same font setting a line of text | FRAME: Full window. Sidebar on the Text preview panel showing a few words in the font. Viewport on My glyphs with the grid filled. One accented letter selected, the inspector showing it in the glyph view with its Components section open | CROP: window | NEEDS: enough glyphs with outlines to fill the grid and to set a short sentence, and an accented letter built from two components | SOURCE: Sample font, browser build"><figcaption><p>Glyphs in the middle, the selected one on the right, and the font setting text on the left as it changes.</p></figcaption></figure>

## From a shape to a glyph

*A shape is imported once, and fitted by settings that can change at any time.*

An SVG has no baseline and no fixed size. MkFont keeps the shape as it was drawn and stores, beside it, how it is fitted between the font's lines: which box of it is measured, what that box is scaled to, where it sits, how much room it takes. Change a metric of the font later, or import a new version of the drawing, and the glyph follows.

{% columns %}
{% column valign="middle" %}

<figure><img src="https://1675470811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwkWJ9v357hW91tto340i%2Fuploads%2Fgit-blob-694e811aca07da78a9080243cdf284811a4f3ab1%2Freadme-fitted-glyph.png?alt=media" alt="STILL | id: readme-fitted-glyph | SHOWS: One glyph in the inspector: the shape, the metric lines it is fitted between, and the settings that fit it | FRAME: One glyph selected. Inspector showing the glyph view with its metric lines and advance box, and the Transforms section open under it at its defaults | CROP: inspector | NEEDS: a letter with an imported outline and no components | SOURCE: Sample font, browser build"><figcaption><p>The drawing stays as imported. The section under it decides everything else.</p></figcaption></figure>
{% endcolumn %}

{% column valign="middle" %}

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td>Fitting</td><td>A shape is scaled and placed by settings, and a whole import can share them: <a data-mention href="https://mkfont.gitbook.io/mkfont-docs/how-mkfont-works/fitting-a-shape.md">Fitting a Shape</a></td></tr><tr><td>Metrics</td><td>The lines every glyph is fitted between belong to the font, and can move: <a data-mention href="https://mkfont.gitbook.io/mkfont-docs/how-mkfont-works/font-metrics.md">Font Metrics</a></td></tr><tr><td>Linked files</td><td>A glyph can stay linked to its SVG file and reload each time the file is saved, so the vector editor stays the place where shapes are drawn. See <a data-mention href="https://mkfont.gitbook.io/mkfont-docs/import-and-export/linked-files-and-external-editing.md">Linked Files &amp; External Editing</a></td></tr><tr><td>Outline editor</td><td>Points and curves of an imported shape can be adjusted in place, for the small corrections that are not worth a round trip. See <a data-mention href="https://mkfont.gitbook.io/mkfont-docs/building-a-font/outline-editor.md">Outline Editor</a></td></tr></tbody></table>
{% endcolumn %}
{% endcolumns %}

## From glyphs to a font

*Glyphs are built from each other, and the font knows how they meet in text.*

{% columns %}
{% column valign="middle" %}

<figure><img src="https://1675470811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwkWJ9v357hW91tto340i%2Fuploads%2Fgit-blob-001d58a80ee5920c33efaf7422d4a3fafa2d5df8%2Freadme-components.png?alt=media" alt="STILL | id: readme-components | SHOWS: A glyph made of two other glyphs of the same font, listed as components | FRAME: One accented letter selected. Inspector showing the glyph view and the Components section with two components listed, both collapsed | CROP: inspector | NEEDS: an accented letter built from two components, a base letter and an accent | SOURCE: Sample font, browser build"><figcaption><p>The letter and the accent are drawn once. This glyph only places them.</p></figcaption></figure>
{% endcolumn %}

{% column valign="middle" %}

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td>Components</td><td>A glyph can place other glyphs inside itself. Redraw the part and every glyph using it changes: <a data-mention href="https://mkfont.gitbook.io/mkfont-docs/how-mkfont-works/building-with-components.md">Building with Components</a></td></tr><tr><td>Ligatures</td><td>A glyph can stand for a sequence of characters and replace them in text. The <strong>Ligature finder</strong> reads a text and lists the sequences that occur most. See <a data-mention href="https://mkfont.gitbook.io/mkfont-docs/building-a-font/ligatures.md">Ligatures</a></td></tr><tr><td>Kerning</td><td>Pairs of glyphs can be set closer or further apart. MkFont lists the pairs that matter most in text, and suggests values measured from the outlines. See <a data-mention href="https://mkfont.gitbook.io/mkfont-docs/building-a-font/kerning.md">Kerning</a></td></tr><tr><td>Text preview</td><td>The font sets text in the window while it is being built, ligatures and kerning included. See <a data-mention href="https://mkfont.gitbook.io/mkfont-docs/building-a-font/text-preview.md">Text Preview</a></td></tr></tbody></table>
{% endcolumn %}
{% endcolumns %}

<figure><img src="https://1675470811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwkWJ9v357hW91tto340i%2Fuploads%2Fgit-blob-1a76f0317edc9d3c6b18eddc5ab29054f67ccb42%2Freadme-kerning-pairs.png?alt=media" alt="STILL | id: readme-kerning-pairs | SHOWS: Kerning pairs as a grid, each drawn with the font and its own spacing, some of them with a suggested value | FRAME: Detected selected in the Browse panel. Viewport showing pair cells with their suggested values. One pair selected, the pair inspector showing its proof and value | CROP: window | NEEDS: uppercase and lowercase Latin letters with outlines, among them pairs of shapes that leave a visible gap such as a capital A next to a capital V | SOURCE: Sample font, browser build"><figcaption><p>Each cell is a pair of glyphs. The suggestions are a starting point, to be checked by eye.</p></figcaption></figure>

## Where to start

*One short tutorial, one map, then the model.*

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td>A first font file</td><td><a data-mention href="https://mkfont.gitbook.io/mkfont-docs/quick-start.md">Quick Start</a></td></tr><tr><td>The window</td><td><a data-mention href="https://mkfont.gitbook.io/mkfont-docs/interface-overview.md">Interface Overview</a></td></tr><tr><td>How it thinks</td><td><a data-mention href="https://mkfont.gitbook.io/mkfont-docs/how-mkfont-works.md">How MkFont Works</a></td></tr><tr><td>Every area, control by control</td><td><a data-mention href="https://mkfont.gitbook.io/mkfont-docs/building-a-font.md">Building a Font</a></td></tr><tr><td>Getting shapes in and a font file out</td><td><a data-mention href="https://mkfont.gitbook.io/mkfont-docs/import-and-export.md">Import &amp; Export</a></td></tr><tr><td>Coming from MkFont 1</td><td><a data-mention href="https://mkfont.gitbook.io/mkfont-docs/coming-from-mkfont-1.md">Coming from MkFont 1</a></td></tr><tr><td>Where a file goes</td><td><a data-mention href="https://mkfont.gitbook.io/mkfont-docs/how-mkfont-works/saving-and-files.md">Saving &amp; Files</a></td></tr></tbody></table>

{% hint style="success" %}
**Coming from MkFont 1.** Project files open as they are: MkFont reads and writes the same `.mkfont` format.
{% endhint %}


---

# 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/readme.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.
