bbb-recording-exporter
bbb-recording-exporter copied to clipboard
Edit chat text style
Hi daniel, first I want to thank you for this practical project.
Is it possible to change the "direction" (rtl), "text-align", "font-family" and "line-height" in the text of chats. I want to Suitable it for Persian language.
I tried to do this by editing this line 376
:
builder.style { builder << "text{direction: rtl; text-align: right; font-family: arial; line-height: 1.5; font-size: #{CHAT_FONT_SIZE}}" }
but it had no effect on the output!!
Can you help?
Hi @mailalaki,
Can you provide some more information on what wasn't working properly before your change? This user had success writing the chat in Persian: https://github.com/danielpetri1/bbb-recording-exporter/issues/39
After some investigation, librsvg (and therefore FFmpeg when rendering the video) seems to struggle with RTL text. There are a few open issues about that on librsvg, is that what you're experiencing?
https://gitlab.gnome.org/GNOME/librsvg/-/issues/789 https://gitlab.gnome.org/GNOME/librsvg/-/issues/791