Tufte Suite 1.1.0
The Typefaces console. The Suite now carries the settings for the Tufte theme's new typeface knobs — a Typefaces (Tufte theme) section split into Latin / Chinese in-page tabs.
- Latin: serif and sans faces — Monotype-leaning recommendations (Bembo, Plantin, Perpetua, Baskerville; Gill Sans, Optima, the theme-bundled Cabin) — each with all nine weights. Bold always keeps a +200 step over the body weight.
- Chinese: 宋体/黑体 companions with Source Han Serif 思源宋体 / Source Han Sans 思源黑体 presets plus LXGW WenKai 霞鹜文楷, and fixed Chinese weights — synthesized
@font-faceremap families over named local cuts, so Chinese text can hold a weight independent of the Latin around it (楷体 stays fixed by design: it marks italic contexts). - "Other…" pickers list your installed fonts — the same list as Settings → Appearance → Font, read through Obsidian's own
get-fontsmodule withqueryLocalFontsand a typed-name fallback. The Chinese pickers filter that list through an embedded 636-byte blank-font glyph probe, so only fonts that can actually set Chinese appear (Japanese/Korean-only fonts are correctly excluded). - Choices apply live, persist in the Suite's
data.jsonunder a reserved__typefaceskey, and the theme's defaults return the moment the Suite is disabled. Every knob's default row hands control back to the theme. - New test group
t10-typefaces; the jsdom equivalence harness is now 10 groups.
Modules unchanged: backlinks 1.0.1, figures 1.7.3, inline 1.2.1, sidenotes 1.7.0 — embedded verbatim as always.
Pairing: the Typefaces section requires theme Tufte 1.17.0 (which declares the knobs); under any other theme it is inert. Install by placing main.js, manifest.json, and styles.css in .obsidian/plugins/tufte-suite/.