diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2016-11-24 20:21:19 +0100 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2016-11-24 20:21:19 +0100 |
commit | e44832408bb3147826c346872b49de105a4d0e0b (patch) | |
tree | c86196c59245508cd97bf830183cbfd8f75e7d70 /st.c | |
parent | fa9a4599720703932d1c4f16b9aeee1f91f96263 (diff) | |
download | st-e44832408bb3147826c346872b49de105a4d0e0b.tar.gz st-e44832408bb3147826c346872b49de105a4d0e0b.zip |
Revert "Initial font size issue."
This reverts commit 424202798b02554092ba84dd59fb7b79b59b7b75.
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -3488,9 +3488,6 @@ xloadfonts(char *fontstr, double fontsize) | |||
3488 | if (usedfontsize < 0) { | 3488 | if (usedfontsize < 0) { |
3489 | FcPatternGetDouble(dc.font.match->pattern, | 3489 | FcPatternGetDouble(dc.font.match->pattern, |
3490 | FC_PIXEL_SIZE, 0, &fontval); | 3490 | FC_PIXEL_SIZE, 0, &fontval); |
3491 | FcPatternAddDouble(pattern, FC_PIXEL_SIZE, fontval); | ||
3492 | if (xloadfont(&dc.font, pattern)) | ||
3493 | die("st: can't open font %s\n", fontstr); | ||
3494 | usedfontsize = fontval; | 3491 | usedfontsize = fontval; |
3495 | if (fontsize == 0) | 3492 | if (fontsize == 0) |
3496 | defaultfontsize = fontval; | 3493 | defaultfontsize = fontval; |