Open piko-piko opened 3 days ago
Rofi does not do the font rendering, this is done by pango. I am not sure what can be done about this.
It looks to me that ~rofi~pango uses another font to render when japanese characters are in the string. This is pretty clear on my system:
Any pango/font expert have an idea how to avoid this?
Thank you for the clarification. I'll ask around unixporn discord if someone has any insight then.
If you find a solution, please report back so we can include it in the documentation.
Rofi version (rofi -v)
Version: 1.7.5-253-gc38dc9a1
Configuration
https://gist.github.com/piko-piko/ab236eeedcc744e5a2ecc75c573df822
Theme
https://gist.github.com/piko-piko/769c4302b488fcdde926384d00193be3
Timing report
No response
Launch command
echo -e '00:04:11 ヒトヒラのハナビラ Hitohira no Hanabira ステレオポニー\n00:08:23 ツキアカリのミチシルベ Tsukiakari no Michishirube ステレオポニー\n00:12:26 泪のムコウ Namida no Mukou ステレオポニー\n00:15:57 はんぶんこ Hanbunko ステレオポニー\n00:19:54 C7 GO!GO!7188\n00:24:05 浮舟 Ukifune GO!GO!7188\n00:28:17 群青日和 Gunjo Biyori 東京事変\n00:31:50 LOVE SURVIVE SCANDAL\n00:35:32 瞬間センチメンタル Shunkan Sentimental SCANDAL\n00:39:11 DOLL SCANDAL\n00:42:34 会わないつもりの、元気で ね Awanaitsumori no, Genki de ne SCANDAL\n00:47:42 壱雫空 Hitoshizuku MyGO!!!!!\n00:50:57 雑踏、僕らの街 Zatto, Bokura no Machi トゲナシトゲアリ\n00:55:40 儚くも永久のカナシ Hakanaku mo Towa no Kanashi UVERworld\n00:59:56 クオリア Qualia UVERworld\n01:04:38 ソラニン Solanin ASIAN KUNG-FU GENERATION\n01:09:07 君の街まで Kimi no Machi Made ASIAN KUNG-FU GENERATION\n01:12:41 リライト Rewrite ASIAN KUNG-FU GENERATION\n01:16:27 ジターバグ Jitterbug ELLEGARDEN\n01:19:46 スターフィッシュ Starfish ELLEGARDEN\n01:23:25 Missing ELLEGARDEN\n01:26:42 Funny Bunny ELLEGARDEN\n01:29:59 風の日 Windy Day ELLEGARDEN\n01:34:07 トレモロ Tremolo RADWIMPS\n01:37:29 星に願いを Hoshi ni Negai wo flumpool\n01:41:49 君に届け Kimi ni Todoke flumpool\n01:47:16 皆無 Kaimu ONE OK ROCK\n01:50:57 完全感覚Dreamer Kanzen Kankaku Dreamer ONE OK ROCK\n01:55:12 恋ノアイボウ心ノクピド Koi no Aibou Kokoro no Cupid ONE OK ROCK\n01:58:04 Black Market Blues 9mm Parabellum Bullet\n\n※ 内容に誤りがあった場合は返信で教 ていただけると助かります' | rofi -dmenu
Step to reproduce
Expected behavior
echo -e '1 abc\n2 dsg\n3 sadf\n4 dsf' | rofi -dmenu
Actual behavior
It seems like the japanese character cause rofi to freak out. As far as i am aware, i am not providing any "control" characters to the input, but i provide the command so anyone can tell.
Additional information
I've checked it against the latest stable as well as the new git, as i have seen there is something being done to fix some problem with emoji display.
Using wayland display server protocol
I've checked if the issue exists in the latest stable release