New issue
Advanced search Search tips

Issue 631553 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 630508
Owner:
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Setting font-family in inspector doesn't update font sometimes.

Project Member Reported by bunge...@chromium.org, Jul 26 2016

Issue description

I first noticed this with a local build of Chromium 54.0.2809.0, and was able to bisect this issue to https://chromium.googlesource.com/chromium/src/+log/efaf1b116773bbbc1b5e77358171f8c8d6b6b771..23fff35c8f6011affb8c3025b5e4ec3e82c13bb0 . As a result it seems this is most likely related to https://codereview.chromium.org/1939203002/ .

The issue is that if I open Chromium (after the above range, release 52 and later have this range), go to fontconfig.org (the site doesn't really matter), inspect some body text on that page, use the inspector to add 'font-family: Nimbus Sans L;' to the element style (I have this font installed) the font metrics appear to update (the line height seems to change) but the actual font and glyphs do not. According to the inspector the font initially chosen was Times New Roman, which is the current standard and standard serif font. If I perform these same actions before the above range then the font changes as expected to Nimbus Sans L when adding the above css to the element style.
 
Cc: e...@chromium.org
Mergedinto: 630508
Status: Duplicate (was: Untriaged)
'Latin Modern Mono', 'Latin Modern Roman', 'Latin Modern Sans' all seem to work as expected.

After some more investigation, it appears that the issue is that Nimbus Sans L (and the Nimbus fonts I have installed generally) are .pfb Type1 fonts which I don't think HarfBuzz supports internally.

The Nimbus family on my machine appears to be coming from the gsfonts package.

As a result, this appears to be a duplicate of 630508.

Sign in to add a comment