# Misha Chalk Note

A local WOFF2 lettering font for the site's handwritten accents: hero notes,
the RU/EN language switch, editorial notes, numbers and gallery captions.
Main navigation uses Manrope Medium (500), with `--font-nav` aliasing `--font-body`.
All handwritten notes, including About, approach punchlines and television,
use the same chalk font. Their drawn SVG decorations use the pencil artwork.
The original eleven glyphs come from
`../media/images/type.svg`, the site's original handwritten artwork. Their
contours and dry, irregular edges are unchanged. Pair kerning preserves the
original note's spacing. The browser renders ordinary selectable text, not a
bitmap, SVG text path, or a whole-word ligature.

Hand-drawn extensions are defined in `scripts/hero_navigation_glyphs.py`.
Shared Latin/Cyrillic shapes reuse the same outlines. Other letters use drawn
strokes with deterministic edge variation baked into the font, not runtime
effects. Coverage includes all 33 Russian letters, all 26 English letters,
digits, editorial punctuation and drawn arrows. Uppercase and lowercase
codepoints share unicase handwritten forms. It is not an international alphabet:
other languages, unusual symbols and emoji may use the fallback font.
The English hero note uses the same font, including its ampersand and smile.

The build also generates `misha-chalk-note.coverage.json` from the binary cmap.
Tests check localized handwritten copy against this file, including interactive
alternative notes. Keep both generated files in sync by running the builder.

Source artwork rights remain unchanged. This conversion does not grant a new
license or claim authorship of the original lettering.

To rebuild from the unmodified source (development only):

```sh
pip install 'fonttools[woff]==4.65.0'
python scripts/build_hero_note_font.py
python scripts/build_presentation_chalk_font.py
```

FontTools is not a website runtime dependency. Commit the generated WOFF2 along
with the build script when publishing this change.

The PDF builder converts the same outlines to quadratic TrueType curves with
at most one font unit of approximation error. Its embedded TTF has the same
character map and advance widths as the webfont; source artwork rights apply.
