<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 11/04/2013 03:24 AM, Sky Qt wrote:<br>
</div>
<blockquote
cite="mid:CAHOxkh1VtKrY27kkSvJcmDbFN36L6Ar51Wbcsxx566y-56tPDA@mail.gmail.com"
type="cite">
<div dir="ltr">I need to reduce the lines spacing in the subtitle
display. I have tried to look into the gstreamer api but could
not locate any such api. Apparently VLC provides such control.
Can anyone help find the api or point me to any resource that
will help me?<br>
</div>
</blockquote>
gst-inspect-1.0 subtitleoverlay shows:<br>
<br>
<blockquote type="cite"> font-desc : Pango font
description of font to be used for subtitle rendering<br>
flags: readable, writable<br>
String. Default: null<br>
</blockquote>
A search for "pango font description" gives <a
href="https://developer.gnome.org/pango/stable/pango-Fonts.html">this
documentation</a>, but unfortunately that only seems to control
the font family, size, and type.<br>
<br>
A search for "pango line spacing" gives <a
href="https://developer.gnome.org/pango/stable/pango-Layout-Objects.html#PangoLayout-struct">the
documentation for Pango Layouts</a>, which seems to be what you
want. We could presumably add this to GStreamer, but it would be a
bit more complicated since there's no *_from_string function.<br>
<br>
Note: I think the actual element of interest is "textrender" or
'textoverlay" in gst-plugins-base/ext/pango.<br>
</body>
</html>