# Design This file fixes the parts that are easy to get wrong. The language and tools are up to you, as long as the numbers here hold. ## Starting outlines A shipped original source, licensed in `LICENCE.md`. Crimes are deterministic functions of those outlines, described in `fixtures/font-crimes.json`. ## Screenshot tolerance 8 levels, 98% of pixels. Metrics are exact to 1 font unit. ## Inputs | Key | Label | Default | Notes | | --- | --- | --- | --- | | `title` | Title | A slightly wrong typeface | Shown above the preview. | | `family_name` | Family name | SlightlyWrong | The name written into the exported font. | | `lowercase` | Include lowercase | on | If off, only A–Z, 0–9 and basic punctuation are exported. | | `kerning` | Include a few kern pairs | on | A small shipped list, not a full kerning class system. | | `crime` | Crime | narrow-i | The typographic crime applied to a regular starting outline. | ## Acceptance at the defaults The numbers, names and fixture paths already in this file are the authority. Where a later table or a shipped fixture file disagrees with prose, the table or the fixture wins. | Fixture | Role | | --- | --- | | `LICENCE.md` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `fixtures/font-crimes.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `fixtures/font-metrics.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `fixtures/font-outlines.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `spekkr.inputs.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | Golden frames are compared at 1400 by 1000 CSS pixels unless a requirement names another size. Tolerance, unless a tighter figure is given above: 8 levels, 98% of pixels, with motion, cursors and clocks frozen as this file says. A build's goldens are of that build; they do not have to match a shipped reference preview pixel-for-pixel if the tool or the type is different, but they do have to match this file's layout, counts and copy. ## Screenshots These pictures are headless-Chrome captures of the working reference in `reference/preview.html`, at the default inputs. They are not drawings of a product that has not been built. The first picture is the one Spekkr shows on the spec's card. A build may ship its own goldens; those goldens are of that build and do not have to match these frames pixel-for-pixel. | File | What it shows | | --- | --- | | `shots/specimen.png` | SlightlyWrong, a specimen and a glyph set with fixture metrics. | ## How to verify 1. Run the checks at the default inputs, without a network. 2. Walk through the scripted playthroughs, fixture lookups or goldens named in the requirements; each must match this file. 3. Repeat once at the person's inputs when they differ from the defaults. 4. Exported fonts parse, the family name is written, and named glyphs match fixture metrics (and outlines or path hashes). A preview screenshot is checked. The starting outlines are original and licensed. No commercial font is ripped. No network.