Skip to content

[CTX-0237] Glyph clipping + blur on tall glyphs (starship/powerline/nerd: top cut off) #412

Closed

Description

@Xuepoo

Observed

On the live seat, block elements (▒▓), powerline separators (),
and nerd icons in the starship prompt get their tops cut off;
occasional blurry output.

Suspects (commander-verified)

  • Fixed baseline row_top + cell_height * BASELINE_NUMERATOR/4 with
    BASELINE_NUMERATOR=3 (bitty-render/src/grid.rs, dest_y = baseline - metrics.top).
  • Cell 9x19 derived from the legacy 8x16 base while JetBrainsMono 12pt
    true metrics are ~9.6px advance / ~21.1px line (CTX-0157 evidence) —
    tall glyphs overflow the cell and get clipped.
  • Advance mismatch (9px cell vs ~10px raster advance) as the blur suspect.
  • Reference pattern: alacritty + ghostty let glyphs OVERDRAW into adjacent
    line padding (cells never clip glyphs).
  • CTX-0234 found the live pipeline has NO per-tile scissor (present pushes
    per-leaf glyphs unscissored) — deliberate, do not add clipping; the fix
    must go the other direction (permit overhang, fix metrics).

Priority: P1 | Area: render | Labels: fix,area:render,P1 | Milestone: v0.1.0 | RFC: OQ-xxx | Task: CTX-0237

Activity

  1. added this to the v0.1.0 milestone on Sep 8, 2026
  2. added
    fix
    P1
    area:render
    on Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1area:renderfix

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions