Add support for OTF fonts (#1200)

This commit is contained in:
Rob Parrett 2021-01-03 13:10:23 -07:00 committed by GitHub
parent 820f37fccf
commit 8a330a889d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,6 @@ impl AssetLoader for FontLoader {
}
fn extensions(&self) -> &[&str] {
&["ttf"]
&["ttf", "otf"]
}
}