1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-24 07:46:59 +03:00
wezterm/wezterm-gui
Wez Furlong d59898987a gui: fix lost sync with the cell position in the renderer
If a cell contained a ligature, the math used to track where the
next quad was going to be placed could lose consistency with
the cluster/shaping information and result in offset glyphs.

This was most noticeable to me in tab titles in the tab bar;
my shell dotfiles append `-- something` to the title when a
command is launched, and the `--` is a ligature in my font.

I think I've also seen this mess up positioning in the notcurses
demo as well.

The solution is to take the cluster initial cell index rather
than trying to reverse engineer it from incomplete info.
2021-08-13 09:34:36 -07:00
..
src gui: fix lost sync with the cell position in the renderer 2021-08-13 09:34:36 -07:00
build.rs deps: windows 0.9 -> 0.11 2021-06-16 08:29:09 -07:00
Cargo.toml deps: update unicode-segmentation to 1.8 2021-08-11 23:06:17 -07:00