Lyrik Project Forum

 
Please login or register.

Author Topic: Right to left  (Read 1303 times)

DXMan

  • Jr. Member
  • **
  • Posts: 15
  • Karma: 1
    • View Profile
Right to left
« on: November 10, 2008, 07:17:18 PM »
I write arabic lyriks and my language is right-to-left read order...

each word is displayed correctly, but words order are inverted...
i mean if i write an arabic sentence that means "You are welcome." it will be read as "welcome. are You" :D

I don't know is this a bug or a suggestion to support rtl languages...
thanx

Magus

  • Administrator
  • Hero Member
  • *****
  • Posts: 120
  • Karma: 4
    • View Profile
    • Lyrik Project
Re: Right to left
« Reply #1 on: November 11, 2008, 04:26:48 AM »
Yeah, I don't know if the treatment for right-to-left languages are correct... kind I do not know much them...

But did you tried to select the "Right-to-Left" option in the Editor? (I don't know if its really works).
If don't, can you help me to solve that?  :P

DXMan

  • Jr. Member
  • **
  • Posts: 15
  • Karma: 1
    • View Profile
Re: Right to left
« Reply #2 on: November 11, 2008, 07:46:14 PM »
the right to left button affects only the textbox below, and I think i can help you solving it (I am a 4 year experience C++ programmer), you just have to tell me how did you implemented that screen and i hope to help you  :)

Magus

  • Administrator
  • Hero Member
  • *****
  • Posts: 120
  • Karma: 4
    • View Profile
    • Lyrik Project
Re: Right to left
« Reply #3 on: November 12, 2008, 12:09:36 AM »
Hmm.. so into the textbox is correct?
I separated the lyric in lines, and line in words: each lyric has an array of lines, each line has an array of words, simple like that  ;D

But the problem is into text separation... Like, CrLf is the line separator (ok), and special caracters (like space, -, underline, etc) are words seps.

I thought that the textbox bring me a allready rtl string, but apparently not... so I'll have to 'reorder' words if is right to left.
Is that simple? (just change words sequence) or there is another thing? Like, if try to put 'normal' alphanumeric chars?

DXMan

  • Jr. Member
  • **
  • Posts: 15
  • Karma: 1
    • View Profile
Re: Right to left
« Reply #4 on: November 13, 2008, 12:15:00 AM »
this is a long talk, my email is a yahoo id, so feel free to add me to your messenger list to talk ;)

Magus

  • Administrator
  • Hero Member
  • *****
  • Posts: 120
  • Karma: 4
    • View Profile
    • Lyrik Project
Re: Right to left
« Reply #5 on: November 13, 2008, 02:28:03 AM »
Tkz, just added  :)

I had some progress on rtl: now It's really in rtl, but only rtl  ::)
Kind of, or use RTL or LTR, still no support for a same text that has both direction  :P

DXMan

  • Jr. Member
  • **
  • Posts: 15
  • Karma: 1
    • View Profile
Re: Right to left
« Reply #6 on: November 13, 2008, 05:48:20 PM »
it's supported only if i didn't set the times (no karaoke) :(

Magus

  • Administrator
  • Hero Member
  • *****
  • Posts: 120
  • Karma: 4
    • View Profile
    • Lyrik Project
Re: Right to left
« Reply #7 on: November 14, 2008, 04:58:39 AM »
Hey there,

I found a gooood resource about unicode at unicode.org  :P  It's just complet, a bit hard to find what exactly want but still complete.
So I made a 'pre' release version of Lyrik 1.1, can you test for me plz?
Download: http://www.lyrikproject.net/website/bin/lyrik_pre_110.zip , just replace the original files at ..\program files\Lyrik
The best is olders versions will see the correcty RTL order (or, I expect that)  ;D

See ya,
« Last Edit: November 14, 2008, 05:08:59 AM by Magus »

DXMan

  • Jr. Member
  • **
  • Posts: 15
  • Karma: 1
    • View Profile
Re: Right to left
« Reply #8 on: November 15, 2008, 12:14:31 PM »
it's perfect in rtl, but i don't know if it's beta cuz an error happens a lot:

Error at: mString.wstringTOutf8
Description: Invalid procedure call or argument

anyway, you made it u r Great ;)

Magus

  • Administrator
  • Hero Member
  • *****
  • Posts: 120
  • Karma: 4
    • View Profile
    • Lyrik Project
Re: Right to left
« Reply #9 on: November 15, 2008, 11:41:36 PM »
Tkz a lot for bug report  :D
Now Lyrik is stable enought to be released  :)

Abivabic73

  • Guest
Right to left
« Reply #10 on: November 16, 2009, 06:29:13 PM »
I strongly recomment it to be left to right default .. Please

the Text is not accepting any foramts .. not a single one .. please be informed and guide me if it is something wrong from myside ..

Regards ..

Assalam Alaikum

Magus

  • Administrator
  • Hero Member
  • *****
  • Posts: 120
  • Karma: 4
    • View Profile
    • Lyrik Project
Re: Right to left
« Reply #11 on: November 17, 2009, 12:10:03 AM »
Hi,

But the default is Left to Right (not Right to Left).

Where is not accepting unicode? In editing? In showing?

See ya,

 

Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
ModernDark64 design by BlocWeb