Automatically propagate features from regular face to the other faces when they are set to auto

This commit is contained in:
Kovid Goyal
2024-05-30 11:41:12 +05:30
parent 6e29561486
commit 67a9ee680b
2 changed files with 8 additions and 1 deletions

View File

@@ -152,6 +152,7 @@ class Selection(BaseTest):
opts.font_family = parse_font_spec('family="liberation mono" features="dlig test=3"')
ff = get_font_files(opts)
self.ae(face_from_descriptor(ff['medium']).applied_features(), {'dlig': 'dlig', 'test': 'test=3'})
self.ae(face_from_descriptor(ff['bold']).applied_features(), {'dlig': 'dlig', 'test': 'test=3'})
class Rendering(BaseTest):