From 7d2ade5ed706c67f30f54462684bced6a0978413 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 18 Aug 2026 23:40:51 -0300 Subject: gui: rendering rework, web css, config doc trim --- docs/config.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/config.md b/docs/config.md index 14854ccf..4f04d032 100644 --- a/docs/config.md +++ b/docs/config.md @@ -136,12 +136,14 @@ Taglines use a distinct face size in both native GUI renderers. Execute `TaglineSize ` to change it live, for example `TaglineSize 70`; the accepted range is 1 through 100 and the default comes from `gui_tagline_font_percent` in `src/config.zig` (82). The native renderer -remeasures both the glyph and its visible tag band while retaining the body's -cell grid. The 100% ceiling is deliberate: a tagline remains exactly one -logical grid row, so a larger face or band would overlap its pane body or a -neighbour instead of leaving the body grid stable. `Config` reports the active -percentage. The browser applies the same compiled percentage to its DOM glyphs -but has no runtime setter. +remeasures both the glyph and its visible tag band while retaining body-grid +pane geometry. The SDL GUI uses the smaller face's measured monospace advance +as a real per-pane tagline grid, including pointer hit testing; it does not pad +each smaller glyph back out to a body-width cell. The 100% ceiling is +deliberate: a tagline remains exactly one logical grid row, so a larger face or +band would overlap its pane body or a neighbour instead of leaving the body +grid stable. `Config` reports the active percentage. The browser applies the +same compiled percentage to its DOM glyphs but has no runtime setter. The SDL GUI joins the reduced-height global and pane tagline bands with `gui_topbar_pane_border_px` physical pixels. Set it to zero for a direct join. -- cgit v1.3