feat(fonts): row 228 — Inter as default font, 4-font bundle incl. Atkinson Hyperlegible

Purged: EB Garamond, Liberation Sans 400/700, Open Sans, Source Serif 4
(rationale in README.md 'Default font'). Kept: Inter (now the default of the
font option, best screen readability at survey sizes, with Noto Sans stacked
behind it as multilingual fallback), Noto Sans, Noto Serif (the one serif,
non-Latin coverage). Added: Atkinson Hyperlegible 400/700 (OFL 1.1, from
googlefonts/atkinson-hyperlegible) as the accessibility variant for
respondents with reading impairments. sass/fonts.sass is the leading source;
css/fonts.css recompiled. README.md + files/fonts/README.md document the
choice and the alternatives. Variant propagation parked per row 222.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Tammo ter Hark 2026-11-30 10:31:07 +01:00
commit a1d58c7c79
15 changed files with 96 additions and 387 deletions

View file

@ -181,23 +181,49 @@ width, the extra padding is removed.
## Bundled open source fonts (self-hosted custom fonts) ## Bundled open source fonts (self-hosted custom fonts)
To show that self-hosted fonts work just as well as browser fonts, the starter theme To show that self-hosted fonts work just as well as browser fonts, the starter theme
bundles seven OFL-licensed fonts (woff2, subsetted to latin + latin-ext) bundles four OFL-licensed fonts (woff2) in `files/fonts/`:
in `files/fonts/`:
- **EB Garamond** (serif, variable 400–800) — https://open-foundry.com/fonts/eb-garamond - **Inter** (sans-serif, variable 100–900) — **the default of the `font` option**, see "Default font" below
- **Inter** (sans-serif, variable) - **Noto Sans** (sans-serif, variable 100–900) — multilingual fallback, stacked directly behind Inter in the `.font-inter` rule
- **Noto Sans** (sans-serif, variable 100–900) — default of the `font` option - **Noto Serif** (serif, variable 100–900) — the one bundled serif; also covers non-Latin scripts
- **Liberation Sans** (sans-serif, static 400 + 700) — https://open-foundry.com/fonts/liberation-sans - **Atkinson Hyperlegible** (sans-serif, static 400 + 700) — https://github.com/googlefonts/atkinson-hyperlegible — the accessibility variant, see below
- **Noto Serif** (serif, variable 100–900)
- **Open Sans** (sans-serif, variable 300–800)
- **Source Serif 4** (serif, variable)
They are wired up like any custom font: `@font-face` + generic `.font-<value>` They are wired up like any custom font: `@font-face` + generic `.font-<value>`
rules in `css/fonts.css` (registered in `config.xml` `<files><css>`), and rules in `css/fonts.css` (compiled from `sass/fonts.sass`; registered in
dropdown entries in the optgroup **"Bundled open source fonts"** of the `font` `config.xml` `<files><css>`), and dropdown entries in the optgroup
option (`data-font-package` stays `websafe`; the real font is loaded by the **"Bundled open source fonts"** of the `font` option (`data-font-package` stays
theme's own css, not by a core package). The selected base font is applied as `websafe`; the real font is loaded by the theme's own css, not by a core
class `font-<value>` on `<body>`. package). The selected base font is applied as class `font-<value>` on `<body>`.
### Default font: why Inter
The default of the `font` option in this mother theme is **Inter**. At survey
sizes (14–20 px body text) Inter has the best screen readability of the bundled
set: a tall x-height, open apertures and generous letterspacing survive
low-resolution screens and projectors, where print-first serifs (thin
hairlines, small x-height) degrade badly. **Noto Sans** is stacked directly
behind Inter in the `.font-inter` font stack, so the huge script coverage of
Noto (non-Latin scripts in multilingual surveys) is still served from the same
self-hosted file — no extra download, no external request. **Noto Serif** is
kept as the single bundled serif for the same reason (non-Latin support), and
for users who genuinely want a serif for body text.
**Accessibility alternative: Atkinson Hyperlegible.** If the target population
has reading impairments (lower vision, dyslexia, older respondent panels), pick
**Atkinson Hyperlegible** as the base font instead: it was designed by the
Braille Institute with evidence-based, highly distinct letterforms (e.g. an
unambiguous "l/1/I") that measurably improve reading without looking "special".
It is bundled and selectable like any other font; it is *not* the default
because Inter reads slightly better for the general population at small sizes.
Purged from the bundle (row 228) on purpose: **EB Garamond** (print-first:
thin hairlines and a small x-height degrade at 16 px on low-quality screens),
**Liberation Sans** 400/700 (metric-compatible Arial substitute; on the web it
is redundant next to Inter/Noto Sans, and for an Arial look the browser's own
Arial needs no download), **Open Sans** (duplicated Inter's role as a neutral
humanist sans at survey sizes — two fonts doing the same job invites
inconsistent template choices), and **Source Serif 4** (superfluous next to
Noto Serif; only one serif is bundled).
### Font dropdown order and defaults ### Font dropdown order and defaults
@ -232,9 +258,10 @@ therefore re-registers it as `options.js?v=<OPTIONS_JS_TOKEN>` — **bump
`OPTIONS_JS_TOKEN` in `options/options.twig` whenever `options/options.js` `OPTIONS_JS_TOKEN` in `options/options.twig` whenever `options/options.js`
changes**, so every browser fetches the new file once. changes**, so every browser fetches the new file once.
Default of the `font` option in this mother theme is **Noto Sans** (a bundled Default of the `font` option in this mother theme is **Inter** (a bundled
font, so the showcase looks identical on every installation — never a core font, so the showcase looks identical on every installation — never a core
package font, which varies per server). `variants/build.php` automatically package font, which varies per server; see "Default font: why Inter" above).
`variants/build.php` automatically
sets the default of a variant to its first `fontOptions` entry (the client's sets the default of a variant to its first `fontOptions` entry (the client's
own font) when the variant json does not set `options.font` explicitly. own font) when the variant json does not set `options.font` explicitly.

View file

@ -127,17 +127,19 @@
+ the "Bundled open source fonts" optgroup below). --> + the "Bundled open source fonts" optgroup below). -->
<!-- Default font and colors (row 159/174: category equals the options.twig tab label) --> <!-- Default font and colors (row 159/174: category equals the options.twig tab label) -->
<!-- When adding new items, please keep fonts ordered alphabetically --> <!-- When adding new items, please keep fonts ordered alphabetically -->
<font type="dropdown" category="Default font and colors" width="4" title="Default font (body text)">noto_sans <!-- row 228: default font is now Inter (best screen readability of the bundled set);
Noto Sans stays as the multilingual fallback stacked behind Inter in css/fonts.css;
Atkinson Hyperlegible is the bundled accessibility variant (reading impairments).
Purged from the bundle: EB Garamond, Liberation Sans, Open Sans, Source Serif 4 —
see README.md "Default font" for the rationale. -->
<font type="dropdown" category="Default font and colors" width="4" title="Default font (body text)">inter
<dropdownoptions> <dropdownoptions>
<!-- Open source fonts bundled with this theme itself: font files in files/fonts/, @font-face + generic .font-<value> rules in css/fonts.css. See files/fonts/README.md (English) for how to add your own font here. --> <!-- Open source fonts bundled with this theme itself: font files in files/fonts/, @font-face + generic .font-<value> rules in css/fonts.css. See files/fonts/README.md (English) for how to add your own font here. -->
<optgroup label="Bundled open source fonts"> <optgroup label="Bundled open source fonts">
<option class="font-eb_garamond " value="eb_garamond" data-font-package="websafe">EB Garamond (serif)</option> <option class="font-atkinson_hyperlegible" value="atkinson_hyperlegible" data-font-package="websafe">Atkinson Hyperlegible (sans-serif, accessibility)</option>
<option class="font-inter " value="inter" data-font-package="websafe">Inter (sans-serif)</option> <option class="font-inter " value="inter" data-font-package="websafe">Inter (sans-serif)</option>
<option class="font-liberation_sans " value="liberation_sans" data-font-package="websafe">Liberation Sans (sans-serif)</option> <option class="font-noto_sans " value="noto_sans" data-font-package="websafe">Noto Sans (sans-serif, multilingual fallback)</option>
<option class="font-noto_sans " value="noto_sans" data-font-package="websafe">Noto Sans (sans-serif)</option>
<option class="font-noto_serif " value="noto_serif" data-font-package="websafe">Noto Serif (serif)</option> <option class="font-noto_serif " value="noto_serif" data-font-package="websafe">Noto Serif (serif)</option>
<option class="font-open_sans " value="open_sans" data-font-package="websafe">Open Sans (sans-serif)</option>
<option class="font-source_serif_4 " value="source_serif_4" data-font-package="websafe">Source Serif 4 (serif)</option>
</optgroup> </optgroup>
<!-- Custom fonts of a variant are appended to the optgroup below by variants/build.php ("fontOptions" in the variant json) --> <!-- Custom fonts of a variant are appended to the optgroup below by variants/build.php ("fontOptions" in the variant json) -->
<optgroup label="Custom (this theme)"> <optgroup label="Custom (this theme)">

View file

@ -4,7 +4,9 @@
/* Each font is selectable in the theme options (Fonts category, optgroup "Bundled open source fonts" in config.xml). The class rules are GENERIC (.font-<value>, not body-scoped) on purpose: */ /* Each font is selectable in the theme options (Fonts category, optgroup "Bundled open source fonts" in config.xml). The class rules are GENERIC (.font-<value>, not body-scoped) on purpose: */
/* the base font is applied as font-<value> on <body>, and per-element font overrides (fontselect options) apply the same class on individual elements. */ /* the base font is applied as font-<value> on <body>, and per-element font overrides (fontselect options) apply the same class on individual elements. */
/* To add your own font to this theme: see files/fonts/README.md. Licenses: SIL Open Font License 1.1 — see files/fonts/OFL-*.txt. */ /* To add your own font to this theme: see files/fonts/README.md. Licenses: SIL Open Font License 1.1 — see files/fonts/OFL-*.txt. */
/* Inter — sans-serif — https://github.com/rsms/inter — OFL 1.1 */ /* Row 228 font set: Inter (default, primary), Noto Sans (multilingual fallback, stacked behind Inter), Noto Serif (the one serif), Atkinson Hyperlegible (accessibility variant). */
/* Purged row 228: EB Garamond, Liberation Sans 400/700, Open Sans, Source Serif 4 — see README.md "Default font" for the rationale. */
/* Inter — sans-serif — https://github.com/rsms/inter — OFL 1.1 — DEFAULT font (row 228) */
@font-face { @font-face {
font-family: "Inter"; font-family: "Inter";
src: url("../files/fonts/inter-var.woff2") format("woff2"); src: url("../files/fonts/inter-var.woff2") format("woff2");
@ -13,41 +15,7 @@
font-style: normal; font-style: normal;
font-display: swap; font-display: swap;
} }
/* Source Serif 4 — serif — https://github.com/adobe-fonts/source-serif — OFL 1.1 */ /* Noto Sans — sans-serif — https://github.com/notofonts/latin-greek-cyrillic — OFL 1.1 — multilingual fallback, stacked behind Inter */
@font-face {
font-family: "Source Serif 4";
src: url("../files/fonts/source-serif-4-var.woff2") format("woff2");
/* variable font: wght axis 200-900 */
font-weight: 200 900;
font-style: normal;
font-display: swap;
}
/* EB Garamond — serif — https://open-foundry.com/fonts/eb-garamond — OFL 1.1 */
@font-face {
font-family: "EB Garamond";
src: url("../files/fonts/eb-garamond-var.woff2") format("woff2");
/* variable font: wght axis 400-800 */
font-weight: 400 800;
font-style: normal;
font-display: swap;
}
/* Liberation Sans — sans-serif — https://open-foundry.com/fonts/liberation-sans — OFL 1.1
* (static weights: 400 and 700 are shipped as separate files) */
@font-face {
font-family: "Liberation Sans";
src: url("../files/fonts/liberation-sans-400.woff2") format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Liberation Sans";
src: url("../files/fonts/liberation-sans-700.woff2") format("woff2");
font-weight: 700;
font-style: normal;
font-display: swap;
}
/* Noto Sans — sans-serif — source: Google Fonts family "Noto Sans" — OFL 1.1 */
@font-face { @font-face {
font-family: "Noto Sans"; font-family: "Noto Sans";
src: url("../files/fonts/noto-sans-var.woff2") format("woff2"); src: url("../files/fonts/noto-sans-var.woff2") format("woff2");
@ -56,7 +24,7 @@
font-style: normal; font-style: normal;
font-display: swap; font-display: swap;
} }
/* Noto Serif — serif — source: Google Fonts family "Noto Serif" — OFL 1.1 */ /* Noto Serif — serif — https://github.com/notofonts/latin-greek-cyrillic — OFL 1.1 — the one bundled serif (row 228: covers non-Latin scripts too) */
@font-face { @font-face {
font-family: "Noto Serif"; font-family: "Noto Serif";
src: url("../files/fonts/noto-serif-var.woff2") format("woff2"); src: url("../files/fonts/noto-serif-var.woff2") format("woff2");
@ -65,29 +33,25 @@
font-style: normal; font-style: normal;
font-display: swap; font-display: swap;
} }
/* Open Sans — sans-serif — source: Google Fonts family "Open Sans" — OFL 1.1 */ /* Atkinson Hyperlegible — sans-serif — https://github.com/googlefonts/atkinson-hyperlegible — OFL 1.1 — accessibility variant (row 228) */
/* static weights 400 and 700 shipped as separate files, like Liberation Sans was */
@font-face { @font-face {
font-family: "Open Sans"; font-family: "Atkinson Hyperlegible";
src: url("../files/fonts/open-sans-var.woff2") format("woff2"); src: url("../files/fonts/atkinson-hyperlegible-400.woff2") format("woff2");
/* variable font: wght axis 300-800 (wdth stays at default 100) */ font-weight: 400;
font-weight: 300 800;
font-style: normal; font-style: normal;
font-display: swap; font-display: swap;
} }
@font-face {
font-family: "Atkinson Hyperlegible";
src: url("../files/fonts/atkinson-hyperlegible-700.woff2") format("woff2");
font-weight: 700;
font-style: normal;
font-display: swap;
}
/* Inter is the default: Noto Sans is stacked directly behind it, so glyphs Inter lacks (non-Latin scripts) fall through to Noto Sans without a download of another family */
.font-inter { .font-inter {
font-family: "Inter", Arial, Helvetica, sans-serif; font-family: "Inter", "Noto Sans", Arial, Helvetica, sans-serif;
}
.font-source_serif_4 {
font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
}
.font-eb_garamond {
font-family: "EB Garamond", Georgia, "Times New Roman", serif;
}
.font-liberation_sans {
font-family: "Liberation Sans", Arial, Helvetica, sans-serif;
} }
.font-noto_sans { .font-noto_sans {
@ -98,8 +62,9 @@
font-family: "Noto Serif", Georgia, "Times New Roman", serif; font-family: "Noto Serif", Georgia, "Times New Roman", serif;
} }
.font-open_sans { /* accessibility variant: distinct letterforms for respondents with lower vision or reading difficulties */
font-family: "Open Sans", Arial, Helvetica, sans-serif; .font-atkinson_hyperlegible {
font-family: "Atkinson Hyperlegible", "Inter", "Noto Sans", Arial, Helvetica, sans-serif;
} }
/*# sourceMappingURL=fonts.css.map */ /*# sourceMappingURL=fonts.css.map */

View file

@ -1,9 +1,8 @@
Copyright 2014 The Source Serif 4 Project Authors (https://github.com/adobe-fonts/source-serif) Copyright 2020 Braille Institute of America, Inc.
This Font Software is licensed under the SIL Open Font License, Version 1.1. This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org http://scripts.sil.org/OFL
----------------------------------------------------------- -----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007

View file

@ -1,102 +0,0 @@
Digitized data copyright (c) 2010 Google Corporation
with Reserved Font Arimo, Tinos and Cousine.
Copyright (c) 2012 Red Hat, Inc.
with Reserved Font Name Liberation.
This Font Software is licensed under the SIL Open Font License,
Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
PREAMBLE The goals of the Open Font License (OFL) are to stimulate
worldwide development of collaborative font projects, to support the font
creation efforts of academic and linguistic communities, and to provide
a free and open framework in which fonts may be shared and improved in
partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves.
The fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply to
any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such.
This may include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components
as distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting ? in part or in whole ?
any of the components of the Original Version, by changing formats or
by porting the Font Software to a new environment.
"Author" refers to any designer, engineer, programmer, technical writer
or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining a
copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,in
Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the
corresponding Copyright Holder. This restriction only applies to the
primary font name as presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole, must
be distributed entirely under this license, and must not be distributed
under any other license. The requirement for fonts to remain under
this license does not apply to any document created using the Font
Software.
TERMINATION
This license becomes null and void if any of the above conditions are not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER
DEALINGS IN THE FONT SOFTWARE.

View file

@ -1,92 +0,0 @@
Copyright 2020 The Open Sans Project Authors (https://github.com/googlefonts/opensans)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font
creation efforts of academic and linguistic communities, and to
provide a free and open framework in which fonts may be shared and
improved in partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply to
any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software
components as distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to,
deleting, or substituting -- in part or in whole -- any of the
components of the Original Version, by changing formats or by porting
the Font Software to a new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed,
modify, redistribute, and sell modified and unmodified copies of the
Font Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components, in
Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the
corresponding Copyright Holder. This restriction only applies to the
primary font name as presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created using
the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View file

@ -1,23 +1,26 @@
# Fonts bundled with this theme # Fonts bundled with this theme
This theme ships seven open source fonts so users can see that self-hosted This theme ships four open source fonts so users can see that self-hosted
(custom) fonts work just as well as the browser/system fonts: (custom) fonts work just as well as the browser/system fonts (row 228 set):
| Font | Style | File(s) | License | | Font | Style | File(s) | License | Role |
|---|---|---|---| |---|---|---|---|---|
| EB Garamond | serif | `eb-garamond-var.woff2` | OFL 1.1 (`OFL-eb-garamond.txt`) | | Atkinson Hyperlegible | sans-serif | `atkinson-hyperlegible-400.woff2`, `atkinson-hyperlegible-700.woff2` | OFL 1.1 (`OFL-atkinson-hyperlegible.txt`) | accessibility variant (reading impairments) |
| Inter | sans-serif | `inter-var.woff2` | OFL 1.1 (`OFL-inter.txt`) | | Inter | sans-serif | `inter-var.woff2` | OFL 1.1 (`OFL-inter.txt`) | **default font** — best screen readability of the set |
| Liberation Sans | sans-serif | `liberation-sans-400.woff2`, `liberation-sans-700.woff2` | OFL 1.1 (`OFL-liberation-sans.txt`) | | Noto Sans | sans-serif | `noto-sans-var.woff2` | OFL 1.1 (`OFL-noto-sans.txt`) | multilingual fallback, stacked behind Inter in `css/fonts.css` |
| Noto Sans | sans-serif | `noto-sans-var.woff2` | OFL 1.1 (`OFL-noto-sans.txt`) | | Noto Serif | serif | `noto-serif-var.woff2` | OFL 1.1 (`OFL-noto-serif.txt`) | the one bundled serif (covers non-Latin scripts) |
| Noto Serif | serif | `noto-serif-var.woff2` | OFL 1.1 (`OFL-noto-serif.txt`) |
| Open Sans | sans-serif | `open-sans-var.woff2` | OFL 1.1 (`OFL-open-sans.txt`) |
| Source Serif 4 | serif | `source-serif-4-var.woff2` | OFL 1.1 (`OFL-source-serif-4.txt`) |
All except Liberation Sans are variable fonts (weight axis declared in the Inter, Noto Sans and Noto Serif are variable fonts (weight axis declared in
`@font-face` rule in `css/fonts.css`; Noto Sans/Serif and Open Sans also carry the `@font-face` rule in `css/fonts.css`; Noto Sans/Serif also carry a width
a width axis, left at its default); Liberation Sans is static, so its 400 and axis, left at its default); Atkinson Hyperlegible is static, so its 400 and
700 weights are shipped as separate files. All are subsetted to latin + 700 weights are shipped as separate files (like Liberation Sans was). All are
latin-ext and served locally by the theme — no external requests. served locally by the theme — no external requests.
Purged in row 228 (kept out of the bundle on purpose): EB Garamond (print-first
hairlines degrade at 16px on low-quality screens), Liberation Sans 400/700
(redundant next to Inter/Noto Sans; the browser's own Arial is the Arial
fallback), Open Sans (duplicated Inter's role), Source Serif 4 (superfluous
next to Noto Serif). See the theme README.md "Default font" for the rationale.
# How to add your own font (walkthrough) # How to add your own font (walkthrough)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.