Add support for OTF fonts (#1200)
This commit is contained in:
parent
820f37fccf
commit
8a330a889d
@ -20,6 +20,6 @@ impl AssetLoader for FontLoader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn extensions(&self) -> &[&str] {
|
fn extensions(&self) -> &[&str] {
|
||||||
&["ttf"]
|
&["ttf", "otf"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user