After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 310202 - [subtitles] <i></i> tags and others should be supported in srt files
[subtitles] <i></i> tags and others should be supported in srt files
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal enhancement
: 0.10.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 317114 317219 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-07-13 09:55 UTC by Michaël Arnauts
Modified: 2006-02-20 18:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michaël Arnauts 2005-07-13 09:55:07 UTC
The subrip format (.srt) supports additional tags to change the style of fonts,
these tags are:

<i>Italic</i>
<b>Bold</b>
<u>Underline</u>

Currently, these tags are displayed on screen as they are in the subtitle file.
They should be rendered by pango to display in the style the tag defines.

A possible temperary solution would be to simply ignore the tags, however, in
the future, it would be better to show them as they meant to be.
Comment 1 Teppo Turtiainen 2005-07-13 10:31:47 UTC
I've seen this too. Confirming.
Comment 2 Michaël Arnauts 2005-10-01 16:01:23 UTC
*** Bug 317114 has been marked as a duplicate of this bug. ***
Comment 3 Andy Wingo 2006-01-13 17:03:08 UTC
Still an issue in 0.10...
Comment 4 Andy Wingo 2006-01-13 18:45:47 UTC
*** Bug 317219 has been marked as a duplicate of this bug. ***
Comment 5 Tim-Philipp Müller 2006-02-20 18:27:37 UTC
Should be fixed in CVS now:

2006-02-20  Tim-Philipp Müller  <tim at centricular dot net>

        * gst/subparse/gstsubparse.c: (subrip_unescape_formatting),
        (parse_subrip), (gst_sub_parse_format_autodetect):
          Set right caps given that we send escaped text. Also,
          honour <i></i>, <b></b> and <u></u> markers that can be found
          in .srt files (fixes #310202).