Add support for swash

This commit is contained in:
Jeremy Soller 2022-10-07 09:41:36 -06:00
parent 51639e53cb
commit cf43655357
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE
7 changed files with 116 additions and 66 deletions

View file

@ -53,7 +53,9 @@ impl<'a> FontSystem<'a> {
}
}
if ! fonts.is_empty() {
Some(FontMatches { fonts })
Some(FontMatches {
fonts
})
} else {
None
}