add color emoji app

pull/20/head
Botspot 4 years ago
parent 4d27131ddb
commit bbe5e8b85e

@ -0,0 +1,4 @@
Installs two fonts to display nearly all the emojis ever made. In full color.
This installs Microsoft's Segoe UI font and Noto Color Emoji.
Together, they support over 90% of emojis, effectively eliminating that annoying black rectangle.
To test that it works, go to: https://eosrei.github.io/emojione-color-font/full-demo.html

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

@ -0,0 +1,23 @@
#!/bin/bash
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
function error {
echo -e "\\e[91m$1\\e[39m"
exit 1
}
cd $HOME
mkdir ~/tmp
cd tmp || error "Failed to enter $HOME/tmp directory!"
wget https://fontsdata.com/zipdown-segoeuiemoji-132714.htm || error "Failed to download Segoe UI Emoji font!"
wget https://noto-website.storage.googleapis.com/pkgs/NotoColorEmoji-unhinted.zip || error "Failed to download Noto Color Emoji font!"
mv zipdown-segoeuiemoji-132714.htm segoeuiemoji.zip
unzip segoeuiemoji.zip || error "Failed to extract Segoe UI Emoji font!"
unzip NotoColorEmoji-unhinted.zip || error "Failed to extract Noto Color Emoji font!"
mkdir -p ~/.fonts &>/dev/null
mv seguiemj.ttf "~/.fonts/Segoe UI.ttf"
mv NotoColorEmoji.ttf "~/.fonts/Noto Color Emoji.ttf"
fc-cache -f -v &>/dev/null
rm -r ~/tmp
cd $HOME

@ -0,0 +1,10 @@
#!/bin/bash
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
function error {
echo -e "\\e[91m$1\\e[39m"
exit 1
}
rm '~/.fonts/Noto Color Emoji.ttf' '~/.fonts/Segoe UI.ttf'

@ -0,0 +1 @@
https://www.raspberrypi.org/forums/viewtopic.php?t=253484
Loading…
Cancel
Save