diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-11-26 17:57:18 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-11-26 18:02:36 +0000 |
| commit | 20a8fd6acf92e3019773ef8e560ead5818eb62d4 (patch) | |
| tree | 3581f23b3d484f1576c7068f5a8d089a1a58f112 | |
| parent | font: underline/strikeout: use y-scale, not x-scale (diff) | |
font: use DPI=75 if there's no DPI attribute from fontconfig
This is the fontconfig default as well
| -rw-r--r-- | font.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) { |
