mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Fix font test
This commit is contained in:
@@ -338,8 +338,10 @@ mod tests {
|
||||
use super::*;
|
||||
#[test]
|
||||
fn font_test() {
|
||||
let font = Font::new(13);
|
||||
let atlas = TextureAtlas::new(128, 8);
|
||||
let atlas = Arc::new(Mutex::new(atlas));
|
||||
let font_data = include_bytes!("../fonts/Roboto-Regular.ttf");
|
||||
let font = Font::new(atlas, font_data, 13);
|
||||
font.debug_print_all_chars();
|
||||
panic!();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user