fix scaling of --> ligature in base font
refs: https://github.com/wez/wezterm/issues/699
This commit is contained in:
1 parent
258038cd16
commit
f4e9668952
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user