Skip to content

Commit

Permalink
Add support for OTF fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
rparrett committed Jan 3, 2021
1 parent ca310b8 commit 9c5e455
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 9c5e455

Please sign in to comment.