Better scoring for malformed fonts with weird weight ranges

This commit is contained in:
Kovid Goyal
2024-05-15 20:59:56 +05:30
parent 304ecdd8c2
commit 7cdcbe6aeb
3 changed files with 101 additions and 14 deletions

View File

@@ -54,7 +54,7 @@ class Selection(BaseTest):
if has_hack:
both('hack', 'Hack-Regular', 'Hack-Bold', 'Hack-Italic', 'Hack-BoldItalic')
if has_operator_mono:
both('operator mono', 'Hack-Regular', 'Hack-Bold', 'Hack-Italic', 'Hack-BoldItalic')
both('operator mono', 'OperatorMono-Medium', 'OperatorMono-Bold', 'OperatorMono-MediumItalic', 'OperatorMono-BoldItalic')
class Rendering(BaseTest):