Design method (ARCHITECTURE.md 标准工作流):
tk new --starter latin-sans→ editsystem.py/glyphs//elements.py/spacing.py→tk proof/tk audit/tk build. See.agents/skills/typekernel-font-design/(recipes, anti-patterns, reference).
| Do | Don't |
|---|---|
Draw with typekernel.draw + @glyph in the project |
Look for letter builders inside typekernel.* kernel packages |
Space via project spacing.py (metrics keys + kern) |
Rely on bbox-only advances as the design |
Compile with tk build / tk build --variable and proof |
Add heal / blend / seal passes for bad joins |
tk new myfont --starter latin-sans
tk build .
tk proof control .
tk audit .
tk build . --variable
# quickstart example
python examples/latin_sans_quickstart/build.pyArchitecture contracts: ARCHITECTURE.md 交接规格.
Copy from src/typekernel/starters/latin_sans/ (elements.py, glyphs/**,
font.py corner wiring, spacing.py). Kernel packages stay letter-free.