From 8e7658a135ae05c790094f2b1b681c7f64f05cf0 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 17 Nov 2020 17:59:31 +0100 Subject: config: add ‘dpi-aware’ option, defaulting to enabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'config.h') diff --git a/config.h b/config.h index a173015f..2c57850c 100644 --- a/config.h +++ b/config.h @@ -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 { -- cgit v1.3