The following JS Bin contains 3 sets of 10 lines of text. Each line increases the font size by 0.1px. The sets start at 11, 12 and 13px respectively:--I am working on Windows 10, Chrome 47. I would ideally expect a smooth increase in line length; however, the result seems to be fairly random stepping of line length. The above screenshot was taken at 100% browser zoom, but the result changes significantly if the browser zoom is changed.Could anyone shed light on what is going on here, and whether this is actually a bug?From CrossBrowserTesting, it appears that Chrome 37, the first stable version with DirectWrite, produces a smooth increase in line length; Chrome 38 onwards shows the stepping as above.If DirectWrite is turned off (chrome://flags), at 100% zoom, there is obvious rounding of fractional font sizes to the nearest whole pixel. At least this is predictable, and can be worked around. With DirectWrite on (default), I'm not currently able to explain what is happening.
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.
It is somewhat related but is a different topic, I'll comment on the bug for that one.
Technically I can see no way for a subpixel-disabled font to scale linearly. If you could talk about use cases, maybe we can understand what you want to solve better.
/koji