[cairo] Lao Word-Break Support Contribution

Behdad Esfahbod behdad at behdad.org
Mon Mar 11 19:43:59 PDT 2013


[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
> <robert.rcampbell at gmail.com> 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/


More information about the cairo mailing list