ac-emoji for Linux users

We can use emoji fonts other than MacOSX platform. (However MacOSX fonts is good looking :-()

Installing Symbola font

http://zhm.github.io/symbola/

Download Symbola.ttf and put it into fonts directory such as ~/.fonts.

% cd ~/.fonts
% curl -LO http://zhm.github.io/symbola/fonts/Symbola.ttf

NOTE

Debian/Ubuntu provides Symbola font as package, ttf-ancient-fonts or ttf-ancient-fonts-symbola. And some other distributions provide too. Please check your package system before installing Symbola font manually.

Configuration

Add following configuration in your init.el

(set-fontset-font
 t 'symbol
 (font-spec :family "Symbola") nil 'prepend)

Screenshot

We can use emoji on Linux now.

ac-emoji-linux