bevy/examples/2d
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
..
2d_gizmos.rs Added arc_2d function for gizmos (#8448) 2023-04-21 15:34:07 +00:00
2d_shapes.rs
bloom_2d.rs add a default font (#8445) 2023-04-21 22:30:18 +00:00
mesh2d_manual.rs
mesh2d_vertex_color_texture.rs
mesh2d.rs
move_sprite.rs
pixel_perfect.rs Explain why default_nearest is used in pixel_perfect example (#8370) 2023-04-13 17:58:06 +00:00
rotation.rs Non-breaking change* from UK spellings to US (#8291) 2023-04-08 16:22:46 +00:00
sprite_flipping.rs
sprite_sheet.rs
sprite.rs
text2d.rs
texture_atlas.rs
transparency_2d.rs