Closed Bug 944872 Opened 11 years ago Closed 3 years ago

Firefox on Android 4.4 doesn't correctly show some utf-8/emoji

Categories

(Firefox for Android Graveyard :: General, defect)

28 Branch
ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: paulv, Unassigned)

References

()

Details

(Keywords: reproducible, testcase)

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux i686; rv:25.0) Gecko/20100101 Firefox/25.0 (Beta/Release)
Build ID: 20131112160018

Steps to reproduce:

I browsed to http://www.canonical.org/~paulv/emoji.html.


Actual results:

On Android 4.4 (Nexus 7 2013), using Firefox 25.0.1 and Firefox Beta, downloaded from the Google Play Store, the line with the utf-8/emoji is rendered incorrectly.

On Android 4.3 (Nexus 7 2013), using Firefox 25.0.1, the line with the utf-8/emoji was rendered correctly (I upgraded the device, so I can't test it in 4.3).

On Android 4.1.2 (Samsung Galaxy S3), using Firefox 25.0.1, the line with the utf-8/emoji is rendered correctly.

The bug is a bit odd. It seems to delete the previous characters on the line. View source on the page to see what the line should look like.


Expected results:

The page should render correctly.
I see this on my Nexus 5 as well (tested with Nightly 28.0).
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → Android
Hardware: x86 → ARM
Version: Firefox 25 → Firefox 28
Simple test-case: data:text/plain;charset=UTF8,%F0%9F%90%B1
Could you attach a screenshot showing the incorrect rendering, please?
I have the Nexus 7 2012 Android 4.4 "KitKat" /system/fonts/ folder at http://people.mozilla.org/~kbrosnan/tmp/944872/n7-2012-fonts.zip
Attached image Chrome on Android 4.4
Chrome doesn't get this test case right either, but it does manage to show the text that Firefox doesn't (But fails at the Emoji as well)
Hmm - looks like the 4.4 /system/fonts/ folder (from comment 5) includes Google's "Noto Color Emoji" font, which uses their new (and not standardized) format to embed color bitmaps. I suspect that's probably triggering the problem, although I'm not sure why - even if we can't render that font (which requires a pretty recent version of FreeType, at least), it shouldn't affect the rest of the text.
Support for the color emoji font is bug 974575 and bug 969814.

I believe the other missing (non-emoji) text was bug 973380, which should now be fixed on trunk.
Depends on: 974575, 969814, 973380
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: