Disable subpixel positioning on chrome os
Subpixel positioning was needed because text layout was performed at 1x device scale factor and then rastered to the final display device scale factor leading to glyph artifacts and inconsistent glyph positioning. With pixel canvas enabled on chrome os, the text layout is now always performed at the final display device scale factor. This, coupled with the replacement of ui scale with display zoom, the text on Chrome OS is now always rastered with the correct glyph positioning and it no longer requires subpixel positioning. Updates unittests. Bug: 835187,824154,716662 Change-Id: Ibcf6314321777da81335769927d65d52911855df Component: Text render, subpixel positioning, font Reviewed-on: https://chromium-review.googlesource.com/1027005Reviewed-by:Dan Erat <derat@chromium.org> Commit-Queue: Malay Keshav <malaykeshav@chromium.org> Cr-Commit-Position: refs/heads/master@{#553738}
Showing
Please register or sign in to comment