From 9bc0eee1e269b06293a1361b334db62f12990c13 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 18 Feb 2018 23:08:49 -0800 Subject: [PATCH] Re-enable underlining of whitespace This was a hangover from an earlier iteration and isn't needed any more. --- src/xwin.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/xwin.rs b/src/xwin.rs index a2714b4f1..ee10884e3 100644 --- a/src/xwin.rs +++ b/src/xwin.rs @@ -943,12 +943,6 @@ impl<'a> TerminalWindow<'a> { _ => self.palette.resolve(fg_color), }.to_linear_tuple_rgba(); - let glyph_color = match &glyph.texture { - &Some(_) => glyph_color, - // Whitespace glyph; render with 0 alpha - &None => (0.0, 0.0, 0.0, 0.0f32), - }; - let left: f32 = glyph.x_offset as f32 + glyph.bearing_x as f32; let top = (self.cell_height as f32 + self.descender as f32) - (glyph.y_offset as f32 + glyph.bearing_y as f32);