Re: Lao Word-Break Support Contribution
Behdad Esfahbod <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <513E966F.3080503__41187.3489887968$1363730333$gmane$org@behdad.org> |
[Moving cairo to BCC] On 13-03-11 10:25 PM, Martin Robinson wrote: > On Sun, Mar 10, 2013 at 3:22 AM, Robert M Campbell > <[email protected]> wrote: >> I would like to offer a contribution to this library, if ICU is not already >> used, for supporting Lao word-breaking. > > Nice offer! If I understand it correctly though, the answer is that > Cairo doesn't do line-wrapping or word-breaking itself and requires > the caller to position all glyphs [1]. You can see that the API > available targets lower level use [2]. Right. Conceptually Lao word-breaking belongs to this module: https://git.gnome.org/browse/pango/tree/modules/thai/thai-lang.c But a dictionary is not enough to get that going. Easiest to include it in libthai. CC'ing Thep. behdad > 1. Other than the toy text API, which is just what it says: a toy. :) > 2. http://www.cairographics.org/manual/cairo-text.html > > --Martin > -- behdad http://behdad.org/ -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo