From 2b19f350f4ea8d3cfe0b73c6450823c6b5563fae Mon Sep 17 00:00:00 2001 From: Tammo ter Hark Date: Mon, 30 Nov 2026 10:32:05 +0100 Subject: [PATCH] =?UTF-8?q?docs(readme):=20row=20229=20=E2=80=94=20documen?= =?UTF-8?q?t=20font=20variant=20availability=20(real=20weights=20vs=20synt?= =?UTF-8?q?hesized=20italic)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bundled fonts declare font-style: normal only: Inter/Noto variable fonts give real weights 100-900 but faux italic; Atkinson Hyperlegible ships static 400/700 only. Per-element normal|bold|italic|bolditalic options therefore map to real weights where shipped and browser-synthesized styles otherwise; browser fonts depend on the respondent's OS. Documented under the fonts section. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 2c9cf39..1fa2716 100644 --- a/README.md +++ b/README.md @@ -225,6 +225,28 @@ 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 variants (weights and styles) — what is real and what is synthesized + +The per-element font options offer `normal | bold | italic | bolditalic`. What +you actually get depends on the faces the font ships: + +- **Inter, Noto Sans, Noto Serif** (variable fonts): every `font-weight` in the + declared range (100–900) is a **real** weight from the variable axis. Only + `font-style: normal` faces are declared, so **italic and bold-italic are + synthesized by the browser** (faux italic / faux bold on top of the real + weight) — there are no true italic faces in the bundle. +- **Atkinson Hyperlegible** (static): only the **400 and 700** faces are + shipped. Weights 400/700 are real; any other weight is synthesized by the + browser. Like the variable fonts, no italic faces: italic/bold-italic are + faux. +- **Browser fonts (websafe) and core server packages**: variants depend on what + the respondent's OS / the LimeSurvey server actually has installed (e.g. + Arial has real bold/italic on most systems); the theme cannot control that. + +Rule of thumb for template choices: use `bold` freely (real or safely +synthesized everywhere), and treat `italic` on the bundled fonts as a +synthesized slant — fine for emphasis, not a true italic design. + ### Font dropdown order and defaults The optgroups of every font dropdown (base `font` + all per-element `fontselect`