Typing in terminal is now supported in rust teton.
This commit is contained in:
parent
18e512cf1f
commit
f04e720811
15 changed files with 489 additions and 13 deletions
|
|
@ -68,4 +68,12 @@ impl Psf {
|
|||
let len: usize = self.header.bytes_per_glyph as usize;
|
||||
&self.file.slice(offset, len)
|
||||
}
|
||||
|
||||
pub fn width(&self) -> u32 {
|
||||
self.header.width
|
||||
}
|
||||
|
||||
pub fn height(&self) -> u32 {
|
||||
self.header.height
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue