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

Issue 916276 link

Starred by 12 users

Issue metadata

Status: Fixed
Owner:
Closed: Jan 11
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Feature

Blocking:
issue 912140



Sign in to add a comment

Allow Chrome to render in scales other than multiples of 25%

Project Member Reported by dfried@chromium.org, Dec 18

Issue description

We added logic to round to multiples of 25% to prevent potential regressions with Windows Text Scaling enabled. In the past we have had problems scaling our browser to other than 125%, 150%, etc.

Text Scaling can specify an arbitrary percentage. Very few of our users were using custom scale factors that weren't multiples of 25%, so this would affect fewer people. However, see  issue #912140  - we do have a number of users who have custom scale factors. So we should at least try turning off the rounding, or at least providing a flag that turns it off and let people live with the results.

We should prioritize this and decide where it goes in terms of development.
 
### First!
I think your first step is reverting back changes what you just did since chrome 71 for dpi and rounding to 25%. As for a solution for saving people eyes, and nervous.


===========================================================================


### Second!
There are a lot of laptops with 15.6" displays and 1920x1080 resolution (or higher) which make them not readable on 125% scaling (dangerous for eyes).

There also ISO standards related to text sizes, font sizes, etc things.

Standart: https://www.iso.org/standard/16875.html


===========================================================================


### Third!
Since around Chromium 58 you broke almost all fonts for a lot of people like me.
Right now I talk only about next models of laptops:

Requirements to solve font issues:
15.6" display size, 1366x768 resolution, scaling 100%, windows 10 1809
15.6" display size, 1920x1080 resolution, scaling 125%, windows 10 1809
15.6" display size, 1920x1080 resolution, scaling 141%, windows 10 1809
15.6" display size, 1920x1080 resolution, scaling between 125% - 150%, windows 10 1809.

1. You must buy such laptops (two) one with 1366x768, and another with 1920x1080 resolution.
This is must have an option, for long-term usage (for around few weeks will be enough to feel a lot of pain, what almost all users which using Chromium feeling for a long time).

2. On resolutions and scaling rates above you will notice issues with Chrome fonts, they are or thin, or inaccurate, or have not saturated gradient, which makes reading very difficult.

3. While in Firefox 64, 65, 66, Edge (latest) - Fonts just okay, on all resolutions and scaling factor.

Again, the problem can not happen on different resolutions or displays, but always happen under conditions above with Chromium.

===========================================================================


### About ISO standard and marketing vs people eyes vision.

I talk again about 15.6" laptop display.
And about next resolutions:

- 1366x768 (100% scaling)
- 1920x1080 (100% scaling) with default 125% scaling factor which Windows 10 recommend by default.

Before explaining the whole situation, by a lot of text, let me just make some summary:

1. Marking over people real vision, recommend standards from ISO, against comfort. The current situation with displays, resolutions - awful in terms of safety of people eyes vision in long perspective, and this is not a joke, because vision is the main ability of human life. Without a vision - very hard to physically survive, so the everything what will explain below must be accepted seriously, without ignoring this top priority problem.

2. Windows 10, and many different other software corporations killing people vision by does not care about it at all, while they MUST to do so. Microsoft uses 125% / 150% / 175% / 200% scaling, not because it's a comfortable size for a device where it will be used, but because they just have less work to do it properly. They just need a good "numbers, which easy to manipulate", and nobody really cares about humans vision at all.

What is 125% scaling? 125% scaling in windows = 120DPI, What is 150% scaling in Windows? It's 144 DPI. (96 default PPI * 150%).

As you see, there is no fraction at all. And all problems come from it.

People forgot, that there was a display with such diagonals like 15.6" with much lower resolutions, and now marketing forces people buy more and more resolutions, while it's not safe for clients eyes.

Again, please read standart: https://www.iso.org/standard/16875.html

====================================


Calculate the proper size of text by yourself based on standard

Standard again: https://www.iso.org/standard/16875.html

Calculator (google docs) which follow standard above.
People who wish to know, which RECOMMEND and GOOD, COMFORTABLE, which will NOT DESTROY your VISION character physical size on different display sizes from a different distance.

**Calculator**
https://docs.google.com/spreadsheets/d/1KTNvRdNT7tmqtHzE7u5GYO69CAk3rvBd9qisXElLdkI/edit?usp=sharing

Everything is explained in the calculator (it's not mine, but some good guy made, and I have verified, that the calculator is absolutely correct).

tl;dr: On Windows 10 with 1920x1080 resolution and default 125% scaling, the physical character size is smaller in twice how it's really must to be, if you wish to care about your eyes, and do not have eyes vision problems.

On 1920x1080 resolution with 141% scaling from Windows, optimal, comfortable, and safe for long usage character font size must be 14-16 pixels.

Please try to play with the calculator, and you will understand almost everything.


This is what google devs MUST accept and use in Google Chrome if they care about people health and eyes.


Forgot to add a reference: https://habr.com/post/412081/ (use google translate, if you don't understand Russian)
Comment 1



just for your hard work writing this , I hope that you will be heard.. I want to add that not only the letters-character appear smaller and hard to read but all the things like images and sites in general.. I use 132% scaling in my   1920x1080 resolution laptop but chrome does not respect that and appears as if the scaling is 125%.. things were perfect to 70 version and before .. I don't know what happent to 71 version and thing are messed up .. 
Status: Started (was: Untriaged)
Blocking: 912140
Owner: dfried@chromium.org
Project Member

Comment 7 by bugdroid1@chromium.org, Jan 10

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/eb0b5dd8dc6db45339a6c8b2850f7f19a9f38b44

commit eb0b5dd8dc6db45339a6c8b2850f7f19a9f38b44
Author: Dana Fried <dfried@chromium.org>
Date: Thu Jan 10 23:47:53 2019

Relax x25% rounding requirement on browser scale factor.

We originally put in this logic to prevent the use of the new Text
Scaling/Text Zoom accessibility feature in the latest Windows 10
release from creating unusual scaling factors that we had not had the
ability to fully test. However, we got a number of complaints from
users who normally ran in custom scale factors on Windows (see issue
#912140).

Scale factors other than 25% do not seem to produce significant visual
artifacts except slight (sub-pixel) aberrations at specific scale
factors when there is a stroke around the active tab due to low theme
contrast.

Given some users' desire to see scale factors like 135% or 114% (which
is evidently the default on at least one laptop model), this appears to
be mostly win. We may have to do some pixel-pushing to be 100% visually
polished if many users enable Windows Text Scaling accessibility
feature, but from what I have seen those polish issues are likely to be
rare and relatively minor.

Bug:  916276 
Change-Id: I5e49e8c06689d47a320d385c8b927665dbd51c3c
Reviewed-on: https://chromium-review.googlesource.com/c/1388662
Reviewed-by: Robert Liao <robliao@chromium.org>
Commit-Queue: Dana Fried <dfried@chromium.org>
Cr-Commit-Position: refs/heads/master@{#621803}
[modify] https://crrev.com/eb0b5dd8dc6db45339a6c8b2850f7f19a9f38b44/ui/display/win/screen_win.cc

Status: Fixed (was: Started)
Marking as fixed.

Note that this will not fix the unsupported command-line flags (which are intended for internal/debugging use only). Chrome will also continue to respect the new Windows Text Zoom accessibility feature by scaling the entire browser.

This only affects cases where the DPI + Text Zoom (if enabled) would produce a scale factor that is not a multiple of 25%; in that case, the exact scale factor will be respected instead of rounding to the nearest 25% as we did after adding Text Zoom support.

Please report any visual artifacts resulting from odd scale factors as separate bugs.

Sign in to add a comment