diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-11-17 16:59:31 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-11-19 18:25:48 +0000 |
| commit | 8e7658a135ae05c790094f2b1b681c7f64f05cf0 (patch) | |
| tree | 14e77ad8d59454937085cc3a60619b3a3ef03aa3 /doc | |
| parent | Merge branch 'require-space-to-overflow-double-width-glyph' (diff) | |
config: add ‘dpi-aware’ option, defaulting to enabled
When disabled, foot no longers uses outputs’ DPI to scale the
font. Instead, it uses the outputs’ scaling factor.
That is, instead of appending “:dpi=123” to the fontconfig string,
modify the “:pixelsize” or “:size” attribute.
Closes #206
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/foot.ini.5.scd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index cfa5b667..98a4ce54 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -45,6 +45,21 @@ in this order: Default: _monospace_ (*font*), _not set_ (*font-bold*, *font-italic*, *font-bold-italic*). +*dpi-aware* + Boolean. When enabled, fonts are sized using the monitor's DPI, + making a font of a given size have the same physical size, + regardless of monitor. In other words, if you drag a foot window + between different monitors, the font size remains the same. + + In this mode, the monitor's scale factor is ignored; doubling the + scale factor will *not* double the font size. + + When disabled, the monitor's DPI is ignored. The font is instead + sized using the monitor's scale factor; doubling the scale factor + *does* double the font size. + + Default: _yes_ + *pad* Padding between border and glyphs, in pixels (subject to output scaling), on the form _XxY_. Default: _2x2_. |
