Use arabic.txt example and get_image_uncached

This commit is contained in:
grovesNL 2022-10-25 23:27:46 -02:30 committed by Josh Groves
parent 7fe35bdce3
commit dcdb250e19
4 changed files with 11 additions and 3 deletions

View file

@ -76,7 +76,7 @@ async fn run() {
TextMetrics::new(32, 44),
);
buffer.set_size(800, 600);
buffer.set_text("Hello from cosmic inside of glyphon/wgpu!");
buffer.set_text(include_str!("./arabic.txt"));
buffer.shape_until_cursor();
event_loop.run(move |event, _, control_flow| {