This sequence forms a grapheme with cell_width=2, but harfbuzz returns it as two distinct clusters, causing our prior logic to shape them independently from different fonts, but our logic for assessing width would resolve them both to the same cell and double-count their width, leading to issues with the rendered result. This commit revises our clustering logic to add a pass that compares the harfbuzz cluster positions with the cell-based positions from the presentation_width that may have been provided. We use the starting cell positions from that to order and de-dup so that clusters aren't split in the wrong place. refs: https://github.com/wez/wezterm/issues/2572
This directory contains the sources for the documentation. Read the generated documentation at: https://wezfurlong.org/wezterm