INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: LTR subtitles  (Read 2561 times)

pitzaman

  • Recent member
  • *
  • Posts: 16
LTR subtitles
« on: February 02, 2014, 02:39:54 pm »

Hi,

Is there a fix for LTR subtitles?
When using a left to right subtitles (I'm using Hebrew), the punctuation is shown on the wrong side.

Cheers!
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10786
Re: LTR subtitles
« Reply #1 on: February 02, 2014, 02:55:57 pm »

I think I saw this before on the forum somewhere.

Do you have example subtitles we could use to reproduce the problem?
Logged
~ nevcairiel
~ Author of LAV Filters

pitzaman

  • Recent member
  • *
  • Posts: 16
Re: LTR subtitles
« Reply #2 on: February 04, 2014, 02:11:57 am »

You are right. It's a problem for all right to left languages (i.e. Hebrew, Arabic, etc.).
What kind of subtitle file do you need? Will a Hebrew srt file will do the job?
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10786
Re: LTR subtitles
« Reply #3 on: February 04, 2014, 02:20:37 am »

Anything that shows the issue will do. SRT is fine.
Logged
~ nevcairiel
~ Author of LAV Filters

pitzaman

  • Recent member
  • *
  • Posts: 16
Re: LTR subtitles
« Reply #4 on: February 07, 2014, 05:55:18 am »

I'm sorry for the delay.
I attached a SRT file
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10786
Re: LTR subtitles
« Reply #5 on: February 07, 2014, 07:29:07 am »

Hm, the file is encoded using the ANSI Hebrew encoding. I cannot read it like this, because my Windows is not running on Hebrew, so I converted it to UTF-8, and it appears the punctuation is correct now. It is supposed to be on the left side, right? :)
I assume your whole Windows is set to Hebrew? Otherwise the file would probably not work properly.

I've attached the file converted to UTF-8. Nothing changed on the content itself, only the encoding from ANSI to UTF-8.
Since I cannot read the text, its really hard to judge if its right or not.

Anyway, can you check the converted file to make sure it'll still actually reproduce the issue?
Maybe you can also peek into the file to make sure its actually correct in the file, and not a problem from whoever created it?
Logged
~ nevcairiel
~ Author of LAV Filters

pitzaman

  • Recent member
  • *
  • Posts: 16
Re: LTR subtitles
« Reply #6 on: February 07, 2014, 11:19:55 pm »

I'll try it.
I don't like the Hebrew version of windows. I prefer to use the English version with Hebrew support.
Anyway, I'll let you know (I believe that changing the encoding will mess up the fonts...)
Thank you for your efforts!
Logged

pitzaman

  • Recent member
  • *
  • Posts: 16
Re: LTR subtitles
« Reply #7 on: February 08, 2014, 03:07:45 am »

I tried it. It didn't do anything...
I attached two photos. The first was played with JRiver MC19, and it's called "wrong".
The second was played with VLC on a different PC, and it's called "right".
This way, although you can't read Hebrew (it's never to late to start ;)), you will be able to see the differences in the punctuation.
Please remember, you start from the right and go to the left ;D
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10786
Re: LTR subtitles
« Reply #8 on: February 08, 2014, 03:28:51 am »

Interesting. So only some of it is wrong, while one of the periods at the end of the lines are indeed correct.
I'll check it out again.
Logged
~ nevcairiel
~ Author of LAV Filters

pitzaman

  • Recent member
  • *
  • Posts: 16
Re: LTR subtitles
« Reply #9 on: February 13, 2014, 02:34:10 am »

Any updates? New insights?
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10786
Re: LTR subtitles
« Reply #10 on: February 13, 2014, 05:51:07 am »

I did figure out what the problem is, but I'm not sure how to fix it yet. But I'm on it, a solution should be in an upcoming build.
Logged
~ nevcairiel
~ Author of LAV Filters

pitzaman

  • Recent member
  • *
  • Posts: 16
Re: LTR subtitles
« Reply #11 on: February 13, 2014, 06:13:44 am »

Yipikaye! Great news!
I'm waiting for the next update:-)
Thank you
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10786
Re: LTR subtitles
« Reply #12 on: February 13, 2014, 06:20:57 am »

In an upcoming build:
Fixed: Punctuation or Numbers could draw in the wrong position in Right-to-Left scripts like Hebrew or Arabic.
Logged
~ nevcairiel
~ Author of LAV Filters

pitzaman

  • Recent member
  • *
  • Posts: 16
Re: LTR subtitles
« Reply #13 on: February 15, 2014, 02:16:26 am »

It's Fixed!!! ;D
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71656
  • Where did I put my teeth?
Re: LTR subtitles
« Reply #14 on: February 15, 2014, 06:35:44 am »

Thanks for your patience and your help.
Logged
Pages: [1]   Go Up