[hackers] [st] Revert "Initial font size issue." || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Thu, 24 Nov 2016 20:22:08 +0100 (CET)

commit e44832408bb3147826c346872b49de105a4d0e0b
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Thu Nov 24 20:21:19 2016 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Thu Nov 24 20:21:19 2016 +0100

    Revert "Initial font size issue."
    
    This reverts commit 424202798b02554092ba84dd59fb7b79b59b7b75.

diff --git a/st.c b/st.c
index 031272f..d6fe58a 100644
--- a/st.c
+++ b/st.c
_AT_@ -3488,9 +3488,6 @@ xloadfonts(char *fontstr, double fontsize)
         if (usedfontsize < 0) {
                 FcPatternGetDouble(dc.font.match->pattern,
                                    FC_PIXEL_SIZE, 0, &fontval);
- FcPatternAddDouble(pattern, FC_PIXEL_SIZE, fontval);
- if (xloadfont(&dc.font, pattern))
- die("st: can't open font %s\n", fontstr);
                 usedfontsize = fontval;
                 if (fontsize == 0)
                         defaultfontsize = fontval;
Received on Thu Nov 24 2016 - 20:22:08 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 24 2016 - 20:24:19 CET