tUse character scaling in XCopyArea - st - [fork] customized build of st, the s… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 95591001306dc5c6b57f46155bd3e2b919114ea6 | |
parent c0a56ef4be2a0f84360f41b2d45964e7ef297746 | |
Author: Eric Pruitt <[email protected]> | |
Date: Sun, 19 Jan 2014 10:48:35 -0600 | |
Use character scaling in XCopyArea | |
Diffstat: | |
M st.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -3302,7 +3302,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, i… | |
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, … | |
/* Reset clip to none. */ | |
XftDrawSetClip(xw.draw, 0); |