Skip to content

Commit

Permalink
Add AppleColorEmoji Pixel
Browse files Browse the repository at this point in the history
  • Loading branch information
PoomSmart committed Jan 5, 2025
1 parent c560258 commit e90a833
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions FONTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ All fonts are to be used with [WDBFontOverwrite 1.7.1+ (@ginsudev's fork)](https
- `AppleColorEmoji-HD.ttc` for AppleColorEmoji emojis with 160x160 image sizes
- `AppleColorEmoji-HD-flip.ttc` for AppleColorEmoji emojis with 160x160 image sizes, and flipped horizontally
- `AppleColorEmoji-LQ.ttc` for AppleColorEmoji emojis in Low Quality
- `AppleColorEmoji-pixel.ttc` for AppleColorEmojis with pixellated effect
- `blobmoji.ttc` for Blobmoji emojis (Blobified Google Noto)
- `facebook.ttc` for Facebook emojis
- `fluentui-Flat.ttc` and `fluentui-Color.ttc` for Windows 11 FluentUI emojis of Flat and Color style
Expand Down
11 changes: 9 additions & 2 deletions apple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ set -e
NAME=apple
MOD=$1
IOS_FONT_NAME=AppleColorEmoji_iOS
[[ $MOD = 'LQ' || $MOD = 'HD-flip' ]] && ASSETS=$NAME/$MOD || ASSETS=$NAME/Default
[[ $MOD = 'LQ' || $MOD = 'HD-flip' || $MOD = 'pixel' ]] && ASSETS=$NAME/$MOD || ASSETS=$NAME/Default
COLORS=
[[ $MOD = 'HD' || $MOD = 'HD-flip' ]] && HD=true || HD=false
[[ $MOD = 'HD' || $MOD = 'HD-flip' || $MOD = 'pixel' ]] && HD=true || HD=false

echo "Copying PNGs..."
mkdir -p $ASSETS
Expand All @@ -28,6 +28,13 @@ then
mogrify -flop $ASSETS/96/*.png
mogrify -flop $ASSETS/64/*.png
mogrify -flop $ASSETS/40/*.png
elif [[ $MOD == 'pixel' ]]
then
echo "Applying mod: pixel..."
mogrify -resize 10% -scale 1000% -filter point $ASSETS/160/*.png
mogrify -resize 96x96 -filter point -path $ASSETS/96 $ASSETS/160/*.png
mogrify -resize 64x64 -filter point -path $ASSETS/64 $ASSETS/96/*.png
mogrify -resize 40x40 -filter point -path $ASSETS/40 $ASSETS/64/*.png
fi

echo "Optimizing PNGs..."
Expand Down

0 comments on commit e90a833

Please sign in to comment.