diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/ftxfont.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 643483905d1..7d0f307e4a3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2009-04-06 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * ftxfont.c (ftxfont_draw_backgrond): Fix args to XFillRectangle. | ||
| 4 | |||
| 5 | * xftfont.c (xftfont_open): Fix setting font->underline_thickness. | ||
| 6 | |||
| 1 | 2009-04-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 7 | 2009-04-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 2 | 8 | ||
| 3 | * ftfont.c (ftfont_open): Fix checking of the return value of | 9 | * ftfont.c (ftfont_open): Fix checking of the return value of |
diff --git a/src/ftxfont.c b/src/ftxfont.c index dcad85ba7fd..2cf45bb27a0 100644 --- a/src/ftxfont.c +++ b/src/ftxfont.c | |||
| @@ -235,7 +235,7 @@ ftxfont_draw_backgrond (f, font, gc, x, y, width) | |||
| 235 | GCForeground | GCBackground, &xgcv); | 235 | GCForeground | GCBackground, &xgcv); |
| 236 | XSetForeground (FRAME_X_DISPLAY (f), gc, xgcv.background); | 236 | XSetForeground (FRAME_X_DISPLAY (f), gc, xgcv.background); |
| 237 | XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, | 237 | XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, |
| 238 | x, y - font->ascent, width, y + font->descent); | 238 | x, y - FONT_BASE (font), width, FONT_HEIGHT (font)); |
| 239 | XSetForeground (FRAME_X_DISPLAY (f), gc, xgcv.foreground); | 239 | XSetForeground (FRAME_X_DISPLAY (f), gc, xgcv.foreground); |
| 240 | } | 240 | } |
| 241 | 241 | ||