f204ad9a827e43434e8f3e06e1a37ba035392da2
The issue mentioned from the prior commit was due to not breaking out of the inner fallback loop, so we'd stack up multiple glyphs with the same cluster value, causing the earlier versions to be obscured by the later versions. Adjust glyph width calculation: the metrics we were getting from harfbuzz were synchronized with the font render size. When we're configured to use allsorts, the shaper metrics are not connected to the render metrics and we can end up with the raw emoji glyph width being much larger than the font advance metric value and then render a giant heart emoji. The revised calculations trigger scaling if the glyph width is too wide. I've gone back and forth on that particular line a couple of times in the past: hopefully this time we've got the right calculation? I "fixed" the font metrics we compute and return from allsorts by rounding them to the nearest integer value. That makes the spacing look better at my normal font size (8.3 -> 8) and makes things look tighter. It feels a bit magical IMO.
Wez's Terminal
A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
User facing home page at: https://wezfurlong.org/wezterm/
Screenshot of wezterm on macOS, running vim
Installation
https://wezfurlong.org/wezterm/installation.html
Getting help
This is a spare time project, so please bear with me. There are two channels for support:
- You can use the GitHub issue tracker to see if someone else has a similar issue, or to file a new one: https://github.com/wez/wezterm/issues
- There is a gitter room for (potentially!) real time discussions: https://gitter.im/wezterm/Lobby
The gitter room is probably better suited to questions than it is to bug reports, but don't be afraid to use whichever you are most comfortable using and we'll work it out.
Description
The agentic terminal: a WezTerm fork with LLeMbas built in
316 MiB
0 Stars
2 Watchers
0 Forks
Languages
Rust
97.7%
Python
1%
Shell
0.9%
Nix
0.2%
