Do clean up in PlatformFontMac
Do not try to derive one weight of font from another. Use the API to directly generate them. PlatformFontMacTest.FontWeightAPIConsistency tested that our understanding of shifting weights up and down was correct. The code no longer shifts weights up and down as that is unreliable and version-specific, so there is no need to test weight shifting and it is removed. This also fixes Big Sur issues. Bug: 1101426 Change-Id: I2165c3550ad295b3ee7742f3289874ed2bb89c68 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2340262 Commit-Queue: Avi Drissman <avi@chromium.org> Auto-Submit: Avi Drissman <avi@chromium.org> Reviewed-by:Elly Fong-Jones <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#796044}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment