You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address review feedback on Arabic subtitle support
- Add the shaping warning key to the new Italian locale so every WebUI
language carries it after rebasing onto main.
- Scope the "no shaping engine" warning to each generate_video() call
instead of caching it for the whole process, so every task that renders
right-to-left subtitles records the warning.
- Drop the subtitle height floor and the no-background centering change.
They alter subtitle geometry for every language, and the bundled Arabic
font does not need them, so they belong in their own change with visual
regression coverage. Subtitle layout is now identical to main.
- Add the Homebrew library directory to DYLD_LIBRARY_PATH in webui.sh on
macOS. Pillow dlopens libraqm/libfribidi, which Homebrew installs outside
the default search path, so raqm stayed disabled without it.
- Document the shaping requirement per platform, including that the Windows
Pillow wheel needs an external FriBiDi DLL that the one-click package does
not ship.
Copy file name to clipboardExpand all lines: README-en.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -231,7 +231,11 @@ Use the local setup or Docker instructions below.
231
231
232
232
- Local deployment requires Python 3.11 or later
233
233
- On Windows, avoid project paths containing non-ASCII characters, special characters, or spaces
234
-
- Right-to-left subtitles such as Arabic need libraqm installed on the system (Debian/Ubuntu: `apt install libraqm0`, macOS: `brew install libraqm`). Without it letters are not joined and word order is reversed; the Docker images already include it
234
+
- Right-to-left subtitles such as Arabic need Pillow's Raqm layout engine. Without it letters are not joined and word order is reversed:
235
+
- Docker: already included in the images, nothing to do
236
+
- Linux: `apt install libraqm0`
237
+
- macOS: `brew install libraqm`. Homebrew's libraries are not on the default search path, so `webui.sh` adds `DYLD_LIBRARY_PATH` automatically; if you launch Streamlit yourself, export `DYLD_LIBRARY_PATH="$(brew --prefix)/lib:$DYLD_LIBRARY_PATH"` first
238
+
- Windows: the official Pillow wheel needs an external FriBiDi DLL on PATH, which the one-click package does not ship. Until it does, a local Windows install cannot render right-to-left subtitles correctly — use Docker instead
Copy file name to clipboardExpand all lines: webui/i18n/it.json
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -175,6 +175,7 @@
175
175
"Rounded Subtitle Background Help": "Disabilitato per impostazione predefinita. Se abilitato, lo sfondo dei sottotitoli utilizza uno stile arrotondato e traslucido che si adatta meglio alla larghezza del testo.",
176
176
"Subtitle Colors Are Indistinguishable": "Il testo e lo sfondo dei sottotitoli usano lo stesso colore, quindi i sottotitoli potrebbero non essere visibili.",
177
177
"Subtitle Font Does Not Support Text": "Il carattere selezionato per i sottotitoli non supporta alcuni caratteri del testo, quindi alcuni sottotitoli potrebbero mancare.",
178
+
"Subtitle Text Shaping Unavailable": "I sottotitoli scritti da destra a sinistra come l'arabo richiedono il motore di composizione del testo Raqm, che qui non è disponibile: le lettere non verranno unite e l'ordine delle parole risulterà invertito. Installa libraqm (Debian/Ubuntu: libraqm0, macOS: brew install libraqm).",
178
179
"Restore Default Subtitle Settings": "Ripristina valori predefiniti dei sottotitoli",
179
180
"Default Subtitle Settings Restored": "Impostazioni predefinite dei sottotitoli ripristinate",
0 commit comments