fix scaling of --> ligature in base font

refs: https://github.com/wez/wezterm/issues/699
This commit is contained in:
Wez Furlong committed 2021-05-09 07:19:18 -07:00
1 parent 258038cd16
commit f4e9668952
1 file changed
+1 -1
+1 -1
View File
@@ -489,7 +489,7 @@ impl<T: Texture2d> GlyphCache<T> {
let scale;
if info.font_idx == 0 {
// We are the base font
scale = if allow_width_overflow {
scale = if allow_width_overflow || glyph.width as f64 <= max_pixel_width {
1.0
} else {
// Scale the glyph to fit in its number of cells