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

Issue 768251 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Unnamed web font names are displayed as ".—Network resource"

Reported by mqu...@gmail.com, Sep 24 2017

Issue description

Chrome Version       : 61.0.3163.100
OS Version: 10.0
URLs (if applicable) :
Other browsers tested:
  Add OK or FAIL after other browsers where you have tested this issue:
     Safari 5:
  Firefox 4.x:
     IE 7/8/9:

What steps will reproduce the problem?

* Load a webpage that uses a custom font-style referencing a web font that does not contain meta information

* (or just go to https://jsfiddle.net/pw0xe5mj/3/ for a demonstration of the issue in question)

* Open developer tools
* Select the element using the custom font for inspection
* Switch to the "computed styles" tab in the web inspector
* Scroll the bottom to see the rendered web font

What is the expected result?

The name of the font as shown in the computed styles tab rendered font section should be "Camphor - Network resource"


What happens instead of that?

The name of the font is shown as ".—Network resource" 


Please provide any additional information below. Attach a screenshot if
possible.

UserAgentString: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

When no name is present in the loaded woff file, the name should be derived from `font-family` attribute of the `@font-face` css directive.

 
Components: Platform>DevTools
Labels: Needs-Triage-M61
Cc: ranjitkan@chromium.org
Labels: Needs-Feedback
Rechecked this issue on Windows 10, Mac 10.12.6, Ubuntu 14.04 using chrome version 61.0.3163.100. Observed that in computed style the font family displayed was Camphor. Screen shot attached. 

@mqudsi: Can you please check the attached screen shot and let us know if this is intended or let us if we have missed any thing here.

Thanks.!
Computed Style.png
353 KB View Download

Comment 3 by mqu...@gmail.com, Sep 25 2017

@ranjitkan your screenshot displays the bug I am talking about.

It's not the computed style font family, it's the "rendered font" at the very bottom of the computed style tab.
Project Member

Comment 4 by sheriffbot@chromium.org, Sep 25 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "ranjitkan@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Needs-Bisect
Labels: -Pri-3 -Needs-Bisect M-63 OS-Linux OS-Mac Pri-2
Status: Untriaged (was: Unconfirmed)
Thanks for the update provided, able to reproduce the issue on 61.0.3163.100 on Windows 10, Mac 10.12.6, Ubuntu 14.04. issue is a non regression as seen from M52 builds (52.0.2705.0). Prior M52 only "- 65 Glyphs" is displayed under "Rendered font section". Screen shot attached.

Untriaging it so that issue gets addressed and removing bisect label. 

50.0.2624.0_Webfont.png
407 KB View Download
Owner: einbinder@chromium.org
Status: Assigned (was: Untriaged)
Joel, can you take a look?

Sign in to add a comment