diff options
author | Eric Pruitt <eric.pruitt@gmail.com> | 2014-01-19 10:48:35 -0600 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-01-21 19:20:17 +0100 |
commit | 95591001306dc5c6b57f46155bd3e2b919114ea6 (patch) | |
tree | 7c2c11febf9e629a6d6750b140a0b0e80a67b60d | |
parent | c0a56ef4be2a0f84360f41b2d45964e7ef297746 (diff) | |
download | st-95591001306dc5c6b57f46155bd3e2b919114ea6.tar.gz st-95591001306dc5c6b57f46155bd3e2b919114ea6.tar.bz2 |
Use character scaling in XCopyArea
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |