make-font
БесплатноЗапускает вложенные скриптыНе проверенUse when someone wants their own font made from fonts they like, such as "make me a font like these", "/make-font" or "build a typeface from these…
от arla6ka★ 650 звёзд на GitHubОб этом скилле
Make a font
The person names fonts they like. This skill measures them, picks an open-licence (OFL or Apache) font as the base, and bends that base to the measured numbers. Every outline in the result comes from the open base. The references give numbers only: proportions, stem and stroke thickness, class-mean widths and spacing. The output ships under the OFL with a new family name.
The line it holds
Say this to the person at the start, in plain words: "I match proportions, widths and spacing on an open font. I don't trace or copy the outlines of the fonts you send." Then hold it.
- Never open a reference font in the build step.
fit_font.pyandspace_font.pyread only the base font andtargets.json. - Never take a per-glyph advance, a kerning pair or a point from a reference. Targets are font-wide numbers and class means.
- Refuse a request to clone, trace, convert or "rebuild exactly" a commercial font, or to rename one. Offer the proportional match instead.
- A screenshot of a commercial font is fine to measure. Its file is fine to measure if the person has it. Neither is copied into the output or committed anywhere.
Scripts are in scripts/. They need Python 3.9+ with fonttools, brotli, uharfbuzz, numpy and pillow
(skia-pathops to remove overlaps, fontbakery for its checks if wanted), and Node 18+ with Playwright for the
PDF. Run Python as python3 -I and pass paths: every script reads --help. Downloaded fonts go in their own
folder and are only read, never run.
Steps
Ask once. In one message ask for: the fonts they like, as font files or screenshots (two to four is plenty), what the font is for (text, display or UI), which scripts and languages it must cover, which weights, and a new family name. If they can type in the font (a foundry's type tester, a design tool), ask them to screenshot the four lines of
SAMPLE_LINESinscripts/fontlib.py, large, cap height 80 px or more. Take defaults for anything unanswered and say which: text, Latin, Regular and Medium, a name you propose. Done when the references, use, scripts, weights and name are written down.Measure. Files:
measure_font.py <file> --out m1.json. Screenshots:measure_image.py <shot.png> --text "line|line" --out m2.json. Before trusting a screenshot, runmeasure_image.py --selftest <any open font> --px <its px per em>at the screenshot's size: it prints how far pixel readings land from the file's numbers. Report every number marked low confidence. Method, definitions and error sizes:references/measuring.md. Done when each reference has a measurement file and the person has seen the main numbers.Targets.
make_targets.py m1.json m2.json --family "New Name" --use text --scripts latin --style Regular:400 --style Medium:500 --out targets.json. Where references disagree, the script lists the spread. Ask which way to lean instead of averaging a serif with a sans. Done whentargets.jsonexists and every spread has an answer or a stated default.Find the foundation.
find_foundation.py targets.json --cache <dir> --out shortlist.json. It ranks open families from the Google Fonts catalogue by distance to the targets, with variable fonts ahead (references/foundation.md). Show the person the top three to five with their deltas and axes, render each beside a reference if you can, recommend one, and wait for a yes. Note any Reserved Font Name. Done when the person confirmed a base. Do not build before that.Fit.
fit_font.py <base-vf.ttf> targets.json --out-dir build/ [--loc opsz=..]. It solves a y instance for stems and contrast, an x instance per width class for widths, merges them into one static per weight, and iterates until every class mean is within 0.3 percent, never stretching more than 3 percent (references/fitting.md). If a class hits the stretch limit, tell the person what that letter class will be and offer a base with a width axis. Done when every style is written andfit-log.jsonshows each class within tolerance or explained.Space.
space_font.py build/X-Regular.fit.ttf targets.json --out build/X-Regular.ttf [--track -4]. Class sidebearings to the targets, an optional global track, kerning carried and scaled, then the collision guard (references/spacing.md). More than 150 guard pairs means the spacing is too tight. Loosen and rerun. Done when the guard count is under 150 and its log is saved.Package and check.
package.py build/*.ttf --targets targets.json --base <vf> --base-licence <OFL.txt> --holder "<who owns the modifications>" --out-dir dist/ --fit-log build/fit-log.json --space-log ...(references/licensing.md), thencheck_font.py dist/ttf/*.ttf --targets targets.json --base <vf> --reference <ref file> --package dist/ --fit-log build/fit-log.json --out-dir checks/(references/checks.md). Look at every overlay ren
Установить make-font в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл make-font?
Use when someone wants their own font made from fonts they like, such as "make me a font like these", "/make-font" or "build a typeface from these screenshots". It measures the references, fits the closest open-licence font to them, checks it, and delivers an OFL font with web files and a font book. It never copies outlines.
Как установить скилл make-font?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл make-font запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic