Re: [dev] dwm: drw_draw does too much

From: Markus Teich <>
Date: Sun, 29 Nov 2015 01:27:34 +0100

David Kennedy wrote:
> However, this new function still needs to know three things:
> 1. The font to use
> 2. The text to be rendered
> 3. The length in bytes of the utf8 encoded string
> No. 2 is easy. No. 1 and 3 are all tangled up in drw_text. So, before calls to
> drw_text and TEXTW can be replaced with drw_get_width, those pieces need to be
> decoupled somehow.
> I'll start working on that, but it may be a while. I'm very new to C.


you guys might have a look at the drw.c code from sent. I think I already
grappled with that "inconvenience" and kind of "solved" it. I currently don't
have time to do it myself, but might look into it in a few days, if you don't.

Received on Sun Nov 29 2015 - 01:27:34 CET

This archive was generated by hypermail 2.3.0 : Sun Nov 29 2015 - 01:36:11 CET