Hazel reports · ^report(59) · interface font · 2026-11-19, revised 2026-11-19 11:27 MST · work in progress · after ^report(58)
An Open Font for Hazel’s Interface
Hazel’s interface font was Helvetica Neue, a commercial typeface, from a copy Hazel served with every build, with no license for it on record. Since hazelgrove/hazel#2837, Hazel ships no copy: the interface takes Helvetica Neue from the reader’s own machine if it has one (a Mac does), and otherwise Helvetica or Arial’s stand-ins, so it looks different on Linux and Windows. Matthew Hammer asked, on 2026-11-19, for an open font Hazel can ship with itself, so the interface looks the same everywhere: a choice for the team. This page lays out 11 candidates, all under the SIL Open Font License 1.1, side by side in pieces of Hazel’s interface, measured against Helvetica Neue.
Outline#
- The candidates, side by side: each font drawing the same pieces of Hazel’s interface, with your own text if you like.
- How each measures against Helvetica Neue: the width it sets Hazel’s words at, its x-height, and its files’ size.
- Our lean: Inter; Roboto for the least change; Source Sans 3 to match the code font.
- What adopting one takes: two files, two rules, one variable, and the license.
- What next, and how this was put together.
The candidates, side by side#
Each card draws the same pieces of Hazel’s interface in one font: a right-click menu, a panel’s heading and text, a type error, two buttons and a line of numbers, with a line of code in Source Code Pro, Hazel’s code font, under them. The first card is what Hazel showed until #2837: Helvetica Neue, here only if your machine has it. Each candidate loads from Fontsource under a name of its own, so a copy installed on your machine is never used instead.
Helvetica Neue, from your machine #
Settings
Show each step of the evaluation, and keep the probes’ samples.
Expected Int but found Bool
12 samples · 3.5 ms · 1,024 steps
measuring… (needs JavaScript)
The fallback alone: sans-serif#
Settings
Show each step of the evaluation, and keep the probes’ samples.
Expected Int but found Bool
12 samples · 3.5 ms · 1,024 steps
measuring… (needs JavaScript)
Inter#
Settings
Show each step of the evaluation, and keep the probes’ samples.
Expected Int but found Bool
12 samples · 3.5 ms · 1,024 steps
measuring… (needs JavaScript)
Roboto#
Settings
Show each step of the evaluation, and keep the probes’ samples.
Expected Int but found Bool
12 samples · 3.5 ms · 1,024 steps
measuring… (needs JavaScript)
IBM Plex Sans#
Settings
Show each step of the evaluation, and keep the probes’ samples.
Expected Int but found Bool
12 samples · 3.5 ms · 1,024 steps
measuring… (needs JavaScript)
Arimo#
Settings
Show each step of the evaluation, and keep the probes’ samples.
Expected Int but found Bool
12 samples · 3.5 ms · 1,024 steps
measuring… (needs JavaScript)
Public Sans#
Settings
Show each step of the evaluation, and keep the probes’ samples.
Expected Int but found Bool
12 samples · 3.5 ms · 1,024 steps
measuring… (needs JavaScript)
Figtree#
Settings
Show each step of the evaluation, and keep the probes’ samples.
Expected Int but found Bool
12 samples · 3.5 ms · 1,024 steps
measuring… (needs JavaScript)
Noto Sans#
Settings
Show each step of the evaluation, and keep the probes’ samples.
Expected Int but found Bool
12 samples · 3.5 ms · 1,024 steps
measuring… (needs JavaScript)
Geist#
Settings
Show each step of the evaluation, and keep the probes’ samples.
Expected Int but found Bool
12 samples · 3.5 ms · 1,024 steps
measuring… (needs JavaScript)
Atkinson Hyperlegible#
Settings
Show each step of the evaluation, and keep the probes’ samples.
Expected Int but found Bool
12 samples · 3.5 ms · 1,024 steps
measuring… (needs JavaScript)
Source Sans 3#
Settings
Show each step of the evaluation, and keep the probes’ samples.
Expected Int but found Bool
12 samples · 3.5 ms · 1,024 steps
measuring… (needs JavaScript)
Work Sans#
Settings
Show each step of the evaluation, and keep the probes’ samples.
Expected Int but found Bool
12 samples · 3.5 ms · 1,024 steps
measuring… (needs JavaScript)
17 px is about Hazel’s own interface size (its base size is 13 pt). The code line is the same in every card; the menu, panel, buttons and large letters are in the card’s font.
How each card proves its font. A browser does not say which font file drew a piece of text, so each card measures it. Under each card: what its CSS asks for; whether that font’s two files loaded; and the width of a hidden line of Hazel’s interface words, drawn by the card’s own CSS at 40 px with no kerning or ligatures, against two others: the width the font’s own advance widths predict (from its file, as in the table), and the width your browser’s default sans-serif gives. A card drawn in its font measures within a fraction of a percent of its prediction, and unlike the fallback. The large letters (Rag 1Il Qy G&t) show the same by eye: the tail of the R, the shape of the a and the g, the 1 and l and I, the Q’s tail. To look for yourself: in Firefox, the Inspector’s Fonts panel, beside Layout and Computed, names the fonts used for the selected element and where each came from; in Chrome, the Elements panel’s Computed tab ends with Rendered Fonts. If every card says not its font and measures like the fallback, your browser is not loading web fonts for this page: an extension (uBlock Origin’s switch for blocking remote fonts, for one) or a setting (Firefox’s “Allow pages to choose their own fonts”, under Settings, Fonts, Advanced).
How each measures against Helvetica Neue#
IBM Plex Sans, Roboto and Arimo set Hazel’s interface words within 2% of Helvetica Neue’s width, with x-heights within 2% of its own; Inter sets them 5% wider and looks about 6% larger. Every candidate’s regular and bold, for the Latin alphabet, are 22 to 67 KB together, where Helvetica Neue’s two files were 258 KB. Width decides whether a label still fits where it fit; x-height, the height of small letters, decides how large text looks at the same size.
| Font | Width | x-height | Cap height | Regular and bold, Latin | License | Version | What it is |
|---|---|---|---|---|---|---|---|
| Helvetica Neue (until #2837) | 1.00 | 1.00 | 1.00 | 258 KB, whole font | commercial; no license on record | 10.0d40e1 | Linotype’s |
| IBM Plex Sans | 0.99 | 1.00 | 0.98 | 44 KB | SIL OFL 1.1 | @fontsource/ibm-plex-sans@5.3.0 | IBM's grotesque (Mike Abbink, Bold Monday) |
| Arimo | 0.99 | 1.02 | 0.96 | 22 KB | SIL OFL 1.1 | @fontsource/arimo@5.3.0 | set to Arial's widths (Steve Matteson) |
| Public Sans | 1.04 | 1.00 | 1.01 | 29 KB | SIL OFL 1.1 | @fontsource/public-sans@5.3.0 | the US Web Design System's font, after Libre Franklin |
| Figtree | 1.00 | 0.97 | 0.98 | 22 KB | SIL OFL 1.1 | @fontsource/figtree@5.3.0 | friendly, geometric (Erik Kennedy) |
| Roboto | 0.98 | 1.02 | 1.00 | 43 KB | SIL OFL 1.1 | @fontsource/roboto@5.3.0 | Android's interface font (Christian Robertson, Google) |
| Atkinson Hyperlegible | 0.98 | 0.96 | 0.94 | 34 KB | SIL OFL 1.1 | @fontsource/atkinson-hyperlegible@5.3.0 | for readers with low vision (Braille Institute) |
| Noto Sans | 1.03 | 1.04 | 1.00 | 26 KB | SIL OFL 1.1 | @fontsource/noto-sans@5.3.0 | Google's, for nearly every writing system |
| Geist | 1.05 | 1.02 | 0.99 | 67 KB | SIL OFL 1.1 | @fontsource/geist-sans@5.3.0 | Swiss in style (Vercel) |
| Inter | 1.05 | 1.06 | 1.02 | 47 KB | SIL OFL 1.1 | @fontsource/inter@5.3.0 | designed for screens and interfaces (Rasmus Andersson) |
| Work Sans | 1.10 | 0.97 | 0.92 | 40 KB | SIL OFL 1.1 | @fontsource/work-sans@5.3.0 | wide, for display (Wei Huang) |
| Source Sans 3 | 0.92 | 0.94 | 0.92 | 31 KB | SIL OFL 1.1 | @fontsource/source-sans-3@5.3.1 | Adobe's companion to Source Code Pro, Hazel's code font (Paul D. Hunt) |
Width is the advance widths of a sample of Hazel’s interface words (menu items, panel names, an error message), summed; x-height and cap height are the fonts’ own (OS/2 table); all three against Helvetica Neue’s, so 1.00 is the same. The sizes are Fontsource’s Latin files, enough for Hazel’s English interface; a whole font, with other alphabets, is larger.
Our lean#
Inter: a neutral grotesque in Helvetica’s line, designed for screens and interfaces, and among the most used open fonts for them; its cost is text about 5% wider, so a tight label or button may need a look. Three others, each for a reason the team may weigh more:
- Roboto, for the least change. Neutral, and within 2% of Helvetica Neue in width and x-height: the interface would look much as it does on a Mac today, everywhere.
- Source Sans 3, to match the code font. It is Adobe’s companion to Source Code Pro, by the same designer; it runs small (0.92 wide, 0.94 tall), so Hazel would raise its size about 6%.
- Atkinson Hyperlegible, for legibility. Designed for readers with low vision, its letters harder to confuse (I, l, 1; O, 0); a choice that says something about who Hazel is for.
The choice is the team’s, and the cards are the way to make it: the numbers say what will shift, not what reads well.
What adopting one takes#
Four small changes on top of #2837, in one pull request.
- The font’s two files (regular and bold), in
src/web/www/style/fonts/: Fontsource’s Latin.woff2, or the font’s own release, for more alphabets. - Two
@font-facerules instyle/fonts.css, as Source Code Pro has. - The variable, in
style/variables.css: for Inter,--ui-font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif, so a page that cannot load the file still falls back as it does now. - The licenses, in
licenses/: the SIL Open Font License’s text, for the new font and for Source Code Pro, whose copy Hazel already ships without it.
hazelgrove/hazeljs, whose package now holds Hazel’s editor (hazelgrove/hazeljs#2), takes the same files with its next build.
What next#
- The team chooses a font, with the cards above.
- A pull request adds it, on top of hazelgrove/hazel#2837: the files, the rules, the variable and both licenses.
- hazeljs’s package and the Hazel build on fumola.org follow with their next builds.
How this was put together#
On 2026-11-19. The candidates are the sans-serif fonts on Fontsource that are common choices for interfaces, each under the SIL Open Font License 1.1 as its npm package (@fontsource/<name>) declares, at the versions in the table. 059/drivers/measure059.py fetches each one’s Latin regular and bold .woff2 from jsDelivr and reads them with fontTools: x-height and cap height from the OS/2 table, and the width of a fixed sample of Hazel’s interface words from the advance widths; Helvetica Neue’s numbers come from the file Hazel shipped until #2837, read locally and not kept here. The page loads each candidate from the same addresses. Whether your machine has Helvetica Neue is measured in the page: a line of text in Helvetica Neue and in a fallback, compared by width. The numbers are in 059/data/fonts.json.
The data#
- The numbers, for programs too: every table in this report, and what its numbers measure, is also in this page as JSON, in its
<script type="application/json" id="report-data">element, so a reader or an agent that fetches the page alone has the dataset. The same, with any raw files that survive, is in059/data/.