1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-14 03:16:09 +03:00
wezterm/term/Cargo.toml

40 lines
870 B
TOML
Raw Normal View History

[package]
authors = ["Wez Furlong <wez@wezfurlong.org>"]
name = "wezterm-term"
version = "0.1.0"
2019-02-19 10:20:59 +03:00
edition = "2018"
repository = "https://github.com/wez/wezterm"
description = "The Virtual Terminal Emulator core from wezterm; helpful for implementing terminal emulators"
license = "MIT"
documentation = "https://docs.rs/wezterm-term"
keywords = ["terminal", "emulator", "vte"]
readme = "README.md"
2020-06-13 20:00:09 +03:00
[features]
use_serde = ["termwiz/use_serde"]
[dependencies]
2019-12-15 08:43:05 +03:00
anyhow = "1.0"
bitflags = "1.0"
image = "0.23"
lazy_static = "1.4"
2019-06-09 01:30:47 +03:00
log = "0.4"
2020-12-10 01:04:56 +03:00
lru = "0.6"
num-traits = "0.2"
2021-02-08 09:54:02 +03:00
ordered-float = "2.1"
palette = "0.5"
serde = {version="1.0", features = ["rc"]}
sha2 = "0.9"
wezterm: improve shaping of emoji This is one of those massive time sinks that I almost regret... As part of recent changes to dust-off the allsorts shaper, I noticed that the harfbuzz shaper wasn't shaping as well as the allsorts one. This commit: * Adds emoji-test.txt, a text file you can `cat` to see how well the emoji are shaped and rendered. * Fixes (or at least, improves) the column width calculation for combining sequences such as "deaf man" which was previously calculated at 3 cells in width when it should have just been 2 cells wide, which resulted in a weird "prismatic" effect during rendering where the glyph would be rendered with an extra RHS portion of the glyph across 3 cells. * Improved/simplified the clustering logic used to compute fallbacks. Previously we could end up with some wonky/disjoint sequence of undefined glyphs which wouldn't be successfully resolved from a fallback font. We now make a better effort to consolidate runs of undefined glyphs for fallback. * For sequences such as "woman with veil: dark skin tone" that occupy a single cell, the shaper may return 3 clusters with 3 glyphs in the case that the font doesn't fully support this grapheme. At render time we'd just take the last glyph from that sequence and render it, resulting in eg: a female symbol in this particular case. It is generally a bit more useful to show the first glyph in the sequence (eg: person with veil) rather than the gender or skin tone, so the renderer now checks for this kind of overlapping sequence and renders only the first glyph from the sequence.
2020-11-24 00:45:38 +03:00
unicode-segmentation = "1.7"
unicode-width = "0.1"
2020-01-11 10:18:49 +03:00
url = "2"
[dev-dependencies]
pretty_assertions = "0.6"
pretty_env_logger = "0.4"
k9 = "0.10.0"
[dependencies.termwiz]
version = "0.11"
path = "../termwiz"