Error when filename has an emoji
cwfoo opened this issue · comments
Foo Chuan Wei commented
sxiv '🦊.png'
fails with:
X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Major opcode of failed request: 139 (RENDER)
Minor opcode of failed request: 20 (RenderAddGlyphs)
Serial number of failed request: 401
Current serial number in output stream: 414
sxiv version: 26
OS: Ubuntu 20.04
Stein Gunnar Bakkeby commented
I don't think this has anything to do with sxiv, but rather the Xft issue regarding emojis.
Should work if you install the libxft-bgra library, but you are on Ubuntu so that's not really an option.
https://aur.archlinux.org/packages/libxft-bgra/
It is pending this merge (but who knows if that will ever happen):
https://gitlab.freedesktop.org/xorg/lib/libxft/-/merge_requests/1