bbb-recording-exporter icon indicating copy to clipboard operation
bbb-recording-exporter copied to clipboard

Edit chat text style

Open mailalaki opened this issue 3 years ago • 1 comments

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?

mailalaki avatar Sep 14 '21 10:09 mailalaki

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

danielpetri1 avatar Sep 16 '21 12:09 danielpetri1