From kde-devel Sat Sep 29 05:53:35 2007 From: "Gary L. Greene Jr." Date: Sat, 29 Sep 2007 05:53:35 +0000 To: kde-devel Subject: Re: KDE3 thai word break: KLibLoader --> QLibrary Message-Id: <200709282253.35182.greeneg () tolharadys ! net> X-MARC-Message: https://marc.info/?l=kde-devel&m=119104527320060 On Friday 28 September 2007 10:43:07 pm Pattara Kiatisevi (list) wrote: > Hi kde-devel, > > Currently rendering Thai text in KDE3's KHTML on Linux platform makes > use of libthai's th_brk() to identify suitable word break positions (as > Thai sentences have no space between words). If libthai is not linked to > kdelibs (done so by configure --enable-libthai=yes), kdelibs will try to > dynamically load libthai.so using KLibLoader (see > kdelibs/khtml/rendering/break_lines.cpp). > > KLibLoader requires libthai.la, which recently has been removed from > Linux distro's libthai-dev packages (e.g., in Debian), resulting in it > couldn't load libthai at all, and all Thai web pages are incorrectly > rendered, i.e., word breaking at wrong positions. > > One solution suggested by Theppitak as discussed in > http://groups.google.com/group/thai-linux-foss-devel/ is to switch to > use QLibrary instead, which won't need libthai.la. It will look for > libthai.so directly (would be even better though if it will look for > libthai.so.0 directly so that libthai-dev package needs not be installed). > > The attached patch is tested against kdelibs-3.5.6 on Ubuntu 7.04. Or > you can grab it here: > http://www.suriyan.in.th/patches/kdelibs-3.5.6-thai-break-qlibrary-instead- >off-klibloader.patch > > Are we gonna have another release of KDE3? Is it possible to include > this patch? > > Cheers, > Pattara This is a Debian specific packaging bug. Many distributions are still shipping libtool archive files. Please contact the packagers of KDE for Debian via http://bugs.debian.org/. -- Gary L. Greene, Jr. Sent from: peorth.tolharadys.net 22:50:21 up 20 days, 15 min, 1 user, load average: 0.04, 0.03, 0.04 ========================================================================= Developer and Project Lead for the AltimatOS open source project Volunteer Developer for the KDE open source project See www.tolharadys.net and www.kde.org for more information ========================================================================= Please avoid sending me Word or PowerPoint attachments. >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<