Emojis: Difference between revisions

From Alpine Linux
(Create page)
 
(→‎Testing and bugs: Delete more outdated information)
 
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
= Emojis =
'''Emojis''' are characters with pictures used to express ideas, things, places in one character.  Emojis are known to be used for creating and entering passwords and for [https://en.wikipedia.org/wiki/Emoji_domain registering domain names].
 
'''Emojis''' are characters with pictures used to express ideas, things, places in one character.


== Support ==
== Support ==


Currently Alpine Linux supports only one emoji font Noto Color Emoji only available on [[Edge]] which is used in the Android operating system. The latest version of Noto Color Emoji supports [https://unicode.org/emoji/charts/full-emoji-list.html Emoji 5.0].
Alpine Linux supports both Noto Color Emoji and Twemoji, though both fonts are only available on [[Repositories#Edge|edge]]. The latest version of Noto Color Emoji supports [https://unicode.org/emoji/charts/full-emoji-list.html Unicode specification 15.0] released around 2023. The latest version of Twemoji supports Unicode specification 14.2.  


Currently, Edge has better emoji support for Firefox 58.x.  Alpine 3.7.0 has Firefox 52.x which has broken emoji support but can be backported.
== Installation ==


The currently Cairo 1.14.10 doesn't have color emoji support enabled so there may be no colored emojis on the terminal but show up in black and white.
doas apk add font-noto-emoji


== Installation ==
Or
 
sudo apk add font-noto-emoji


doas apk add font-twemoji
== Configuration ==
== Configuration ==


You need either a user ~/.config/fontconfig/conf.d/01-noto-emoji.conf or systemwide /etc/fonts/local.conf with the following:
You need either a user ~/.config/fontconfig/conf.d/01-noto-emoji.conf or systemwide /etc/fonts/local.conf with the following:
'''Bold text'''
 
<pre>
<pre>
<?xml version="1.0"?>
<?xml version="1.0"?>
Line 52: Line 49:
</fontconfig>
</fontconfig>
</pre>
</pre>
== Testing and bugs ==
You can go to https://getemoji.com/ and every emoji should be properly rendered.
DWM also has a bug if you have a program title with a emoji it will crash.  There is a patch available.  See [https://github.com/alpinelinux/aports/pull/3111 pull request].
[[Category:Infographics]]

Latest revision as of 20:51, 26 February 2023

Emojis are characters with pictures used to express ideas, things, places in one character. Emojis are known to be used for creating and entering passwords and for registering domain names.

Support

Alpine Linux supports both Noto Color Emoji and Twemoji, though both fonts are only available on edge. The latest version of Noto Color Emoji supports Unicode specification 15.0 released around 2023. The latest version of Twemoji supports Unicode specification 14.2.

Installation

doas apk add font-noto-emoji

Or

doas apk add font-twemoji

Configuration

You need either a user ~/.config/fontconfig/conf.d/01-noto-emoji.conf or systemwide /etc/fonts/local.conf with the following:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

 <alias>
   <family>sans-serif</family>
   <prefer>
     <family>Main sans-serif font name goes here</family>
     <family>Noto Color Emoji</family>
     <family>Noto Emoji</family>
   </prefer> 
 </alias>

 <alias>
   <family>serif</family>
   <prefer>
     <family>Main serif font name goes here</family>
     <family>Noto Color Emoji</family>
     <family>Noto Emoji</family>
   </prefer>
 </alias>

 <alias>
  <family>monospace</family>
  <prefer>
    <family>Main monospace font name goes here</family>
    <family>Noto Color Emoji</family>
    <family>Noto Emoji</family>
   </prefer>
 </alias>
</fontconfig>

Testing and bugs

You can go to https://getemoji.com/ and every emoji should be properly rendered.

DWM also has a bug if you have a program title with a emoji it will crash. There is a patch available. See pull request.