docs(readme): row 229 — document font variant availability (real weights vs synthesized italic)

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 <vibe@mistral.ai>
This commit is contained in:
Tammo ter Hark 2026-11-30 10:32:05 +01:00
commit 2b19f350f4

View file

@ -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 inconsistent template choices), and **Source Serif 4** (superfluous next to
Noto Serif; only one serif is bundled). 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 ### Font dropdown order and defaults
The optgroups of every font dropdown (base `font` + all per-element `fontselect` The optgroups of every font dropdown (base `font` + all per-element `fontselect`