Ubuntu18.04のIntelliJ IDEAで絵文字を表示する
Ubuntu 18.04のIntelliJ IDEAでは絵文字が表示されない。Ubuntu 16.04の頃は絵文字が表示されていたので、なんでだろうと長らく思っていた。
https://youtrack.jetbrains.com/issue/IDEA-192107#focus=streamItem-27-2888997.0-0
At the moment our IDEs don't support color emojis on Windows and Linux. Ubuntu 16 includes Symbola font, which can display black-and-white emoji characters. Ubuntu 18 seems to replace it with Noto Color Emoji font which contains only color images. As a workaround, you can install font supporting black-and-white emojis (e.g. Symbola) and choose it as a fallback font in editor font settings to make sure it will be used as a preference over Noto Color Emoji.
- IntelliJ IDEAのWindows版とLinux版についてカラー絵文字フォントに表示に対応していない
- Ubuntu18.04に白黒の絵文字フォントが入ってない
これらの事情によりUbuntu 18.04のIntelliJ IDEAでは絵文字が表示されないそうだ。
ワークアラウンドとしては、以下を実行してIntelliJ IDEAを再起動すると絵文字が表示されるようになる。
sudo apt-get install fonts-symbola fc-cache -f -v