Commit ab193662 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(ftxfont_draw_backgrond): Fix args to XFillRectangle.

parent bc981e4e
2009-04-06 Kenichi Handa <>
* ftxfont.c (ftxfont_draw_backgrond): Fix args to XFillRectangle.
* xftfont.c (xftfont_open): Fix setting font->underline_thickness.
2009-04-06 YAMAMOTO Mitsuharu <>
* ftfont.c (ftfont_open): Fix checking of the return value of
......@@ -235,7 +235,7 @@ ftxfont_draw_backgrond (f, font, gc, x, y, width)
GCForeground | GCBackground, &xgcv);
XSetForeground (FRAME_X_DISPLAY (f), gc, xgcv.background);
XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc,
x, y - font->ascent, width, y + font->descent);
x, y - FONT_BASE (font), width, FONT_HEIGHT (font));
XSetForeground (FRAME_X_DISPLAY (f), gc, xgcv.foreground);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment