[Bug 782025] Subtitle are aligned incorrectly for right-to-left languages

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue May 2 16:40:29 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=782025

Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 CC|                            |nicolas at ndufresne.ca

--- Comment #7 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
To playback this:

gst-launch-1.0 playbin suburi=file://$(pwd)/hp.srt
subtitle-encoding=windows-1255 uri=file://$(pwd)/test.mov video-sink="navseek !
audiovideosink"

Now great, but we'll need a tad more help to understand the meaning of wrong
alignment. Looking a the image, I understand the the punctuation, like . and ?
are placed at the right instead of the left (at the start instead of the end,
or worst, is placed at the end as if the text was left to right). Like if the
direction changes when it renders the punctuation. Maybe some bogus language
detection.

Would be nice if you could provide an UTF-8 converted version of this srt.
Since this would help us see the behaviour when it's doing it correctly. Maybe
in UTF-8 they don't map punctuation to the same charater, avoiding renderer
confusion in text direction. Also, note this could be an issue with Pango
and/or the way we use Pango.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list