Re: [dev] [st] Emojis

2017-11-06 Thread Eric Pruitt
On Sun, Sep 17, 2017 at 07:01:58PM -0400, Gary Allen Vollink wrote: > I noted in a previous thread [ > https://lists.suckless.org/dev/1709/32306.html ] that wcwidth was > recently fixed/updated in Linux's glibc: [ > https://lists.gnu.org/archive/html/info-gnu/2017-08/msg0.html ]. > Ultimately,

Re: [dev] [st] Emojis

2017-09-17 Thread Gary Allen Vollink
On Sun, Sep 17, 2017 at 3:30 PM, Janne Heß wrote: > What I also found is that several unicode combine characters aren't > detected properly. For example, a female black police officer (rarely > used, but exists) is rendered as three different emojis (color, gender > and police officer). I assume s

Re: [dev] [st] Emojis

2017-09-17 Thread Janne Heß
What I also found is that several unicode combine characters aren't detected properly. For example, a female black police officer (rarely used, but exists) is rendered as three different emojis (color, gender and police officer). I assume st doesn't does this processing, but which library does it s

Re: [dev] [st] Emojis

2017-09-17 Thread Janne Heß
I performed all these tests without tmux... With tmux, everything looks even more awful, but as long as it's not rendered correctly by st, there's no point in trying to fix tmux. On 09/17/2017 09:03 PM, ACE wrote: > On 09/17, Janne Heß wrote: >> It looks like the crash is caused by the font. >> Sw

Re: [dev] [st] Emojis

2017-09-17 Thread ACE
On 09/17, Janne Heß wrote: > It looks like the crash is caused by the font. > Switching from noto emoji to emoji one fixes the crash. I'll try looking > into the grid escaping bug... I'd say escaping the grid is the result of not using UTF8. That was my guess before Stefan enlightened me with the

Re: [dev] [st] Emojis

2017-09-17 Thread Janne Heß
Still, the offset after the 🙅 character seems to be too short: https://i.imgur.com/TSwt1et.png I can live with that, but I wanted to mention it here ;) On 09/17/2017 08:37 PM, S. Gilles wrote: > On 2017-09-17T14:16:15+, Janne Heß wrote: >> Hello everyone, >> >> I just wanted to ask if anyone

Re: [dev] [st] Emojis

2017-09-17 Thread Janne Heß
Turns out I was also able to fix the grid bug by just upgrading my system. I have no idea which dependency had a bug, but it's really fixed now. Hopefully nobody will have to bring up these topics again. On 09/17/2017 08:37 PM, S. Gilles wrote: > On 2017-09-17T14:16:15+, Janne Heß wrote: >> He

Re: [dev] [st] Emojis

2017-09-17 Thread Janne Heß
It looks like the crash is caused by the font. Switching from noto emoji to emoji one fixes the crash. I'll try looking into the grid escaping bug... On 09/17/2017 08:37 PM, S. Gilles wrote: > On 2017-09-17T14:16:15+, Janne Heß wrote: >> Hello everyone, >> >> I just wanted to ask if anyone has

Re: [dev] [st] Emojis

2017-09-17 Thread S. Gilles
On 2017-09-17T14:16:15+, Janne Heß wrote: > Hello everyone, > > I just wanted to ask if anyone has managed to properly display emojis in st. > I know this is potentially sucky feature, but I read my mail in mutt and > some companies think it's a good idea to put emojis into their subjects. > C

Re: [dev] [st] Emojis

2017-09-17 Thread ACE
On 09/17, Stefan Hagen wrote: > * Stefan Hagen wrote: > > I'm doing exactly this. This is mutt in st (top) and termite (bottom). > > https://shell.srv.hagen.coffee/~sdk/screenshots/2017-09-17_19-38-46.png > > > > Are you sure the font you're using supports these characters? > > Adding some detai

Re: [dev] [st] Emojis

2017-09-17 Thread Stefan Hagen
* Stefan Hagen wrote: I'm doing exactly this. This is mutt in st (top) and termite (bottom). https://shell.srv.hagen.coffee/~sdk/screenshots/2017-09-17_19-38-46.png Are you sure the font you're using supports these characters? Adding some details: .muttrc: set charset = "utf-8" set assumed

Re: [dev] [st] Emojis

2017-09-17 Thread Stefan Hagen
Hi Janne, * Janne Heß wrote: I just wanted to ask if anyone has managed to properly display emojis in st. I know this is potentially sucky feature, but I read my mail in mutt and some companies think it's a good idea to put emojis into their subjects. Currently, it looks like the emojis consisti

Re: [dev] [st] Emojis

2017-09-17 Thread ACE
On 09/17, Janne Heß wrote: > Thank you for your prompt response. > I tried testing that by running `st bash` (my default shell > automatically starts tmux). > However, when pasting the first line of getemoji.com, st crashes (and > this is an actual bug IMO). > The output of st is: > > X Error of f

Re: [dev] [st] Emojis

2017-09-17 Thread Janne Heß
Thank you for your prompt response. I tried testing that by running `st bash` (my default shell automatically starts tmux). However, when pasting the first line of getemoji.com, st crashes (and this is an actual bug IMO). The output of st is: X Error of failed request: BadLength (poly request too

Re: [dev] [st] Emojis

2017-09-17 Thread ACE
On 09/17, Janne Heß wrote: > Hello everyone, > > I just wanted to ask if anyone has managed to properly display emojis in st. > I know this is potentially sucky feature, but I read my mail in mutt and > some companies think it's a good idea to put emojis into their subjects. > Currently, it looks

[dev] [st] Emojis

2017-09-17 Thread Janne Heß
Hello everyone, I just wanted to ask if anyone has managed to properly display emojis in st. I know this is potentially sucky feature, but I read my mail in mutt and some companies think it's a good idea to put emojis into their subjects. Currently, it looks like the emojis consisting of 2 charact