maxwellyu1024 / bpbible

Automatically exported from code.google.com/p/bpbible
Other
0 stars 0 forks source link

Display problems for right to left languages (Hebrew, Farsi, Arabic, ...) #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Download and install the WLC hebrew file from SWORD.
If you open any book in the Hebrew Bible, the words are displayed in the
correct order, but backwards, since Hebrew reads from right to left. So
Genesis 1:1 has the words in teh correct order if you read them backwards
(from left to right).

What is the expected output? What do you see instead?
It would be nice if we saw correctly arranged Hebrew. That is,
NOW: word 1, 2, 3, 4, 5, etc.
It should be: 5, 4, 3, 2, 1 (starting on right side).
It should also be right justified, rather than left justified.

What version of the product are you using? On what operating system?
Windoze XP.

Please provide any additional information below.
Reformatting text is very difficult (word wrap, etc.) and I don't know if
there are open source tools for doing this. The system should recognize
that the language is Hebrew and change the way it displays information
automatically.

Original issue reported on code.google.com by adamlpor...@gmail.com on 1 Oct 2008 at 2:44

GoogleCodeExporter commented 9 years ago
This is a underlying problem with the wxHTML control that is used. I don't think
there is an easy way to fix this with the wxHTML control. I'll see whether 
aligning
the text right and rearranging the words can help at all.

This may not be fixed in 0.4, but this may be fixed in 0.5 if BPBible moves to a
XULRunner (using the gecko layout engine, which firefox uses). This would do it 
properly.

Original comment by benpmor...@gmail.com on 1 Oct 2008 at 10:59

GoogleCodeExporter commented 9 years ago
It would be great to get this fixed, though it is freadable now, word by word, 
since
strangely each word reads correctly RTL while between words it reads LTR... ;) 

BTW thanks for a great tool which will be really useful!

Original comment by tim.bulk...@gmail.com on 14 Oct 2008 at 11:31

GoogleCodeExporter commented 9 years ago
Yes, this is true. The html control does a word at a time, which is then 
rendered
correctly by Windows. However, the html control will only do the word flow from 
left
to right - so I could align the text right, but the word order would be wrong.

Original comment by benpmor...@gmail.com on 15 Oct 2008 at 12:36

GoogleCodeExporter commented 9 years ago
Are there any tools that use wxHTML for languages like Arabic or Hebrew that 
work
RTL? Maybe someone doing that has already worked out a way to do this?

Original comment by tim.bulk...@gmail.com on 26 Dec 2008 at 4:43

GoogleCodeExporter commented 9 years ago
Others have encountered the problem, but I know of no workaround (it is a 
fundamental
wxHTML limitation, and from comments received from users of Farsi possibly 
partially
a Windows problem as well).

wxHTML has many other significant problems that hinder BPBible development, so 
we
intend to replace it with a different rendering engine in 0.5 (most likely 
Mozilla).
 As such any more work on wxHTML is unlikely to be useful.

Original comment by jonmmor...@gmail.com on 27 Dec 2008 at 6:09

GoogleCodeExporter commented 9 years ago
Issue 48 has been merged into this issue.

Original comment by benpmor...@gmail.com on 28 Dec 2008 at 6:21

GoogleCodeExporter commented 9 years ago

Original comment by jonmmor...@gmail.com on 2 Jan 2009 at 11:59

GoogleCodeExporter commented 9 years ago
Bumping to priority high, since this could be an important problem that needs 
fixing,
especially for Hebrew Bibles.

Original comment by jonmmor...@gmail.com on 28 Apr 2009 at 1:59

GoogleCodeExporter commented 9 years ago
Work on this has started in BPBible NG, though it is unlikely to reach a 
release any
time soon.

Original comment by jonmmor...@gmail.com on 15 May 2009 at 2:09

GoogleCodeExporter commented 9 years ago
This should be fixed in 0.5 beta 1.

Original comment by jonmmor...@gmail.com on 31 Dec 2010 at 6:02