Skip to content

fix: isolate unrenderable glyph failures#9447

Draft
oz-for-oss[bot] wants to merge 1 commit intomasterfrom
oz-agent/implement-issue-9372
Draft

fix: isolate unrenderable glyph failures#9447
oz-for-oss[bot] wants to merge 1 commit intomasterfrom
oz-agent/implement-issue-9372

Conversation

@oz-for-oss
Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot commented Apr 29, 2026

Closes #9372

Summary

  • Cache deterministic glyph rasterization failures as missing glyphs so one unsupported fallback glyph cannot blank the entire terminal glyph layer.
  • Continue rendering remaining glyphs in WGPU and Metal renderers when a per-glyph cache error occurs.
  • Return a controlled swash rasterizer error instead of panicking when a subpixel raster image is unavailable.
  • Add glyph cache unit tests covering raster-bounds failures, rasterization failures, and rendering other glyphs after a cached missing glyph.

Validation

  • cargo test --manifest-path /workspace/warp/Cargo.toml -p warpui rendering::glyph_cache --lib
  • cargo check --manifest-path /workspace/warp/Cargo.toml -p warpui --lib

Notes

  • cargo fmt --manifest-path /workspace/warp/Cargo.toml --all could not run because rustfmt is not installed for the stable toolchain in this sandbox.

Co-Authored-By: oz-for-oss[bot] <277970191+oz-for-oss[bot]@users.noreply.github.com>
@cla-bot cla-bot Bot added the cla-signed label Apr 29, 2026
@oz-for-oss oz-for-oss Bot mentioned this pull request Apr 29, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Font rendering fails again

1 participant