mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
add mappings for additional fonts in cramium target
This commit is contained in:
parent
5f05e15105
commit
782e94aa65
1 changed files with 4 additions and 0 deletions
|
|
@ -119,6 +119,10 @@ fn map_fonts() -> MemoryRange {
|
||||||
.store((fontregion.as_ptr() as usize + fontmap::MONO_OFFSET as usize) as u32, Ordering::SeqCst);
|
.store((fontregion.as_ptr() as usize + fontmap::MONO_OFFSET as usize) as u32, Ordering::SeqCst);
|
||||||
blitstr2::fonts::tall::GLYPH_LOCATION
|
blitstr2::fonts::tall::GLYPH_LOCATION
|
||||||
.store((fontregion.as_ptr() as usize + fontmap::TALL_OFFSET as usize) as u32, Ordering::SeqCst);
|
.store((fontregion.as_ptr() as usize + fontmap::TALL_OFFSET as usize) as u32, Ordering::SeqCst);
|
||||||
|
blitstr2::fonts::regular::GLYPH_LOCATION
|
||||||
|
.store((fontregion.as_ptr() as usize + fontmap::REGULAR_OFFSET as usize) as u32, Ordering::SeqCst);
|
||||||
|
blitstr2::fonts::small::GLYPH_LOCATION
|
||||||
|
.store((fontregion.as_ptr() as usize + fontmap::SMALL_OFFSET as usize) as u32, Ordering::SeqCst);
|
||||||
|
|
||||||
fontregion
|
fontregion
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue