Draft Font type and implement Text::font
This commit is contained in:
parent
f0b1e65ba4
commit
6857829dc3
10 changed files with 96 additions and 31 deletions
8
core/src/font.rs
Normal file
8
core/src/font.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#[derive(Debug, Clone, Copy)]
|
||||
pub enum Font {
|
||||
Default,
|
||||
External {
|
||||
name: &'static str,
|
||||
bytes: &'static [u8],
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue