Skip to content

add Bidi_Mirroring_Glyph property#49

Open
9drbxz8jnt-hash wants to merge 1 commit into
jacobsandlund:zig-0.15from
9drbxz8jnt-hash:bidi-mirroring
Open

add Bidi_Mirroring_Glyph property#49
9drbxz8jnt-hash wants to merge 1 commit into
jacobsandlund:zig-0.15from
9drbxz8jnt-hash:bidi-mirroring

Conversation

@9drbxz8jnt-hash
Copy link
Copy Markdown

Summary

  • exposes Bidi_Mirroring_Glyph as uucode.get(.bidi_mirroring_glyph, cp) ?u21
  • derives the new field from the existing deterministic ucd/BidiMirroring.txt parser while preserving the existing bidi_mirroring field
  • adds regression coverage for mirrored punctuation/brackets/math symbols plus default-null cases

Verification

  • zig build
  • zig build test

Note

This targets zig-0.15 because Ghostty v1.3.1 is pinned to Zig 0.15.2. Upstream main currently requires Zig 0.16.0, so this branch is the compatible path for existing Ghostty consumers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants