diff options
-rw-r--r-- | alacritty/src/display.rs | 5 | ||||
-rw-r--r-- | alacritty/src/renderer/mod.rs | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/alacritty/src/display.rs b/alacritty/src/display.rs index 1ddcb636..00bfd83a 100644 --- a/alacritty/src/display.rs +++ b/alacritty/src/display.rs @@ -357,6 +357,8 @@ impl Display { let (cell_width, cell_height) = compute_cell_size(config, &self.glyph_cache.font_metrics()); size_info.cell_width = cell_width; size_info.cell_height = cell_height; + + info!("Cell Size: {} x {}", cell_width, cell_height); } /// Clear glyph cache. @@ -433,6 +435,9 @@ impl Display { let physical = PhysicalSize::new(self.size_info.width as u32, self.size_info.height as u32); self.window.resize(physical); self.renderer.resize(&self.size_info); + + info!("Padding: {} x {}", self.size_info.padding_x, self.size_info.padding_y); + info!("Width: {}, Height: {}", self.size_info.width, self.size_info.height); } /// Draw the screen. diff --git a/alacritty/src/renderer/mod.rs b/alacritty/src/renderer/mod.rs index 6b27a837..da5f68a0 100644 --- a/alacritty/src/renderer/mod.rs +++ b/alacritty/src/renderer/mod.rs @@ -1219,8 +1219,6 @@ impl TextShaderProgram { let offset_x = -1.; let offset_y = 1.; - info!("Width: {}, Height: {}", width, height); - unsafe { gl::Uniform4f(self.u_projection, offset_x, offset_y, scale_x, scale_y); } |