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 646251 - Hebrew subtitles are displayed incorrectly
Hebrew subtitles are displayed incorrectly
Status: RESOLVED WONTFIX
Product: pango
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2011-03-30 17:16 UTC by alonivtsan
Modified: 2011-04-18 16:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Hebrew subtitle file (61.58 KB, text/x-microdvd)
2011-03-30 20:58 UTC, alonivtsan
Details

Description alonivtsan 2011-03-30 17:16:19 UTC
Punctuation in Hebrew subtitles appears at the beginning of the sentence instead of at the end. The words are displayed correctly however.
Comment 1 Philip Withnall 2011-03-30 19:15:14 UTC
Can you attach the subtitle file here please?

What version of GStreamer are you using?
Comment 2 alonivtsan 2011-03-30 20:58:28 UTC
Created attachment 184733 [details]
Hebrew subtitle file
Comment 3 alonivtsan 2011-03-30 20:59:32 UTC
I'm using GStreamer 0.10.32. VLC displays this subtitle file correctly.
Comment 4 Sebastian Dröge (slomo) 2011-04-05 12:55:14 UTC
Which encoding is used for that subtitle file? But this is most likely a bug in Pango, we don't do much with the text except passing it to Pango for rendering
Comment 5 alonivtsan 2011-04-06 12:10:20 UTC
The encoding used is Hebrew Visual (ISO-9959-8)
Comment 6 alonivtsan 2011-04-06 12:11:16 UTC
Sorry I meant ISO-8859-8.
Comment 7 Sebastian Dröge (slomo) 2011-04-14 07:22:34 UTC
I can't reproduce this here. The punctuation of the first subtitle is shown at the end of the text, assuming that you mean the ".".

Which version of pango, gstreamer, gst-plugins-base are you using and which font?
Comment 8 alonivtsan 2011-04-15 03:10:40 UTC
By punctuation I mean of course symbols such as "." and "?".

Here are the relevant packages:

Package: libpango1.0-0
State: installed
Automatically installed: yes
Version: 1.28.0-0ubuntu2.2

Package: libgstreamer0.10-0
State: installed
Automatically installed: yes
Version: 0.10.32-1~lucid1

Package: gstreamer0.10-plugins-base
State: installed
Automatically installed: yes
Version: 0.10.32-1~lucid1

I'm using the Droid Serif font.
Comment 9 Sebastian Dröge (slomo) 2011-04-15 08:35:09 UTC
And if you look at the subtitle file in gedit for example the punctuation is correct, even if you select the same font in gedit?
Comment 10 alonivtsan 2011-04-16 07:45:14 UTC
If I open the subtitle file with the command
gedit --encoding iso-8859-8
then it displays Hebrew, yet punctuation does not appear at the correct places (it never appears at the end of any line). Leafpad also does not display punctuation properly, but at least it opens the file correctly without adding parameters.
Comment 11 Sebastian Dröge (slomo) 2011-04-16 12:31:48 UTC
Ok, let's reassign this to pango then.
Comment 12 Behdad Esfahbod 2011-04-18 16:04:13 UTC
ISO 8859-8 is a visual charset.  We simply don't even try to support it.  Though if one was content, they could do away by adding LRO/PDF pairs around it.  But I'm not sure even that would help in this case.