Subject: Re: i18n of abiword -- line break algorithms
From: Paul Rohr (paul@abisource.com)
Date: Fri Jan 14 2000 - 15:13:56 CST
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
This archive was generated by hypermail 2b25 : Fri Jan 14 2000 - 15:08:37 CST