Bug: RTL AI Captions (Persian/Arabic) overflow outside the background bounding box
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- frontend, internationalization
Direzione di ricerca
Non è indicato alcun file o test. Prima riproduci il caption overlay con il persiano o l’arabo usando il modello locale, quindi traccia la misurazione, l’allineamento e i limiti dello sfondo del testo RTL. Il lavoro è completato quando il testo rimane centrato, completamente visibile e con spazio interno dentro lo sfondo nero, senza fuoriuscite.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
When using the AI caption feature for Right-to-Left (RTL) languages like Persian, the text shaping works fine (letters are connected properly). However, the bounding box calculation or text alignment is incorrect. The RTL text shifts horizontally and renders outside/overflows the edges of the caption background container.
Steps to Reproduce
- Record a video speaking in Persian or Arabic.
- Generate AI captions using the local model.
- Observe the caption overlay.
Expected Behavior
The black background box should properly wrap the RTL text with correct padding, and the text should be perfectly centered/aligned inside the container.
Actual Behavior
The text aligns incorrectly and spills outside the right/left edge of the background box, getting cut off.
Please see the attached screenshots for reference:
- Lingua principale
- Rust
- Stelle
- 22.5k
- Fork
- 1.9k
- Merge medio
- 7h 43m
- PR unite (30g)
- 80
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CapSoftware/Cap
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
CapSoftware/Cap#2305 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
CapSoftware/Cap#1714 · 3 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
CapSoftware/Cap#2340 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
CapSoftware/Cap#2339 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
CapSoftware/Cap#2329 · 2 commenti ·
Tutte le issue di CapSoftware/Cap
Issue simili
-
bug github_actions
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
registrystack/registry-stack#1393 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
longbridge/gpui-kit#3223 ·
-
bug engine
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
rocky-data/rocky#2181 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
oasisprotocol/oasis-sdk#2523 ·
-
[indexer] [QA] Add a focused test for the new NonRetryableError / assertSocketAlive() behavior. Apertabot:ai-assisted component:indexer QA-roadmap status:untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
midnightntwrk/midnight-indexer#1557 ·