Kaiber
Generate, edit, and beat-sync AI video with leading models in one workspace.
draw-your-font
Turn a photo of handwriting into a real installable font (TTF/WOFF/WOFF2).
Full skill instructions
Photo of handwritten letters in → installable font out. You do the seeing (find and label letters, judge quality); the CLI does all geometry (trace, metrics, font assembly). Never edit SVG paths or coordinates yourself.
Run node <skill-dir>/scripts/resolve-cli.js once. It prints the CLI
invocation to use (e.g. node /abs/path/src/cli.js). Substitute that printed
command wherever the examples below show $DYF - shell variables do not
persist between tool calls, so paste the real command each time.
If it errors, run npm install where it tells you (or npm i -g draw-your-font) and retry. Requires Node ≥ 18. Everything runs locally;
nothing is uploaded.
$DYF template -o template.pdf --charset minimal # or: spanish
Tell the user: print it, write one character per box with a dark pen (0.5 mm+), keep the letter sitting on the solid line, then photograph each page from above in good light and share the file paths. The grid prints in light grey and vanishes during processing - only their ink survives.
1. Segment. Works for template pages and freeform photos alike:
$DYF segment photo1.jpg photo2.jpg -d work
2. Look, then label. Read work/contact-1.png (one per photo): every
detected blob is numbered. This is the step where your eyes matter - check:
""), and two touching letters may
share one box (ask the user to re-shoot just those, or accept the gap)."".Then write work/labels.json mapping blob id → character, e.g.
{"0": "A", "1": "B", "7": "", "8": "a"}:
.,;:!?'"-()@#&+/$; spanish appends ÑñÁÉÍÓÚáéíóúü¿¡."" the other.3. Build.
$DYF build -d work --labels work/labels.json --name "Dan's Hand"
Name the font after the user (ask if unclear - one short question max).
4. Judge before delivering. Read work/preview.png and work/glyphs.png
and critique like an art director:
--weight 1, or ask for a re-shoot of just that letter.--weight 1 / --weight -1.--smooth 1.5 (up to 2).g not descending) → usually a mislabel;
fix labels.json and rebuild.Rebuilds are cheap and safe to iterate. Fix what you can yourself first; only bother the user for re-shoots when the source ink is the problem.
5. Deliver. The font lands at <workdir>/<NameWithoutSpaces>.ttf (the
build output prints the exact path). Give that path and how to install:
macOS - double-click → "Install Font"; Windows - right-click → "Install".
Mention what's missing (the build prints uncovered letters) and offer,
without pushing:
--formats ttf,woff,woff2,css.$DYF segment p1.jpg p2.jpg -d work2 - then relabel from the new contact sheets (blob ids renumber; the
old labels.json does not carry over) and build from the new workdir.| User says | Do |
|---|---|
| "smoother / rounder" | build … --smooth 1.5 (max 2) |
| "thicker / bolder" | build … --weight 1 (max 2) |
| "thinner / lighter" | build … --weight=-1 (negative needs the = form) |
| "the g looks bad" | show them work/crops/<id>.png for that letter; offer re-shoot or smooth |
| "wrong letter" / swap | edit labels.json, rebuild |
| "give me woff2 / web" | build … --formats ttf,woff,woff2,css |
| custom preview text | $DYF preview -d work --text "…" (after a build) |
All refine commands rebuild from the stored crops - no re-photographing needed unless the ink itself is the problem.
$DYF preview -d work --text "minimum mill rn m cl d I l 1 O 0 quick brown fox" -o work/legibility.png
Read it and give an honest, kind read: a score out of 10 for body-text use, the 2–3 letter pairs most likely to confuse (rn→m, cl→d, I/l/1, O/0), and one or two concrete fixes (rewrite those letters larger, more spacing). Note that display use (headings, notes) is more forgiving than paragraphs. Never gate delivery on this - it's advice, not a blocker.
Segmentation found far too many / too few blobs, grey guide lines surviving, shadow blobs, faint ballpoint strokes → see references/troubleshooting.md.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience