mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Format remaining files
This commit is contained in:
parent
bf47f90da6
commit
cb07debcb6
252 changed files with 5944 additions and 3744 deletions
|
@ -119,7 +119,8 @@ fn font_family(names: Vec<&str>) -> FontFamily {
|
|||
name: Atom::from(name),
|
||||
syntax: FamilyNameSyntax::Quoted,
|
||||
})
|
||||
}).collect();
|
||||
})
|
||||
.collect();
|
||||
|
||||
FontFamily(FontFamilyList::new(names.into_boxed_slice()))
|
||||
}
|
||||
|
|
|
@ -41,7 +41,8 @@ fn test_font_template_descriptor() {
|
|||
let mut template = FontTemplate::new(
|
||||
Atom::from(filename),
|
||||
Some(file.bytes().map(|b| b.unwrap()).collect()),
|
||||
).unwrap();
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
let context = FontContextHandle::new();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue