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.zip | |
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) { | |||
| 3302 | width, 1); | 3302 | width, 1); |
| 3303 | } | 3303 | } |
| 3304 | XCopyArea(xw.dpy, xw.buf, xw.win, dc.gc, winx, winy, width, | 3304 | XCopyArea(xw.dpy, xw.buf, xw.win, dc.gc, winx, winy, width, |
| 3305 | font->ascent + font->descent, winx, winy); | 3305 | CEIL((font->ascent + font->descent) * chscale), winx, winy); |
| 3306 | 3306 | ||
| 3307 | /* Reset clip to none. */ | 3307 | /* Reset clip to none. */ |
| 3308 | XftDrawSetClip(xw.draw, 0); | 3308 | XftDrawSetClip(xw.draw, 0); |
