The fonts

OpenType features

Ligatures, figures, fractions, alternates: what each feature does and how to turn it on.

Openbase Sans and Openbase Drawn share these features. Openbase Mono has none on purpose: one shape per character.

TagFeatureWhat it doesDefault
caltContextual alternatesCycles three drawings of every letter (Openbase Drawn).On
caseCase-sensitive formsRaises the colon and bullet to sit with capitals.Off
ccmpGlyph compositionBuilds accented letters from base + mark.On
dnomDenominatorsLowered figures for building fractions.Off
fracFractionsBuilds diagonal fractions from figures and a slash.Off
ligaLigaturesJoins ff, fi, fl, ffi, ffl, rt and rf. On by default.On
loclLocalized formsLanguage-specific shapes, picked from the lang attribute.On
numrNumeratorsRaised figures for building fractions.Off
ordnOrdinalsTurns a or o after a figure into an ordinal indicator, as in 1ª.Off
pnumProportional figuresDigits with their natural widths, for text.Off
supsSuperscriptsRaised, smaller figures.Off
tnumTabular figuresEvery digit the same width, for tables and prices.Off
zeroDistinct zeroAn alternate zero that never reads as O.Off

In CSS

.price  { font-variant-numeric: tabular-nums; }       /* tnum */
.recipe { font-variant-numeric: diagonal-fractions; } /* frac */
.code   { font-feature-settings: "zero" 1; }
.label  { font-feature-settings: "case" 1; }

Prefer the font-variant-* properties where they exist; use font-feature-settings for the rest.

In Flutter

OpenbaseFonts.sans(fontSize: 14).copyWith(
  fontFeatures: const [FontFeature.tabularFigures(), FontFeature('zero')],
);
NextIntroduction