Re: [hackers] [dmenu] import new drw from libsl and minor fixes.

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Fri, 3 Jun 2016 20:24:16 +0200

On Fri, Jun 03, 2016 at 07:42:37PM +0200, Markus Teich wrote:
> Hiltjo Posthuma wrote:
> > Your patch fixes the slowness for me, but we need to think of a more accurate
> > but faster way indeed.
>
> Heyho,
>
> I plan to clean up the drw_text function some time in the future. I think it is
> possible to split the string into chunks which are drawn by the same font
> respectively and then either actually draw them (expensive) or just measure them
> (cheap). However currently I don't have much spare time, so this additional drw
> patch will have to wait.
>
> --Markus
>

Fair enough, I think I'll apply it with the (temporary fix), since the current
width is also less accurate and the speed trade-off is not worth it.

Again: thanks for the patches! I'll also review the patch for dwm soon(tm).

-- 
Kind regards,
Hiltjo
Received on Fri Jun 03 2016 - 20:24:16 CEST

This archive was generated by hypermail 2.3.0 : Fri Jun 03 2016 - 20:36:13 CEST