zed/crates/gpui_wgpu/src
Albab Hasan 1c16e13a2b
gpui_wgpu: Respect buffer_font_fallbacks setting (#54878)
wires user configured `FontFallbacks` into the cosmic text path. the
chain is resolved at font load time and stored on each `LoadedFont`.
`layout_line` splits each `FontRun` into spans by codepoint coverage and
emits one `Attrs` per slot so cosmic text shapes each span with the
correct face. inheriting codepoints (marks, zwj, zwnj, variation
selectors) stick to the current span so emoji zwj sequences and
combining marks are not torn across faces.

Closes #17254

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] Performance impact has been considered and is acceptable
- [x] Tests cover the new/changed behavior
- [] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- added support for `buffer_font_fallbacks` on linux
2026-05-15 15:34:18 +00:00
..
cosmic_text_system.rs gpui_wgpu: Respect buffer_font_fallbacks setting (#54878) 2026-05-15 15:34:18 +00:00
gpui_wgpu.rs Linux: Handle device lost with wgpu (#50898) 2026-03-05 22:59:48 -07:00
shaders.wgsl Support BGR subpixel layout (#55174) 2026-04-29 12:26:19 +00:00
shaders_subpixel.wgsl Support BGR subpixel layout (#55174) 2026-04-29 12:26:19 +00:00
wgpu_atlas.rs Remove smol as a dependency from a bunch of crates (#53603) 2026-04-24 10:29:51 +00:00
wgpu_context.rs gpui_wgpu: Remove redundant match arms for backend priority (#56032) 2026-05-07 15:07:36 +00:00
wgpu_renderer.rs gpui_linux: Fix Wayland flickering under CPU load by skipping redundant surface commit (#54214) 2026-05-06 03:40:02 +00:00