Hello, I work on the WordPerfect importer for OOo. I have a problem and
I would like to request for an advice.
WordPerfect is not really a BiDi wordprocessor. At least the versions
released in Europe and America. If you want to include an Arabic or
Hebrew text, you have to enter it litterally backwards, so that it shows
correctly.
Once the WordPerfect document converted by libwpd, the characters from
the special Hebrew and Arabic character sets become normal UTF-8 encoded
characters. OOo detects that the characters are from unicode range that
normally belongs to RTL languages and renders them right-to-left by
default. This means that all Arabic and Hebrew text that shows correctly
in WordPerfect is reversed in OOo.
I tried to fix this issue by inserting at the beginning of every span a
control character left-to-right-override (Unicode number 0x202d). This
in effect forces the LTR rendering, but...
... As you can see from the documents in
http://hei.unige.ch/~strba5/Smokey/ , the control characters are
displayed on my Fedora Core 4 build of m108. (The documents are
converted by a stock ooo with cws fs01 and fs02 integrated). On the
debian build of m108, the characters are displayed as blank space of the
width of a normal character.
Since I would not like to accept a solution that gives different results
from one system, I'd like to have your advice whether a simpler and more
elegant solution exist.
Thanks in advance
Fridrich Strba
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]