sent-font

sent: font engine test
git clone git://git.codemadness.org/sent-font
Log | Files | Refs | LICENSE

commit 75081d228ea93bd30d584e52e875baf663309819
parent 5394f7f539ecff863f58458cea5faaa867680ce6
Author: Markus Teich <markus.teich@stusta.mhn.de>
Date:   Wed, 22 Apr 2015 11:57:08 +0200

blank screen before drawing text

Diffstat:
sent.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/sent.c b/sent.c @@ -551,6 +551,7 @@ void xdraw() XClearWindow(xw.dpy, xw.win); if (!im) { + drw_rect(d, 0, 0, xw.w, xw.h, 1, 1); drw_text(d, (xw.w - width) / 2, (xw.h - height) / 2, width, height, slides[idx].text, 0); drw_map(d, xw.win, 0, 0, xw.w, xw.h); } else if (!(im->state & LOADED) && !pngread(im))