Revert "Do clean up in PlatformFontMac"
This reverts commit c2e39ede. Reason for revert: Breaks Mac builder (https://ci.chromium.org/p/chromium/builders/ci/Mac%20Builder/119092) Original change's description: > 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} TBR=ellyjones@chromium.org,avi@chromium.org Change-Id: I7a7d792d80eadfab524fc7235c3b9a349a34c970 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1101426 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2343490Reviewed-by:Dominique Fauteux-Chapleau <domfc@chromium.org> Commit-Queue: Dominique Fauteux-Chapleau <domfc@chromium.org> Cr-Commit-Position: refs/heads/master@{#796059}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment