st

my customized branch of st - synced with upstream git://git.suckless.org/st
git clone git://git.jakekoroman.com/st
Log | Files | Refs | README | LICENSE

commit 95591001306dc5c6b57f46155bd3e2b919114ea6
parent c0a56ef4be2a0f84360f41b2d45964e7ef297746
Author: Eric Pruitt <eric.pruitt@gmail.com>
Date:   Sun, 19 Jan 2014 10:48:35 -0600

Use character scaling in XCopyArea

Diffstat:
Mst.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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);