Re: [dev] Fix for dwm crash due to emoji in window titles

2018-09-09 Thread Kai Hendry
Tried rolling back to dwm 6.0 but couldn't get font rendering to work. :/ https://s.natalian.org/2018-09-10/font.png Now I am using Alexander Krotov's original patch, which works. So thanks for that.

Re: [dev] Fix for dwm crash due to emoji in window titles

2018-09-09 Thread Kai Hendry
On Mon, 23 Jul 2018, at 11:41 PM, Silvan Jegen wrote: > It feels like the source for this ominous crash has finally been found > after what feels like an eternity. According to the bug report there > won't be a fix in Xft any time soon though since they suggest to > people to just not use Xft...

Re: [dev] Fix for dwm crash due to emoji in window titles

2018-07-23 Thread Silvan Jegen
On Mon, Jul 23, 2018 at 9:31 AM, Hiltjo Posthuma wrote: > On Mon, Jul 23, 2018 at 08:34:53AM +0800, Kai Hendry wrote: >> On Thu, 19 Jul 2018, at 11:41 PM, Hiltjo Posthuma wrote: >> > It is not a fix, it will just ignore the error. >> >> Shouldn't https://en.wikipedia.org/wiki/Robustness_principle

Re: [dev] Fix for dwm crash due to emoji in window titles

2018-07-23 Thread Hiltjo Posthuma
On Mon, Jul 23, 2018 at 08:34:53AM +0800, Kai Hendry wrote: > On Thu, 19 Jul 2018, at 11:41 PM, Hiltjo Posthuma wrote: > > It is not a fix, it will just ignore the error. > > Shouldn't https://en.wikipedia.org/wiki/Robustness_principle apply? > Robustness is not ignoring errors. It should not

Re: [dev] Fix for dwm crash due to emoji in window titles

2018-07-23 Thread Kai Hendry
Thanks for agreeing with me Laslo, On Mon, 23 Jul 2018, at 12:05 PM, Laslo Hunhold wrote: > I agree with you in the given case, but the robustness principle > probably brought us SGML and all its implications. Be careful what you > wish for, as being liberal with what input you accept can lead to

Re: [dev] Fix for dwm crash due to emoji in window titles

2018-07-22 Thread Laslo Hunhold
On Mon, 23 Jul 2018 08:34:53 +0800 Kai Hendry wrote: Dear Kai, > Shouldn't https://en.wikipedia.org/wiki/Robustness_principle apply? > > Draconian error handling was the hallmark of XML. I agree with you in the given case, but the robustness principle probably brought us SGML and all its

Re: [dev] Fix for dwm crash due to emoji in window titles

2018-07-22 Thread Kai Hendry
On Thu, 19 Jul 2018, at 11:41 PM, Hiltjo Posthuma wrote: > It is not a fix, it will just ignore the error. Shouldn't https://en.wikipedia.org/wiki/Robustness_principle apply? Draconian error handling was the hallmark of XML. > The emoji crash is a bug in Xft. Do you happen to have the bug

Re: [dev] Fix for dwm crash due to emoji in window titles

2018-07-19 Thread Hiltjo Posthuma
On Thu, Jul 19, 2018 at 02:19:43AM +0300, Alexander Krotov wrote: >From time to time there are threads about the bug in dwm that make it >crash when it cannot render some glyphs in window titles (usually >emoji). >Here is a way to reproduce the bug: >

[dev] Fix for dwm crash due to emoji in window titles

2018-07-18 Thread Alexander Krotov
>From time to time there are threads about the bug in dwm that make it crash when it cannot render some glyphs in window titles (usually emoji). Here is a way to reproduce the bug: https://lists.suckless.org/dev/1608/30274.html Here is an attempt to fix the bug that makes dwm freeze: