fix: harden arabic terminal rtl rendering
This commit is contained in:
@@ -152,3 +152,11 @@ The project now features a high-performance, Apple Silicon-optimized pipeline th
|
||||
- Implemented comment/blank-line support and invalid-line skipping with line-level warnings.
|
||||
- Merged file-based glossary entries with repeatable `--glossary-pair` CLI entries for runtime overrides.
|
||||
- **Outcome:** English caption correction can now use a maintained glossary file automatically, while preserving ad-hoc CLI term fixes.
|
||||
|
||||
## Phase 19: Arabic Terminal Rendering Hardening
|
||||
- **Goal:** Improve readability of Arabic captions in terminal environments with mixed LTR/RTL output.
|
||||
- **Approach:**
|
||||
- Switched Arabic output to a strict two-line format (`[AR]:` label line + dedicated RTL content line).
|
||||
- Wrapped Arabic caption content in explicit RTL embedding marks for better bidirectional layout stability.
|
||||
- Added punctuation normalization for Arabic display (`،`, `؛`, `؟`) to reduce LTR punctuation artifacts.
|
||||
- **Outcome:** Arabic captions render more consistently in terminal output, especially when adjacent to English/French/Spanish caption lines.
|
||||
|
||||
Reference in New Issue
Block a user