X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=st.c;h=21afb529803a0a1402aaf43775c4589d74f6e5c7;hb=9523233e257f72d07abdf3b07e5fd9ce0c7f31d0;hp=48c81a26e04bc6b167515c3793667a76ba210bdc;hpb=c0a56ef4be2a0f84360f41b2d45964e7ef297746;p=st.git diff --git a/st.c b/st.c index 48c81a2..21afb52 100644 --- a/st.c +++ b/st.c @@ -3302,7 +3302,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) { width, 1); } XCopyArea(xw.dpy, xw.buf, xw.win, dc.gc, winx, winy, width, - font->ascent + font->descent, winx, winy); + CEIL((font->ascent + font->descent) * chscale), winx, winy); /* Reset clip to none. */ XftDrawSetClip(xw.draw, 0);