joypixels / joypixels/emoji-toolkit

Android OS 6.0 devices Typeface.createFromFile with joypixels 6.6/7.0 version emoji font failed

Open
#60 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
473
Forks
47
PR merge metrics
No merged PRs in 30d

Description

`try{
mEmoji = Typeface.createFromFile(ttfPath);
}catch (Exception e){
if(BuildConfig.LOG_ENABLE){
Log.e(TAG , e ,"parseConfigFile failed ");
}
}`

When I run this code on Android OS 6.0 devices with the latest version 6.6/7.0 joypixels emoji font, it will throw exceptions "Font not found", but on Android OS version >= 7 devices, it worked well. And if I use joypixels 3.0 version font, it also worked well on Android 6.0.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.