diff options
author | Joe Wilm <joe@jwilm.com> | 2016-05-28 22:08:30 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-05-28 22:08:30 -0700 |
commit | 493a7fae7c1dccc6c45fc175c354f3ebab141a21 (patch) | |
tree | 35451f81077c36f20bfd42e033f99a18d7a8bfd8 | |
parent | 208b79cc65e870f3e6b33538c62700330356e100 (diff) | |
download | alacritty-493a7fae7c1dccc6c45fc175c354f3ebab141a21.tar.gz alacritty-493a7fae7c1dccc6c45fc175c354f3ebab141a21.zip |
Remove old debug "test"
It wasn't actually a test, it was a crappy ascii renderer to show
freetype rendered glyphs.
-rw-r--r-- | src/text.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/text.rs b/src/text.rs index a5ec3114..2a04c4be 100644 --- a/src/text.rs +++ b/src/text.rs @@ -135,21 +135,4 @@ mod tests { fn font_desc() -> FontDesc { FontDesc::new("Ubuntu Mono", "Regular") } - - #[test] - fn create_rasterizer_and_render_glyph() { - let mut rasterizer = Rasterizer::new(); - let glyph = rasterizer.get_glyph(&font_desc(), 24., 'U'); - - println!("glyph: {:?}", glyph); - - for j in 0..glyph.height { - for i in 0..glyph.width { - let val = glyph.buf[j * glyph.width + i]; - print!("{}", if val < 122 { " " } else { "%"}); - } - - print!("\n"); - } - } } |