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 /config.h | |
| 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 'config.h')
| -rw-r--r-- | config.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -84,6 +84,7 @@ struct config { enum { STARTUP_WINDOWED, STARTUP_MAXIMIZED, STARTUP_FULLSCREEN } startup_mode; + bool dpi_aware; config_font_list_t fonts[4]; struct { |
