Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Emojione v4.5 not working on Android 5.0 (lower versions work) #656

Open
iamaahmadi1997 opened this issue May 2, 2019 · 5 comments
Open
Labels

Comments

@iamaahmadi1997
Copy link

I've been using emojione since v3 on my Android phone in different ways. From renaming and replacing the font in system/fonts to using the Magisk module and it's worked every time for the tens of times I've done it. But with v4.5 it doesn't work on Android 5 in any ways and all I see is black simple ones from the phone fonts itself. I've tried both the replacing way and Magisk module but it's not working. Surprisingly it works with no problem when I do it on Android 7.1.2 LineageOS custom rom.
I contacted Emojione support team and they advised me to submit my issue here and also to ask for help from @maximbaz in this case
Thanks

@maximbaz
Copy link
Contributor

maximbaz commented May 2, 2019

Hey, it sounds really suspicious, sorry I don't know, I only use this font on Linux, have never installed it on Android - a friendly ping to @mxalbert1996 who I believe is using it on the phone and might have some ideas.

@iamaahmadi1997
Copy link
Author

Thanks a lot
And you know, there's something I don't understand and I don't know to blame or not. But there's so much difference in file size between v3/v4 and v4.5. I thought this might help in someway

@maximbaz
Copy link
Contributor

maximbaz commented May 3, 2019

I noticed that too... but I didn't figure out a reason for that, the font worked fine on Linux so I just went with it.

@mxalbert1996
Copy link
Contributor

@iamxcuze The reason why file size became much bigger is that the format of the images changed from PNG8 to PNG32 (where 8 and 32 is the bit depth).
Can you try this? If you are using Magisk, you can simply replace the NotoColorEmoji.ttf in the original zip file and reinstall it.
If this still doesn't work, then the problem is probably the bit depth. In that case I recommend that you stick with 4.0 because it's impossible to convert PNG32 to PNG8 losslessly.

@iamaahmadi1997
Copy link
Author

Thanks for the detailed answer. I guess I'll stick with LineageOS. I guess my stock rom doesn't support png32 then (whether because it's Android 5 or something else)
Thanks again @mxalbert1996 and @maximbaz

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants