[Okular-devel] [Bug 207748] Hebrew searches text backwards

Gadi Cohen dragon at wastelands.net
Sun Jan 17 20:53:48 CET 2010


https://bugs.kde.org/show_bug.cgi?id=207748


Gadi Cohen <dragon at wastelands.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dragon at wastelands.net




--- Comment #3 from Gadi Cohen <dragon wastelands net>  2010-01-17 20:53:45 ---
I can confirm this.

I don't think the fix is that complicated either.

I'm not really familiar with the libraries (and I'm a GNOME user), but a quick
search reveals that KDE has reliable BiDi support since 3.0.1.  In particular,
I found this function:

QCString QHebrewCodec::fromUnicode ( const QString & uc, int & lenInOut ) const
[virtual]

(from http://doc.trolltech.com/3.3/qhebrewcodec.html)

which I could guess, that if the search string piped through it before the
search takes place, it would fix the problem.

(Although there might be a more suitable Qt bidi function which fixes Hebrew,
Arabic and all other RTL languages in one go.)

Gadi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list