Skip to content

Add ss11: tabular zero without slash - #147

Open
simon-tradeify wants to merge 1 commit into
github:mainfrom
simon-tradeify:tabular-zero-no-slash
Open

simon-tradeify wants to merge 1 commit into
github:mainfrom
simon-tradeify:tabular-zero-no-slash

Conversation

@simon-tradeify

@simon-tradeify simon-tradeify commented Nov 19, 2026 •

Copy link
Copy Markdown

What

Adds ss11, a tabular zero without a slash.

The problem

Today, turning on tnum always gives a marked zero: slashed by default, or a straight bar with ss08.
This marking is useful in code and IDs, where 0 has to be told apart from O.

However, in trading and financial data UIs (prices, trading interfaces, balances, tables), there's no often no need for it as there's less risk to confuse O with zero.
Marking or slashing 0 adds noise, and it makes tabular figures look different from the same numbers set proportionally. This set lets people use tabular alignment with a plain zero:

.amount { font-variant-numeric: tabular-nums; font-feature-settings: "ss11"; }

Mona Sans Mono already offers the same option as ss10 ("Zero no slash").

How

zero.tf is already built from two components, _zero.tf.base and _zero.tf.slash. The new glyph zero.tf.ss11 is zero.tf with the slash component removed. On all 24 masters it has the same layers, _zero.tf.base reference, alignment flags, widths and metric keys, and it keeps the glyph-level KernOnSpecialSpacing setting. It is built the same way as zero.tf.ss08. Any future change to _zero.tf.base flows through to all three zeros.

Changes:

  • glyphs/zero.tf.ss11.glyph: new glyph. It leaves out the copied background (which contains the slashed outline) and the per-layer manual hints, which point at shape indices of the removed slash.
  • fontinfo.plist:
    • adds zero.tf.ss11 to the @All class, so it gets the opsz-dependent pos @All adjustment exactly like the other figures;
    • adds feature ss11; to aalt;
    • adds a new automatic ss11 feature (sub zero.tf by zero.tf.ss11;) labelled "Tabular zero without slash".
  • order.plist: places the new glyph after zero.tf.ss08.
  • README.md: adds a row to the stylistic sets table. A sample image still needs to be added.

Font binaries are not re-exported in this PR, since the release exports come from Glyphs.app.

Verification

I compiled a test variable font from the source with fontmake/glyphsLib and checked it with HarfBuzz at 2,430 locations (9 wdth × 15 wght × 9 opsz × 2 ital). At every location:

  • tnum gives zero.tf, and tnum + ss11 gives zero.tf.ss11;
  • ss11 alone leaves the proportional zero unchanged;
  • advance width and GPOS positioning are identical to zero.tf, and digit-string spacing is unchanged;
  • the outline of zero.tf.ss11 is exactly the outer and inner contours of zero.tf, without the slash contour.

The test build's zero.tf advances also match the shipped MonaSansVF[wdth,wght,opsz,ital].ttf at all 16 corners of the design space. (The test build needed scratch-only adjustments to the opsz axis map, duplicate brace locations and the Glyphs-specific #ifdef VARIABLE/(opsz:20) feature syntax to compile outside Glyphs.app. None of that is part of this PR.)

Notes for review

  • Numbering: ss11 is the next free set in Mona Sans. In Mona Sans Mono, ss11 is "No serifs" and the slashless zero is ss10. Happy to renumber if you prefer something else.
  • ss08 + ss11 together: if both are on, ss08 wins (lookup order), as you would expect from the automatic feature code. I didn't add a zero.tf.ss08 → zero.tf.ss11 rule, so the feature can stay automatic.
  • Separate issue: while verifying this, I noticed the .tf figures don't share one advance width across parts of the roman design space in the shipped VF. I'll file that separately, since it's independent of this change.

Adds zero.tf.ss11, a tabular zero built from the same _zero.tf.base
component as zero.tf (identical widths, alignment and component setup on
all 24 masters) with the slash component removed. Registered in the glyph
order, the @ALL class (so it receives the opsz tracking in kern), aalt,
and a new labelled ss11 feature (sub zero.tf by zero.tf.ss11).

Mirrors how zero.tf.ss08 is constructed and the existing slashless zero
in Mona Sans Mono (ss10). Font binaries not re-exported.
Copilot AI adaptive review requested due to automatic review settings November 19, 2026 14:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

GSUB ordering, opsz positioning, and component metrics require broader review across the variable design space, since the adjusted fontmake build does not validate their interactions in the native Glyphs.app release exporter.

No open issues 🎉

What changed in this PR

Adds ss11 to Mona Sans for a slashless tabular zero, allowing financial and data interfaces to use plain zeros with tabular alignment. This is a source-only change; font binaries are not re-exported.

Changes:

  • Adds a slashless zero across all 24 masters, reusing _zero.tf.base and preserving existing metrics.
  • Registers ss11 and includes the new glyph in optical-size positioning and glyph ordering.
  • Documents the eleventh stylistic set and its use with tnum.
File Description
sources/​MonaSans.glyphspackage/​order.plist Places the new glyph after zero.tf.ss08.
sources/​MonaSans.glyphspackage/​glyphs/​zero.tf.ss11.glyph Defines the slashless tabular zero across all masters.
sources/​MonaSans.glyphspackage/​fontinfo.plist Adds the substitution, feature label, aalt reference, and @All membership.
README.md Updates the stylistic-set count and documents ss11.

Review effort: Balanced (adaptive)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants