From 6026fdf8349f082d1f8eb8b87bb24d7f7834e7ca Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 19 Aug 2022 22:08:51 -0700 Subject: [PATCH] only downsample size if its an emoji --- shaders/cell.v.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders/cell.v.glsl b/shaders/cell.v.glsl index bda8ee44a..95d728e78 100644 --- a/shaders/cell.v.glsl +++ b/shaders/cell.v.glsl @@ -122,7 +122,7 @@ void main() { // TODO: for now, we assume this means it is a full width character // TODO: in the future, use unicode libs to verify this. vec2 glyph_size_downsampled = glyph_size; - if (glyph_size.x > cell_size.x) { + if (mode_in == MODE_FG_COLOR && glyph_size.x > cell_size.x) { glyph_size_downsampled.x = cell_size.x * 2; glyph_size_downsampled.y = glyph_size.y * (glyph_size_downsampled.x / glyph_size.x); glyph_offset_calc.y = glyph_offset.y * (glyph_size_downsampled.x / glyph_size.x);