As pointed out in Pruet's original message, Thai can't use the existing 
whitespace-oriented fb_LineBreaker.  I don't know whether any other 
languages share this problem.

As Justin points out, our current implementation lacks a hyphenation API.  
If we had one, then in addition to our current word-oriented LineBreaker, 
we'd probably also have some WordBreaker classes which knew how and when to 
do hyphenation. 

I haven't thought through the performance implications of implementing the 
necessary Thai-specific logic:

  - inside a LineBreaker subclass vs. 
  - inside a WordBreaker subclass

However, I think we will want to have it be a LineBreaker (which detects 
word boundaries).  Otherwise, how would we implement the word-level 
selection and motion primitives?  

Paul




Reply via email to