BlueGit

ict rusty-teams

Files

rusty-teams / vendor / gpui-pre / PATCH.md

PATCH.md

PATCH.md 647 B Download Raw

gpui-pre 0.3.8 patches

Upstream: crates.io gpui-pre 0.3.8. Wired in via [patch.crates-io] in the root Cargo.toml. examples/, tests/ and docs/ are left out; their [[example]] and [[test]] targets are removed from Cargo.toml.

Changed files

FileChangeWhy
src/text_system/line.rspaint_line and paint_line_background place each wrapped line from its leftmost glyph (segment_left_edges) instead of its first glyphRight-to-left runs come back from shaping in visual order over the unwrapped line, so a wrapped Arabic line started off its own right edge and overflowed (GitHub issue 64)
Source
1# gpui-pre 0.3.8 patches
2
3Upstream: crates.io `gpui-pre 0.3.8`. Wired in via `[patch.crates-io]` in the root `Cargo.toml`. `examples/`, `tests/` and `docs/` are left out; their `[[example]]` and `[[test]]` targets are removed from `Cargo.toml`.
4
5## Changed files
6
7| File | Change | Why |
8|---|---|---|
9| `src/text_system/line.rs` | `paint_line` and `paint_line_background` place each wrapped line from its leftmost glyph (`segment_left_edges`) instead of its first glyph | Right-to-left runs come back from shaping in visual order over the unwrapped line, so a wrapped Arabic line started off its own right edge and overflowed (GitHub issue 64) |