Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some kaomoji don't render properly #19

Closed
noaccOS opened this issue Apr 22, 2020 · 6 comments
Closed

Some kaomoji don't render properly #19

noaccOS opened this issue Apr 22, 2020 · 6 comments

Comments

@noaccOS
Copy link

noaccOS commented Apr 22, 2020

Lenny looks fine in selection and in emoticons file
image

But when I type it it looks weird
image

I don't think it's a font problem because I noticed the same behavior in both Roboto and JetBrains Mono
The config file is untouched

@cspeterson
Copy link
Owner

  1. Share with me the raw text of the non-working Lennies along with some working ones? Could be some unicode stuff being difficult and I'd like a closer look. And if you have put a bunch of Lennyfaces into a tsv, I'd be interested in integrating it into the included emoticon db 🙂
  2. Is it behaving against expectations when using copy mode, or only with type? Because xdotool can just be generally finnicky with many different applications, so it may be one of those situations.
  3. I just pushed new code today that changes slightly how the script hands the selection to xdotool so maybe also just try that while you're at it 😁

@noaccOS
Copy link
Author

noaccOS commented Apr 23, 2020

  1. I just added the tag lenny to the already existing happy, think lenny face. Shrug works as expected

  2. With copy it seems to work as expected

  3. I tried it but there is no difference ¯_(ツ)_/¯

@noaccOS
Copy link
Author

noaccOS commented Apr 24, 2020

It seems to be xdotool to me

The first one doesn't render properly for some reason but it is correct, the second is just plain wrong
image

@cspeterson
Copy link
Owner

HMM I was actually looking at this like it was the usual "xdotool misses characters" problem, but I'm realizing now it's that the wrong characters are coming through. Sorry!

Take a look at this issue: jordansissel/xdotool#97

what locale are you operating under(locale)? does running setxkbmap <keybd layout> like in that issue change anything?

@noaccOS
Copy link
Author

noaccOS commented May 13, 2020

My locale is just en_US.UTF-8
As mentioned in the issue you mentioned, just typing setxkbmap without any arguments fixes the rendering of the kaomoji
image
A somewhat brutal solution might be to run setxkbmap before every xdotool?

@cspeterson
Copy link
Owner

Closing this because it does appear to be an xdotool problem not a splatmoji problem, and also maybe resolved by new xdotool fwiw

@noaccOS are you on a newer xdotool at this point? do you still need to muck with keymaps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants