Skip to content

Glyph customizations

Automata Mono applies self-contained glyph customizations to upstream Roboto Mono. Each customization derives its geometry from the upstream outlines and per-style metrics (Style) rather than hard-coded coordinates, so a single rule covers all five weights and their matching italics (slanted to Roboto Mono Italic's 10-degree angle).

ij; a@ą, b y ỵ у ij tfťţ g [0] %/ rřŗ $¢ CGĢ 6 OQ 0Ø 1lI 69 .:!¡?¿ ceę
ij; a@ą, b y ỵ у ij tfťţ g [0] %/ rřŗ $¢ CGĢ 6 OQ 0Ø 1lI 69 .:!¡?¿ ceę

Summary of changes

Glyph Roboto Mono Automata Mono Spec
a Stem bends right into a small spur at the baseline Stem runs straight down to a flat foot, as in JetBrains Mono, DM Mono, and Source Code Pro straight-a
e Stroke stops while it still leans, cut square to the stroke, unlike the flat cuts of c and s Stroke turns upright into a flat cut as wide as c's, a little lower, as in JetBrains Mono, Geist Mono, and DM Mono flat-e
f g j t Hooks curl on past the ascender, baseline, or descender into a cut square to the stroke Hooks run flat along the line into an upright cut, as in JetBrains Mono, Geist Mono, and DM Mono flat-hooks
i j Small dots; gap shrinks from 0.116 em (Thin) to 0.063 em (Bold) Dots 15% larger, 0.11 em above the stem in every weight, slightly left of center tittles
r Bare stem; arm curves down into a sheared cut, short of f's hook Flag at the x-height and foot bar on the baseline, drawn like Roboto's own i, and an arm that runs flat into an upright cut, reaching as far as f's hook, as in IBM Plex Mono, DM Mono, and Geist Mono slab-r
t Stem rises 70% of the way from x-height to cap height (78% in Thin) Stem rises 86% of the way in every weight, as in JetBrains Mono taller-t
y Hooked tail Straight tail cut flat at the descender, as in JetBrains Mono and DM Mono straight-y
G Bowl sweeps into a stem that stops above the baseline, as in Source Code Pro Stem runs straight down to a flat foot, with a spur where the bowl joins it like d's, as in IBM Plex Mono, DM Mono, and Geist Mono spur-g
Q Tail leans 40 to 46 degrees, its end cut square to the stroke Straight tail at 50 degrees, cut flat under the right edge of the bowl, as in JetBrains Mono and DM Mono flat-tail-q
0 Slashed, like Ø Round dot in the middle of the counter, as in JetBrains Mono, IBM Plex Mono, and Source Code Pro dotted-zero
1 Flag and a bare stem l's foot bar on the baseline, under Roboto's flag, as in JetBrains Mono and IBM Plex Mono footed-one
6 9 Curved stroke ending in an upright cut Straight stroke tangent to the counter, cut flat at the figure height and on the baseline, as in JetBrains Mono open-six-nine
. : ; Small dots for their stems Dots 15% larger, as wide as JetBrains Mono's and Google Sans Code's in Regular larger-dots
! ? ¡ ¿ Dots 0.79 to 0.84 as wide as the period (0.97 in Thin) Dots 0.9 as wide as the larger period, as in JetBrains Mono and Source Code Pro, at Roboto's gap from the stroke larger-dots
, ; Flat head with a curved hook Straight tapered tail in the style of JetBrains Mono, its head grown with the period straight-comma
[ ] Arms extend 0.18 of the cell past the stem in Regular, shrinking to 0.14 in Bold Arms extend 0.30 of the cell in every weight longer-brackets
% Short slash across the middle of the glyph, ends cut square to the stroke Slash runs from the baseline to the cap height across the rings, cut flat like /, as in JetBrains Mono full-percent-slash
$ ¢ Bar ends stick out above and below the outline Bar runs through the glyph from top to bottom, as in JetBrains Mono, IBM Plex Mono, and DM Mono full-currency-bars
@ Single-story a of its own, slanted even in upright styles, its tail curling out into a ring that sits on the baseline Upright bowl on a straight stem at the weight of m's stems, arching over into a ring drawn from O that hangs below the baseline, centered on the lowercase, as in JetBrains Mono, DM Mono, and Google Sans Code upright-at

Application order

Customizations are registered in CUSTOMIZATIONS in scripts/customizations/__init__.py. Order matters where one rule reads an upstream glyph another rule modifies:

  • dotted-zero runs before larger-dots so 0 scales upstream Roboto Mono's period rather than the enlarged period.
  • straight-comma runs before larger-dots and queries LargerDots.period() directly to grow the comma head in lockstep with the period before the period itself is replaced.
  • taller-t runs before flat-hooks; the two touch opposite ends of t and compose cleanly.
  • slab-r runs before flat-hooks, and flat-hooks keeps f's horizontal reach unchanged so r's arm still ends level with f's hook. slab-r runs the arm flat with FlatHooks.flatten(), the rule flat-hooks applies to the hooks.

To add a new customization, see Adding a glyph customization.