From 20a8fd6acf92e3019773ef8e560ead5818eb62d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 26 Nov 2019 18:57:18 +0100 Subject: [PATCH] font: use DPI=75 if there's no DPI attribute from fontconfig This is the fontconfig default as well --- font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/font.c b/font.c index 74fd00ef..3b4c156b 100644 --- a/font.c +++ b/font.c @@ -116,7 +116,7 @@ from_font_set(FcPattern *pattern, FcFontSet *fonts, int start_idx, double dpi; if (FcPatternGetDouble(final_pattern, FC_DPI, 0, &dpi) != FcResultMatch) - dpi = 96; + dpi = 75; double size; if (FcPatternGetDouble(final_pattern, FC_PIXEL_SIZE, 0, &size)) {