-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
font-patcher: Fix: Use WIN metrics in all conflicting cases
[why] With commit 6210087 font-patcher: Use WIN metrics in all conflicting cases we intended to use the WIN metrics for the baseline to baseline calculations for fonts that have contradicting (i.e. broken) metrices. But we use the TYPO metrics instead. [how] This is obviously a typo in the code. To prevent such errors and improve the readability we use Enums now. I believe we silently dropped support for Python 2 some time back. And if not we drop it today :-} [note] Many thanks to Nathaniel Evan for again finding this bug! Mentioned in: #1116 Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
- Loading branch information
Showing
1 changed file
with
11 additions
and
6 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