Browse Source

Use character scaling in XCopyArea

master
Eric Pruitt 11 years ago
committed by Roberto E. Vargas Caballero
parent
commit
9559100130
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      st.c

+ 1
- 1
st.c View File

@ -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…
Cancel
Save