From 1969717527a956483ba1c37aab3fcf7e8560e26a Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Wed, 14 Aug 2024 10:35:58 -0400 Subject: feature: add resize-keep-grid to allow text reflow on font changes --- doc/foot.ini.5.scd | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index da887aee..47c5939e 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -287,6 +287,18 @@ empty string to be set, but it must be quoted: *KEY=""*) Default: _yes_ +*resize-keep-grid* + Boolean. + + When set to *yes*, the window size will be adjusted with changes in font + size to preserve the dimensions of the text grid. When set to *no*, the + window size will remain constant and the text grid will be adjusted as + necessary to fit the window. + + This option only applies to floating windows. + + Default: _yes_ + *initial-window-size-pixels* Initial window width and height in _pixels_ (subject to output scaling), in the form _WIDTHxHEIGHT_. The height _includes_ the -- cgit v1.3