-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with Android 4.4-5.x/6.x #24
Comments
I know that there are some problems with using this font on a 4.4 device. |
But just for testing purposes: 😂 |
Inside Firefox:
If I copy and paste any outside Firefox, none show up (haven't tried Chrome though). Here are all the emoji that show up in Gboard (all are black and white), separated by category:
In Firefox, ℹ and Ⓜ have circles around them but don't in Gboard, as do 🉐, 🉑, ㊗, and ㊙. Besides those, all the others from 🈁 to 🈵 have boxes around them in Firefox but not Gboard. That was probably more than you needed, but I wanted to be sure. |
Well, that looks like emojis which were already supported in 4.4 don't get overridden correctly. So just to be 100% sure: You installed this font by copying Did you change any other font besides the emoji font? And btw, what device are you using? I only tested it on (almost) vanilla Android devices. Oh, and that the hand, the woman in front of the computer and the light bread don't show up correctly seems to be an issue with KitKat not being able to display emoji sequences. This is something I already noticed. |
Wait a minute... Which shape does the black and white Tears of joy emoji have?
While the first one would mean that there are issues with the color rendering of older emoji, the second one would mean that another (non-emoji) font is overriding these emojis and the third one would mean, that you somehow still have the pre-KitKat b/w emojis installed 🤔 |
I didn't try any special apps, just viewing it in Firefox, Octodroid, and MiXplorer. When I said I tried the EmojiCompat font, I meant I downloaded the Edit: Just tried Blobmoji Preview and it didn't work at all. Though that might be a bug with EmojiCompat or Blobmoji Preview rather than Blobmoji. |
Okay. That there's no difference between the standard and the EmojiCompat font when using them as your system font is normal. That would mean it's rather unlikely that something went wrong with font priority. |
The Tears of Joy emoji is a circle, so the second one. |
I just got an idea: There's one thing I altered which could cause such an priority issue which is not present for the other fonts: |
Nope, that thread didn't fix it. Though maybe that is because I don't have a |
I can only guess, but I think a font which isn't present in the main fonts configuration (which is the case for |
Renaming it in |
Originally the font had the exact same name as Noto Color Emoji (I guess that's the name). But the current name is definitely |
I'm sorry for this delay, but this should work... |
Sorry, can't test. I gave the device to my brother. I'll try to convince him to let me test it though. |
So, did this solution work for you? 😅 |
I completely forgot about this, sorry. I seem to have lost the device I was using, I'll try and find it and report back. Sorry. |
No hurry 😄 As long as you don't have any issues, everything is fine. |
I can confirm that this does not work on Lollipop either. The kitkatcompat one linked above also does not work. That said, having paid attention when others ran into this issue back during either Marshmallow or Nougat's release, I can say for certain that this is caused by the changes to the font file that were made to include modifiers. I've never actually worked on them, though, so I don't know what needs to be done to revert back to the old font style without the modifiers, but that should be the solution. Just as a side note: The smaller file size on the compatibility version you linked suggests you already know this, but that something is still going wrong. (Unless it's just an old build that didn't have all the newest stuff.) Edit: Forgot to mention that I'll be happy to test anything to help get this working for older devices. |
Do you have a screenshot of the exact issue(s) you have? |
I can grab a screenshot later, but what Android 5.x and below end up showing is the generic version of the emoji (if one exists), followed by a square block of any skin color modifier that may have been used, and after that, a gender marker if the gender modifier was also used. Basically, up to three separate characters for a given emoji. But that's only for emoji that are displayed via other means. Google's keyboard won't display any of them because it can't get the proper modifier support from the system in order to categorize them. The emoji keyboard generally fails to load any of them at that point, though depending on the version, it might display the black & white emoji and a few other unicode symbols from other built-in fonts. Anyway, I'll work on grabbing a screenshot and edit it in here once I get it. |
That's normal. Support for (ZWJ) sequences was introduced in Android 6.0.1 (at least that was the first time they were used).
That's something I'm rather confused about. So you get something like 🦸♀ (with the second one not being shown as an emoji)? That's probably also something I guess I can't do anything about. |
And about Gboard not displaying them at all: That might be an implementation issue on their side. |
Oh, yeah, one thing about Gboard: They always use Noto emoji nowadays. |
Well, that makes everything even stranger... |
Is that the correct summary of your issue? |
The thing is, if you look at the screenshot from our Lollipop device, it actually shows the new emoji just fine, both in the keyboard and elsewhere -- even in the base system dialogs. The problem is that it didn't show modified versions in many cases, which is why the special versions of emoji fonts existed for pre-Marshmallow devices. It's strange that it'd show now, but the ROM I'm using could probably stand to be refreshed anyway, so I'll do that when I get the chance and get back to you. It should at the very least fix Gboard. Also, for clarity, this was using the regular Blobmoji.ttf font from the latest release, not the test font listed up above. Edit: Wrote that before seeing the last reply. Not quite. In addition to the stuff I wrote above, Firefox actually showed the modifiers separately with the old Oreo beta font. It isn't showing it with blobmoji, which tells me that Firefox does use the system emoji renderer, same as others. This is why I suspected an update to Google Play Services overriding the outdated system function and that the individual apps just hadn't cleared their font caches for whatever reason. |
Wait, Firefox shows the Oreo emojis? I also just created a new branch ( |
Sorry. I should've made it clear that I was using a different custom emoji font already. Obviously the standard font included with the ROM doesn't have those emojis. Sorry for any confusion that omission caused. 😅 Edit: Also, I'm using the Magisk module on my 9.0 device, so I'm not installing it to the system image itself. I should also clarify that I'm in no way referring to the default fonts for any ROM in any of my posts. Only the default functions and updated/blobmoji fonts. |
Here's an experimental build without any emoji sequences: |
Tested on my Lollipop device and nope, not working. I know that some sequences work (and are therefore required) but not all. I know racial sequences are supported, but things start to get sketchy with gendered and hair color sequences. Looking at Emojipedia, Emoji v4.0, 2016 is when gendered sequences were introduced, and given that Lollipop is from 2015, this would make sense. That's not to say that the emojis themselves have to be removed from the font, though. I recall seeing many of the 4.0 emojis like the blonde hair woman show up properly. I'm just not sure how those are done. I wish I could be of more help. I just never studied the inner workings of how the sequences are implemented, so I don't know what else to do. Edit: Actually, I think I remember one more piece of information that may be of help. "Man" was considered the "default" back then, so it was only the "woman" gendered sequence that was implemented. Ergo, the "man" gendered sequence would have to be removed for sure, but the "woman" one should be able to be kept. |
As Lollipop is now about 6 years old and Emoji 4 is almost 5 years old, is this really a relevant issue anymore? |
I tried taking the .ttf from the release and replacing the current font, but the emoji do not show. A few of the emoji show as black and white (I'm not sure if it's all the black and white emoji or if only some work), but the rest just do not show up. The Oreo NotoColorEmoji font works fine, as do the Nougat emoji, so I'm pretty sure it's an issue with this font. (Just to test, I also tried the EmojiCompat font, and got the exact same results).
The text was updated successfully, but these errors were encountered: