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

Issue 691181 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Compat



Sign in to add a comment

Font spacing occasionally inconsistent

Reported by term...@gmail.com, Feb 11 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Example URL:
https://twitter.com/mdo

Steps to reproduce the problem:
1. Go to https://twitter.com/mdo
2. Set zoom in prefs to 125% or manually zoom in twice
3. Observe the 'M' and 'a' in Mark have no column of space between them.

What is the expected behavior?
The M and a should have some whitespace.

What went wrong?
There's no whitespace between the M and the a. Refer to the animated GIF 'Chrome 56.0.2924.87 zoom test' and Closeup.PNG.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? N/A 

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 56.0.2924.87  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 24.0 r0

I am running chrome with --force-device-scale-factor=1 because I don't use cleartype and there's some sort of bug with not using that now that doesn't seem to have any interest. For the most part forcing the scale has worked great, I just set Chrome to use 125% zoom and everything looks ok. However I can't help but wonder if this is somehow related to that, because when I don't force device scale I get a lot of bad font spacing. See more at https://bugs.chromium.org/p/chromium/issues/detail?id=410696#c46

Also though I doubt it's relevant I recently reported a bug in Firefox showing a similar font spacing problem. See more at https://bugzilla.mozilla.org/show_bug.cgi?id=1334761

 
Closeup.PNG
17.2 KB View Download
Chrome 56.0.2924.87 zoom test.gif
750 KB View Download
Labels: Needs-Triage-M56
Cc: sureshkumari@chromium.org
Labels: Needs-Feedback
Unable to reproduce the issue on Windows-7,Mac-10.12.2 and Linux Ubuntu 14.04 using chrome stable version 56.0.2924.87 and canary 58.0.3013.0 with the steps mentioned above.

Could you please try in a clean profile without any apps/extensions and let us know your observations if the issue still persists.

please find the attached screenshot for reference.
691181.PNG
195 KB View Download

Comment 3 by term...@gmail.com, Feb 16 2017

Did you try with cleartype disabled?
Project Member

Comment 4 by sheriffbot@chromium.org, Feb 24 2017

Labels: -Needs-Feedback Needs-Review
Owner: sureshkumari@chromium.org
Thank you for providing more feedback. Adding requester "sureshkumari@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: kkaluri@chromium.org
Components: UI
Labels: Needs-Feedback
Owner: ----
Unable to reproduce this issue on Windows 10 (cleartype disabled) with chrome version #56.0.2924.87 (with flag --force-device-scale-factor=1)

Observed the font spacing is consistent, attaching the screen-cast and screenshot for reference.

Could you please re-try  the same scenario in a clean profile without any apps/extensions and let us know your observations.

Thank You...
Issue 691181.PNG
179 KB View Download
Issue 691181.mp4
1.5 MB View Download

Comment 6 by term...@gmail.com, Mar 1 2017

I reproduced it in a clean Windows 7 VM. Display is set to 125% and cleartype is disabled. I did not use force-device-scale-factor or zoom in Chrome. You can see the M and the a are close together, and also you can see in the location bar how all the fonts are messed up. Is nobody else using cleartype disabled in Windows or is this something specific to me for some reason?
Capture.PNG
704 KB View Download
Project Member

Comment 7 by sheriffbot@chromium.org, Mar 1 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "kkaluri@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
Components: Blink>Fonts
Labels: -Needs-Review Needs-Feedback
Unable to reproduce this issue on Win 7 VM with chrome #56.0.2924.87

These are the steps followed

1. Disabled clear text type
2. Changed the display setting to 125%
3. Launched chrome and navigated to test URL

Didn't seen any inconsistency in font spacing, attaching the screenshot for reference 
termsrv@, Could you please look into and let us know your observations.

Requesting fonts dev team to look into it and address the issue.

Thank You...
691181.PNG
362 KB View Download

Comment 9 by term...@gmail.com, Mar 10 2017

I forgot to mention that font smoothing is disabled.

Control Panel > System > Advanced system settings > Performance settings > Uncheck 'Smooth edges of screen fonts'

The problem happens regardless of if --force-device-scale-factor=1 is used.
Clipboard01.png
64.6 KB View Download
Project Member

Comment 10 by sheriffbot@chromium.org, Mar 10 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "kkaluri@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
Cc: rbasuvula@chromium.org
Labels: -Needs-Triage-M56 hasbisect-per-revision M-59
Owner: bunge...@chromium.org
Status: Assigned (was: Unconfirmed)
As per comment #9,Tested in chrome stable #57.0.2987.98 and canary #58.0.3037.0 on Win 10.0 & 7  able to reproduce the issue.

Below are the Bisect Details:
Good build:41.0.2247.0 (Revision:307880).
Bad build:41.0.2248.0  (Revision:308041).

You are probably looking for a change made after 307879 (known good), but no later than 307885 (first known bad).

CHANGE-LOG URL:
---------------
https://chromium.googlesource.com/chromium/src/+log/d15a2c134846cb7ef7d2a902ffe7cb1928b81de6..27e09537d5f4ecd291800274da7ff0f4f62b9348

From the CL above, assigning the issue to the concern owner

@bungeman  : Could you please look into the issue, pardon me if it has nothing to do with your changes and if possible please assign it to concern owner.

Review-Url:  https://codereview.chromium.org/770383002.
Note: Issue specific to Windows.Not seen in linux and Mac.

Comment 12 by ajha@chromium.org, Apr 11 2017

bungeman@: Could you please confirm if this is related to your change from skia changelog(https://chromium.googlesource.com/skia/+log/2947382..3490263) listed under the CL in C#11. 

Comment 13 by term...@gmail.com, Nov 13 2017

Can anyone take another look at this, it's been over 6 months without an update.

Attached is an animated GIF of a Google spreadsheet that shows the font when the page initially loads (Arial) and then when the page finishes loading it says font not found, but still shows the same font (Arial) although the spacing goes bad.

I tested a bunch of old versions and went as far back as Chrome 36 and the bug seems to be present there as well. It seems to be visible only at zooms higher than 100% for example 125%. This does look similar to the bug I reported in Firefox.

I have ClearType and font smoothing disabled on this computer, Windows 7 x64 Enterprise.
Chrome Font Spacing - Good and Bad - Animated.gif
80.0 KB View Download
Cc: bunge...@chromium.org
Owner: drott@chromium.org
It's possible that blink is laying out the text at a 1x scale factor, those metrics are being scaled up linearly, but the actual text drawing does not scale linearly (as expected, especially with aliased rendering and hinting).

Sign in to add a comment