Skip to content
Back to search

draw-your-font

Turn a photo of your handwriting into a real font (TTF/WOFF/WOFF2) - free, open source, no uploads. Node CLI + Claude Code skill.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/danilo-znamerovszkij-draw-your-font/badge.svg)](/listings/danilo-znamerovszkij-draw-your-font)

HTML

<a href="/listings/danilo-znamerovszkij-draw-your-font"><img src="/api/listings/danilo-znamerovszkij-draw-your-font/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 96 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # draw-your-font
  2. **Turn a photo of your handwriting into a real font (TTF/WOFF/WOFF2) - free, open source, no uploads, no credits.**
  3. Draw your alphabet on paper. Take a photo. Get your font.
  4. ![A photo of a handwritten alphabet in a spiral notebook becoming an installable font](assets/hero.png)
  5. *This is a real one-shot result: dim light, spiral binding, page shadow. One photo in, installable font out.*
  6. ## Use it as a Claude Code skill (the fun way)
  7. ```bash
  8. npx skills add danilo-znamerovszkij/draw-your-font
  9. ```
  10. Then in Claude Code, invoke the skill and hand it your photo:
  11. > */draw-your-font* *"here's a photo of my handwriting - make my font"* (drag the photo into the terminal)
  12. Claude finds your letters in the photo, labels them with vision, builds the
  13. font, shows you a preview, and critiques its own work. Iterate by talking:
  14. - *"make it rounder"* / *"a bit bolder"*
  15. - *"the g looks bad"* - it shows you the crop and fixes or asks for a re-shoot
  16. - *"give me woff2 + css for my website"*
  17. - *"how readable is it?"* - a legibility score and the two worst letter pairs
  18. No photo yet? Say *"give me a font template"* and you get a printable PDF grid:
  19. write your alphabet with a dark pen, photograph the pages, and hand them back.
  20. Messy freeform photos work too. Napkins, notebooks, spiral binding, bad
  21. lighting: that's what the vision step is for.
  22. Everything runs locally on your machine. Your handwriting never leaves it.
  23. ## Use it as a CLI (no AI at all)
  24. The skill is a thin layer over a deterministic npm CLI. It works on its own
  25. when you can tell it what you wrote:
  26. ```bash
  27. # freeform photo, you know the order you wrote in:
  28. npx draw-your-font make photo.jpg --chars "ABCabc" --name "My Hand"
  29. # → MyHand.ttf - double-click, install, done.
  30. # best quality: print a template, fill it, photograph:
  31. npx draw-your-font template -o template.pdf --charset minimal # or: spanish
  32. npx draw-your-font make page1.jpg page2.jpg --charset minimal --name "My Hand"
  33. ```
  34. Pure npm, zero system dependencies: no FontForge, no ImageMagick, no potrace
  35. binary. Works on macOS / Linux / Windows wherever Node ≥ 18 runs.
  36. ### CLI reference
  37. | Command | What it does |
  38. |---|---|
  39. | `template` | printable A4 PDF grid (`--charset minimal\|spanish`) |
  40. | `segment <photos…>` | find letters → crops + numbered contact sheet + `blobs.json` |
  41. | `build` | labeled crops → font (`--labels` / `--chars` / `--charset`) |
  42. | `make <photos…>` | segment + build in one shot |
  43. | `preview` | render any text with the built font |
  44. Refinement flags: `--smooth 0..2` (rounder curves), `--weight=-2..2`
  45. (thinner/bolder), `--formats ttf,woff,woff2,css` (web-ready + `@font-face`
  46. snippet). Run `draw-your-font --help` for everything.
  47. ## How it works
  48. ```
  49. photo ──► adaptive threshold ──► blob detection ──► label (Claude / you / template order)
  50. ──► potrace vectorize ──► shared em-square metrics ──► TTF/WOFF/WOFF2 + preview
  51. ```
  52. The craft is in the metrics step: every character has a vertical band in a
  53. shared 1000-unit em square (cap height, x-height, descender depth), so your
  54. `g` hangs below the line and your `o` stays small. That's what makes it feel
  55. like a font instead of a ransom note. Vectorization is potrace, the same
  56. engine inside FontForge and Inkscape. AI never draws your letters; it only
  57. finds, labels, and judges them.
  58. ## FAQ
  59. **Who owns the font?** You. 100%, commercial use included. It's your
  60. handwriting.
  61. **Why is this free when Calligraphr charges $8/month?** Their cost is
  62. servers and a browser editor. Here your machine does the work and the agent
  63. is the editor.
  64. **Kerning, ligatures, letter randomization?** v2. The pipeline (fonttools
  65. `calt`) is planned; the current output is a clean single-variant font.
  66. ## License
  67. MIT. Draw something.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.