5

Written a markup like this

<span font-desc="Bold 40" foreground="blue" size="x-large">P <b>S</b> </span>

with the help of the following link The above markup can be fed to the textoverlay element as a text property of Gstreamer. I am not getting the way to align the text. Example if i want to add the text in center or left or right. How can i do that.

Guillaume Raymond
  • 1,726
  • 1
  • 20
  • 33
  • Thanks for your question. You can improve it by showing us also how did you tried. I sugest you to read this Stack Overflow guide "How do I ask a good question?": https://stackoverflow.com/help/how-to-ask – Guillaume Raymond Jan 03 '20 at 14:10
  • I don't think you have a real canvas in this element for that kind of positioning. It allows text formatting - basic positioning is done via the element properties. – Florian Zwoch Jan 06 '20 at 08:42
  • @FlorianZwoch Thanks for the reply, actually i want to display text using pango at the top and end of an image simultaneously. Any clue on that – user12647254 Jan 06 '20 at 09:51
  • I think you need two `textoverlay` overlays then. Put them in a row.. – Florian Zwoch Jan 06 '20 at 11:37
  • @FlorianZwoch ya thats one solution, but was thinking if it can be possible via pango . – user12647254 Jan 07 '20 at 10:46

0 Answers0