[webkit-dev] Locale-aware text breaking

Alexey Proskuryakov ap at webkit.org
Fri Apr 4 08:02:06 PDT 2008


On Apr 4, 2008, at 5:07 PM, Sergey Groznyh wrote:
> I wonder if there's any plans/ideas on implementing the locale-aware
> text breaking in WebKit?  Here in the Java port I've implemented this
> for line break iterators (so the Java port is able to split e.g. Thai
> text correctly), but I'd rather adopt the common approach if it does
> exist (or is planned.)


   As of ICU 3.6, dictionary-based Thai word boundary detection is  
supported regardless of locale, so this case works correctly in  
mainline WebKit, too.

   In general, language-specific engine features (such as better font  
selection) are blocked on <http://bugs.webkit.org/show_bug.cgi? 
id=16801> - we do not have a practical way to tell what the language  
is yet. Did you use :lang in your port, or just some system-wide  
default?

- WBR, Alexey Proskuryakov



More information about the webkit-dev mailing list