Don't make fonts::Features Copy

This commit is contained in:
Antonio Scandurra 2023-03-17 13:54:56 +01:00
parent 989c9f0196
commit 4d915f4530
13 changed files with 36 additions and 44 deletions

View file

@ -27,7 +27,7 @@ pub fn marked_display_snapshot(
let family_id = cx
.font_cache()
.load_family(&["Helvetica"], Default::default())
.load_family(&["Helvetica"], &Default::default())
.unwrap();
let font_id = cx
.font_cache()