Re: Thai issue for 2.0 timeframe
Robert O'Callahan <[email protected]> Thu, 27 Apr 2006 09:54:08 +1200
| Newsgroups | gmane.comp.mozilla.internationalization |
|---|---|
| Message-ID | <b_idnSI3-66HcdLZnZ2dnUVZ_s6dnZ2d__39613.763386342$1146088819$gmane$org@mozilla.org> |
Jean-Marc Desperrier wrote: > This is not that guaranteed to change in Cairo/FF 3. It depends on what > ROC implements and he said in the comment of his blog : > http://weblogs.mozillazine.org/roc/archives/2006/02/post_1.html > > "It might make sense to eventually get line-breaking information from > UPA. However, ultimate control has to stay with nsTextFrame so we can do > hyphenation, CSS 'whitespace', and other effects. Given that, the > simplest thing to do for now, while we get everything else working, is > to keep on getting line-break information the way we currently do." > > I think it's worth insisting that FF 3 needs UPA level line-breaking. I'm sure we'll be happy to accept a patch... In the new world we construct UPA (Uniscribe/Pango/ATSUI) textrun objects only for spans of consistently styled text. For Thai line breaking I assume we need to analyze text runs containing text with different styles, which would be a big performance hit if we don't need it. So I think that even if we get linebreak information from UPA, we'll get it via a different interface than the gfxTextRun interface we're using to render with UPA. Rob