diff --git a/README.md b/README.md index 32a6733..61fd2a1 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ Python and shell scripts to backport and theme [Apple Color Emoji font](https:// Execute `./apple.sh HD`, you will get `AppleColorEmoji@2x.ttc` (for iOS 10 and above) and `AppleColorEmoji@2x.ttf` (for iOS 9 and below) under `apple` directory. +If you only have `AppleColorEmoji_iOS.ttc`, execute `./apple.sh HD iOS` instead. + # Notable Python Scripts EmojiFonts deals with certain font tables; mainly `GDEF` and `sbix`. diff --git a/apple.sh b/apple.sh index 35b694c..be4ef07 100755 --- a/apple.sh +++ b/apple.sh @@ -3,10 +3,12 @@ set -e NAME=apple +MOD=$1 +KIND=$2 +[[ $KIND == '' ]] && KIND=macOS IOS_FONT_NAME=AppleColorEmoji_iOS -MAC_FONT_NAME=AppleColorEmoji_macOS +MAC_FONT_NAME=AppleColorEmoji_$KIND ASSETS=$NAME -MOD=$1 COLORS= [[ $MOD = 'HD' ]] && HD=true || HD=false