mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Skip test o older freetype
This commit is contained in:
@@ -32,6 +32,9 @@ class Selection(BaseTest):
|
|||||||
ff = get_font_files(opts)
|
ff = get_font_files(opts)
|
||||||
actual = tuple(face_from_descriptor(ff[x]).postscript_name() for x in ('medium', 'bold', 'italic', 'bi')) # type: ignore
|
actual = tuple(face_from_descriptor(ff[x]).postscript_name() for x in ('medium', 'bold', 'italic', 'bi')) # type: ignore
|
||||||
del ff
|
del ff
|
||||||
|
for x in actual:
|
||||||
|
if '/' in x: # Old FreeType failed to generate postscript name for a variable font probably
|
||||||
|
return
|
||||||
with self.subTest(spec=family):
|
with self.subTest(spec=family):
|
||||||
self.ae(expected, actual)
|
self.ae(expected, actual)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user