Draft Font type and implement Text::font

This commit is contained in:
Héctor Ramón Jiménez 2019-11-13 07:22:21 +01:00
parent f0b1e65ba4
commit 6857829dc3
10 changed files with 96 additions and 31 deletions

8
core/src/font.rs Normal file
View file

@ -0,0 +1,8 @@
#[derive(Debug, Clone, Copy)]
pub enum Font {
Default,
External {
name: &'static str,
bytes: &'static [u8],
},
}