mirror of
https://github.com/alrayyes/st
synced 2023-11-14 15:56:30 +00:00
Use character scaling in XCopyArea
This commit is contained in:
parent
c0a56ef4be
commit
9559100130
2
st.c
2
st.c
@ -3302,7 +3302,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
|
|||||||
width, 1);
|
width, 1);
|
||||||
}
|
}
|
||||||
XCopyArea(xw.dpy, xw.buf, xw.win, dc.gc, winx, winy, width,
|
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. */
|
/* Reset clip to none. */
|
||||||
XftDrawSetClip(xw.draw, 0);
|
XftDrawSetClip(xw.draw, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user