[Webkit-unassigned] [Bug 16981] New: Thai word break support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 22 21:02:56 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16981

           Summary: Thai word break support
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: PC
               URL: http://linux.thai.net/viewvc/viewvc.cgi/software/webkit/
                    webkit-
                    0svn25144/webkit_wordbreak.diff?revision=1.4&view=markup
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pattara at mm.co.th


In Thai, a sentence is composed of several words without space in between like
in English. Therefore it is neccessary for the software to know word boundary
locations so that it can wrap the line properly (i.e., wrap between words, not
in the middle of the word).

This patch adds Thai word break support for WebKit using libthai library
(http://sourceforge.net/projects/libthai). The algorithm/code is very similar
to the one in KDE's KHTML.

As a Thai, I think it's best to link WebKit with libthai since the compile time
so that webkit will always come with full Thai support, but I understand the
rest of the world who don't read Thai might not want to install libthai library
when they don't really use it. Therefore the patch checks to load libthai
dynamically (using dlopen) if libthai is not linked.

http://linux.thai.net/viewvc/viewvc.cgi/software/webkit/webkit-0svn25144/webkit_wordbreak.diff?revision=1.4&view=markup


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list