Commit 9559100

Eric Pruitt <eric.pruitt@gmail.com>
2014-01-19 11:48:35
Use character scaling in XCopyArea
1 parent c0a56ef
Changed files (1)
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);