1
0
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:
Emil Ernerfeldt
2019-01-14 07:54:27 -06:00
parent 2c0ca77e09
commit 4dab7a1504

View File

@@ -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!();
}
}