mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 01:08:10 +02:00
Accomodate the fact that arch linux fira code ttf package excludes the variable version. Sigh.
This commit is contained in:
@@ -53,7 +53,7 @@ class Selection(BaseTest):
|
|||||||
self.ae(expected, actual)
|
self.ae(expected, actual)
|
||||||
except AssertionError:
|
except AssertionError:
|
||||||
if alternate:
|
if alternate:
|
||||||
self.ae(tuple(map(alternate, expected)), actual)
|
self.ae(alternate, actual)
|
||||||
else:
|
else:
|
||||||
raise
|
raise
|
||||||
|
|
||||||
@@ -76,7 +76,10 @@ class Selection(BaseTest):
|
|||||||
|
|
||||||
t('Source Code Pro', 'SourceCodePro', 'Semibold', 'It')
|
t('Source Code Pro', 'SourceCodePro', 'Semibold', 'It')
|
||||||
t('sourcecodeVf', 'SourceCodeVF', 'Semibold')
|
t('sourcecodeVf', 'SourceCodeVF', 'Semibold')
|
||||||
t('fira code', 'FiraCodeRoman', 'SemiBold', 'Regular', 'SemiBold')
|
|
||||||
|
# The Arch ttf-fira-code package excludes the variable fonts for some reason
|
||||||
|
t('fira code', 'FiraCodeRoman', 'SemiBold', 'Regular', 'SemiBold', alternate=(
|
||||||
|
'FiraCode-Regular', 'FiraCode-SemiBold', 'FiraCode-Retina', 'FiraCode-SemiBold'))
|
||||||
t('hack', 'Hack')
|
t('hack', 'Hack')
|
||||||
# some ubuntu systems (such as the build VM) have only the regular and
|
# some ubuntu systems (such as the build VM) have only the regular and
|
||||||
# bold faces of DejaVu Sans Mono installed.
|
# bold faces of DejaVu Sans Mono installed.
|
||||||
|
|||||||
Reference in New Issue
Block a user