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