dont print braille

master
Tait Hoyem 2 years ago
parent 0d2b8b41c6
commit f5415c4647

@ -36,9 +36,9 @@ fn main() {
draw_hollow_rect_mut(&mut img, Rect::at(rect.x, rect.y).of_size(rect.width, rect.height), red); draw_hollow_rect_mut(&mut img, Rect::at(rect.x, rect.y).of_size(rect.width, rect.height), red);
let y: u32 = (rect.y-25) as u32; let y: u32 = (rect.y-25) as u32;
let x: u32 = (rect.x-25) as u32; let x: u32 = (rect.x-25) as u32;
//let text = format!("{}", rect.id).as_str(); let text = String::from(format!("{}", rect.id));
let text = "⠨⠙⠕⠃⠗⠕⠙⠕⠱⠇⠊"; //let text = "⠨⠙⠕⠃⠗⠕⠙⠕⠱⠇⠊";
draw_text_mut(&mut img, red, x, y, Scale::uniform(20.0), &font, text); draw_text_mut(&mut img, red, x, y, Scale::uniform(20.0), &font, &text);
} }
img.save("out.png").unwrap(); img.save("out.png").unwrap();

Loading…
Cancel
Save