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

Issue 648098 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Compat



Sign in to add a comment

Spaces rendered as zero-width with Noto Color Emoji and fontconfig modification

Reported by idlike2d...@gmail.com, Sep 19 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2859.0 Safari/537.36

Example URL:
http://vapor.codes/

Steps to reproduce the problem:
1. Open http://vapor.codes/

What is the expected behavior?

What went wrong?
In the text below icons, the spaces in between words is missing. You can see that in attachment.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? N/A 

Did this work before? Yes 

Does this work in other browsers? Yes 

Chrome version: 55.0.2859.0  Channel: dev
OS Version: Ubuntu 16.04
Flash Version: Shockwave Flash 23.0 r0
 
no_spaces.png
41.7 KB View Download
Labels: Needs-Bisect

Comment 2 by ajha@chromium.org, Sep 21 2016

Cc: ajha@chromium.org
Labels: TE-NeedsTriageFromMTV
This is working fine on the reported version: 55.0.2859.0 on Linux Ubuntu 14.04. Attached is the screen-shot. If reproducible, could be specific to Ubuntu 16.04. Don't have Ubuntu 16.04 as of now here. Looping MTV team to check if this is available there.

idlike2dream@: Could you please confirm if the issue is seen incognito mode or new user as well?
648098.png
362 KB View Download
Yes. I can confirm issue with both in incognito mode and new user as well. 

Even the offline dinosaur page seems to have issue.
Screenshot from 2016-09-21 13-56-04.png
203 KB View Download
Screenshot from 2016-09-21 13-57-11.png
14.1 KB View Download
Screenshot from 2016-09-21 13-58-09.png
239 KB View Download
Components: Blink>Layout

Comment 5 by skobes@chromium.org, Nov 13 2016

Components: -Blink>Layout Blink>Fonts
Owner: e...@chromium.org
Status: Assigned (was: Unconfirmed)
@eae, any idea what could cause something like this?
This seems to be caused by setting `font-family: sans;` 

https://jsbin.com/modukolutu/edit?html,output

Screenshot from 2016-12-14 02-23-56.png
94.9 KB View Download

Comment 7 by e...@chromium.org, Dec 13 2016

Interesting, almost looks like a broken font. What is your sans font set as in settings?
Roboto. Using `font-family:Roboto` works normally. 

Comment 9 by e...@chromium.org, Dec 13 2016

Cc: derat@chromium.org
That is really odd. Dan, any idea what might be causing a difference between specifying the font family directly vs a configured font?

Comment 10 by derat@chromium.org, Dec 13 2016

Cc: drott@chromium.org behdad@chromium.org
Not offhand, although I assume it could be getting mapped to something else by fontconfig. Adding some people who might understand that part better, as I don't have much state on Blink fonts anymore.

Comment 11 by drott@chromium.org, Dec 15 2016

Could you right click, inspect, then in the Computed style tab, scroll down: Could you report what font is used to render the text?

Do you have any modifications to fontconfig where you're prioritizing and Emoji font like Noto Color emoji?

Comment 12 Deleted

@drott Yes. I wanted to render emoji in chrome so, I made some changes to fontconfig.
Screenshot from 2016-12-15 19-02-01.png
19.9 KB View Download

Comment 14 by drott@chromium.org, Dec 15 2016

Owner: drott@chromium.org
After recent emoji related fixes, latest Chrome should pick up Noto Color Emoji without such a fontconfig modification, if you'd like to try that. If it does not use Noto Color Emoji where you'd expect it to, let's file separate bugs for that. But putting Noto Color Emoji at first in the fontconfig chain is probably not a configuration we can support.

Comment 15 by drott@chromium.org, Dec 15 2016

Cc: kochi@chromium.org
Issue 673312 has been merged into this issue.

Comment 16 by drott@chromium.org, Dec 15 2016

Summary: Spaces rendered as zero-width with Noto Color Emoji and fontconfig modification (was: Spaces between text is not rendered)
Additional details of one fontconfig modification under which this issue occours in issue 673312.
It doesn't show the Noto Color Emoji font automatically on github pages. 

The page I attached. Noto Color Emoji is not specified but the first row uses Noto Color Emoji but others don't can you tell what is happening? When I look under Computed tab Noto Color Emoji is used for first row and Symbola are used for the rest.
Screenshot from 2016-12-15 21-01-16.png
498 KB View Download

Comment 18 by keghani@google.com, Dec 15 2016

@drott FWIW: I (from the duplicate Issue 673312) renamed my ~/.fonts.conf to ~/.fonts_backup.conf and downloaded NotoColorEmoji.ttf from https://www.google.com/get/noto/ into ~/.fonts, and restarted chrome. I still do get issues.
Cc: brajkumar@chromium.org
Labels: -TE-NeedsTriageFromMTV -Needs-Bisect
Tested this issue on Ubuntu 16.10 using chrome latest stable M55-55.0.2883.87. By opening the below URL's observed both the links works fine as expected and no spaces are seen in between texts.

1. http://vapor.codes/
2. https://jsbin.com/modukolutu/edit?html,output

Note: Since this issue doesn't have consistent repro steps removing bisect label, Please feel free to add if it's required.

Thanks!

Comment 20 by e...@chromium.org, Dec 5 2017

Status: Fixed (was: Assigned)

Sign in to add a comment