Skip to content

Commit

Permalink
Add support for OTF fonts (#1200)
Browse files Browse the repository at this point in the history
  • Loading branch information
rparrett authored Jan 3, 2021
1 parent 820f37f commit 8a330a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_text/src/font_loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ impl AssetLoader for FontLoader {
}

fn extensions(&self) -> &[&str] {
&["ttf"]
&["ttf", "otf"]
}
}

0 comments on commit 8a330a8

Please sign in to comment.