Skip to content

Commit e5bbeb0

Browse files
committed
Updated for when only iOS ACE is available
1 parent 9255d65 commit e5bbeb0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ Python and shell scripts to backport and theme [Apple Color Emoji font](https://
3030

3131
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.
3232

33+
If you only have `AppleColorEmoji_iOS.ttc`, execute `./apple.sh HD iOS` instead.
34+
3335
# Notable Python Scripts
3436

3537
EmojiFonts deals with certain font tables; mainly `GDEF` and `sbix`.

apple.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
set -e
44

55
NAME=apple
6+
MOD=$1
7+
KIND=$2
8+
[[ $KIND == '' ]] && KIND=macOS
69
IOS_FONT_NAME=AppleColorEmoji_iOS
7-
MAC_FONT_NAME=AppleColorEmoji_macOS
10+
MAC_FONT_NAME=AppleColorEmoji_$KIND
811
ASSETS=$NAME
9-
MOD=$1
1012
COLORS=
1113
[[ $MOD = 'HD' ]] && HD=true || HD=false
1214

0 commit comments

Comments
 (0)