New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 907385 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: 2018-12-03
OS: Android , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Pirate flag and England/Scotland/Wales flags are misrendered

Reported by preeti.n...@samsung.com, Nov 21

Issue description

Example URL:
www.google.com

Steps to reproduce the problem:
1. Go to google.com
2. Input the flag emoticon shown in the image in google search

What is the expected behavior?
The emoticon should be displayed as shown on the keyboard

What went wrong?
The emoticon is displayed as two separate emoticons

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? No 

Does this work in other browsers? N/A

Chrome version: <Copy from: 'about:version'>  Channel: stable
OS Version: 
Flash Version:
 
Screenshot_20181121-124015_Chrome.jpg
244 KB View Download
Components: -Blink Blink>Forms
Labels: Needs-triage-Mobile
Components: -Blink>Forms Blink>Fonts>Emoji
Cc: chelamcherla@chromium.org
Labels: Target-70 Target-71 Target-72 M-72 Triaged-Mobile FoundIn-71 FoundIn-70 FoundIn-72
Status: Untriaged (was: Unconfirmed)
Tested the issue in Android and able to reproduce the issue. 

Steps Followed:
1. Navigated to google.com
2. Selected last flag from flags section of Samsung keyboard -- emoticon is not supported 

Chrome versions tested:
70.0.3538.110 , 72.0.3617.0

OS:
Android 8.0.0

Android Devices:
Samsung S9

Issue is seen from older M-60 builds, hence considering this issue as Non-Regression and marking as Untriaged for further inputs from dev team .

Thanks!
I tried with Chrome Dev, and, while I couldn't find the pirate flag, I had some problems with the Welsh, English and Scottish flags. I only got the small black flag like in the screenshot above (but no skull or anything else). All the other flags seemed to work just fine.

Then I tried Chrome Stable, and there it worked fine. Then I restarted Chrome Dev, and then it worked fine there as well.

My Chrome Dev version now is 72.0.3610.2, but I suspect that it just got upgraded from whatever broken version I had, since it suddenly started to work.

Android 8.0.0; F8331 Build/41.3.A.2.192 (Sony Xperia ZX-something)
Owner: drott@chromium.org
Status: Assigned (was: Untriaged)
So, the system is able to draw the emoticon somehow, since it's possible to select it. Still, Chrome fails to draw it.

Sending it to drott for further triage.

https://chromium-review.googlesource.com/c/chromium/src/+/1264519 looks relevant, but that one hasn't been merged to Chrome 70 (only 71 and later). And Chrome 70 works for me.
Labels: Needs-Feedback
NextAction: 2018-12-03
preeti.nayak@, can you attach all font configuration files from this phone, i.e.
/system/etc/*fonts.xml
/vendor/etc/*fonts.xml
and list the location of the emoji font on this phone?

The NextAction date has arrived: 2018-12-03
Cc: -chelamcherla@chromium.org markda...@google.com sindhu.chelamcherla@chromium.org
Labels: OS-Chrome
Chrome OS 73.x ( + crrev.com/c/1387603 that adds the latest version of Noto Color Emoji to CrOS [1]) is fine with most of flags including England/Scotland/Wales flags except for a new Unicode 11.0 flag sequence for 'pirate flag). 

The sequence is 

U+1F3F4 U+200D U+2620 U+FE0F  


[1] The latest version of Noto Color Emoji is available at https://github.com/googlei18n/noto-emoji/tree/master/fonts .  

Labels: OS-Mac
Chrome 71 and 73 (canary) on macOS 10.13.6 (High Sierra) have the same issue with sub-division flags. 

The attached screenshot was taken of https://unicode.org/emoji/charts/emoji-style.html#emoji_reg/tags_plain . 

The last three flags are England, Scotland and Wales flags. They're rendered with a generic flag glyph in Chrome (top) and actual flag glyphs in Safari (bottom). 

Screen Shot 2018-12-23 at 12.52.37 AM.png
1.1 MB View Download
Summary: Pirate flag and England/Scotland/Wales flags are misrendered (was: Flag emoticon not supported)
> Chrome OS 73.x ( + crrev.com/c/1387603 that adds the latest version of Noto Color Emoji to CrOS [1]) is fine with most of flags including England/Scotland/Wales flags except for a new Unicode 11.0 flag sequence for 'pirate flag). 


I was mistaken. On Chrome OS 73.x (+ crrev.com/c/1387603 ), both pirate flags and England/Scotland/Wales flags are all mis-rendered. All other flags are fine. 
UK subdivision flags:

U+1F3F4 U+E0067 U+E0062 U+E0065 U+E006E U+E0067 U+E007F	= 🏴󠁧󠁢󠁥󠁮󠁧󠁿	= England
U+1F3F4 U+E0067 U+E0062 U+E0073 U+E0063 U+E0074 U+E007F	= 🏴󠁧󠁢󠁳󠁣󠁴󠁿	= Scotland
U+1F3F4 U+E0067 U+E0062 U+E0077 U+E006C U+E0073 U+E007F	= 🏴󠁧󠁢󠁷󠁬󠁳󠁿	= Wales


Pirate flag: 

U+1F3F4 U+200D U+2620 U+FE0F	🏴‍☠️
Cc: js...@chromium.org
On Chrome OS 73.x + the latest Noto Color Emoji (that supports Pirate flag), 
subdivision flags are rendered correctly at 
https://unicode.org/emoji/charts/full-emoji-list.html#subdivision-flag while pirate flag is not. 

The difference between https://unicode.org/emoji/charts/full-emoji-list.html#subdivision-flag and what's in comment 12 is that the former explicitly specifies 'Noto Color Emoji', while 'comment 12' above does not. 

Subdivision flag rendering issue boils down to the font selection/fallback issue. 

In case of Pirate flag, the sequence recognition (U+1F3F4 U+200D U+2620 U+FE0F) as a single grapheme is broken (i.e. the sequence is rendered in two glyphs; black flag + skull). 
Summary: Pirate flag and England/Scotland/Wales flags are misrendered (was: Pirate flag and England/Scotland/Wales flags are misrendered )
> subdivision flags are rendered correctly at 
https://unicode.org/emoji/charts/full-emoji-list.html#subdivision-flag

The same is true of macOS 10.13 ('Apple Color Emoji' is explicitly specified in CSS). 

Sign in to add a comment