forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1721612 - (followup) Rename AdjustAdvancesForSyntheticBold to App…
…lyTrackingToClusters, and clamp the adjusted advance to avoid becoming negative. r=gfx-reviewers,lsalzman This is not necessary to fix the observed bug, but as a precaution against excessive negative tracking, let's clamp the adjusted advance so that it can't become negative (which seems unlikely to end well). Also rename the method, given that it is not only used for synthetic bold adjustments any longer. (No change in behavior, except in the edge-case of a font that has such small advances and extreme tracking that it tries to go backwards...) Depends on D193288 Differential Revision: https://phabricator.services.mozilla.com/D193289
- Loading branch information
Showing
3 changed files
with
15 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters