From 3de6dcf5ef66bad3b9d0c88d399cdf18c3eaecae Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 26 Apr 2006 13:22:04 +0000 Subject: [PATCH] =?UTF-8?q?=20=20*=20Added=20U+25A0=20(=E2=96=A0)=20to=20t?= =?UTF-8?q?he=20CP437=20hack=20in=20the=20X11=20driver.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- caca/driver_x11.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/caca/driver_x11.c b/caca/driver_x11.c index bbd45f1..afd91c0 100644 --- a/caca/driver_x11.c +++ b/caca/driver_x11.c @@ -337,6 +337,15 @@ static void x11_display(caca_display_t *dp) dp->drv.p->font_width / 2, dp->drv.p->font_height); break; + case 0x000025a0: /* ■ */ + XFillRectangle(dp->drv.p->dpy, dp->drv.p->pixmap, + dp->drv.p->gc, + x * dp->drv.p->font_width, + y * dp->drv.p->font_height + + dp->drv.p->font_height / 4, + dp->drv.p->font_width, + dp->drv.p->font_height / 2); + break; case 0x00002593: /* ▓ */ case 0x00002592: /* ▒ */ case 0x00002591: /* ░ */