bevy/crates/bevy_text/src
François e0e5f3acd4
add a default font (#8445)
# Objective

- Have a default font

## Solution

- Add a font based on FiraMono containing only ASCII characters and use
it as the default font
- It is behind a feature `default_font` enabled by default
- I also updated examples to use it, but not UI examples to still show
how to use a custom font

---

## Changelog

* If you display text without using the default handle provided by
`TextStyle`, the text will be displayed
2023-04-21 22:30:18 +00:00
..
error.rs Remove TextError::ExceedMaxTextAtlases(usize) variant (#6796) 2022-12-05 23:23:16 +00:00
FiraMono-subset.ttf add a default font (#8445) 2023-04-21 22:30:18 +00:00
font_atlas_set.rs fix whitespaces in comment (#7853) 2023-03-01 10:20:56 +00:00
font_atlas.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
font_loader.rs
font.rs small and mostly pointless refactoring (#2934) 2022-02-13 22:33:55 +00:00
glyph_brush.rs Changed spelling linebreak_behaviour to linebreak_behavior (#8285) 2023-04-05 21:25:53 +00:00
lib.rs add a default font (#8445) 2023-04-21 22:30:18 +00:00
pipeline.rs text_system split (#7779) 2023-04-17 15:23:21 +00:00
text2d.rs text_system split (#7779) 2023-04-17 15:23:21 +00:00
text.rs add a default font (#8445) 2023-04-21 22:30:18 +00:00