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.

Heyho,

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.

--Markus

Reply via email to