From a35aeca0824c9eb84e1894c8e3b1a1c451c90eab Mon Sep 17 00:00:00 2001 From: Benoit de Chezelles Date: Sat, 3 Jul 2021 23:14:35 +0200 Subject: [PATCH] glyphs: Make heavy lines visibly heavy --- wezterm-gui/src/glyphcache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wezterm-gui/src/glyphcache.rs b/wezterm-gui/src/glyphcache.rs index 2b9ef0c51..80f4df89c 100644 --- a/wezterm-gui/src/glyphcache.rs +++ b/wezterm-gui/src/glyphcache.rs @@ -332,7 +332,7 @@ impl PolyStyle { let mut stroke = Stroke::default(); stroke.width = width; if self == PolyStyle::OutlineHeavy { - stroke.width *= 2.0; + stroke.width *= 3.0; // NOTE: Using 2.0, the difference is almost invisible } pixmap.stroke_path(path, paint, &stroke, Transform::identity(), None); }