mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-21 23:05:59 +01:00
parent
fa9a459972
commit
e44832408b
1 changed files with 0 additions and 3 deletions
3
st.c
3
st.c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue