Reland: Remove rounding to allow finer font weight granularity.
Patch that fixes the win7 error that happened in previous CL: https://chromium-review.googlesource.com/c/chromium/src/+/1496534 Should complete this revert first: https://chromium-review.googlesource.com/c/chromium/src/+/1538811 This is necessary in Windows since some fonts are not limited to weights that are multiples of 100. Eg. Segoe UI with a weight of 350 should match the semilight font as opposed to the regular one. Bug: 944301 Change-Id: I59e30d05be13bbfdc0bc06b82f2656f25ede525f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1538890 Commit-Queue: Jonah Chin <jochin@microsoft.com> Reviewed-by:Dominik Röttsches <drott@chromium.org> Cr-Commit-Position: refs/heads/master@{#644399}
Showing
Please register or sign in to comment