[cairo] About cairo_show_text and UTF-8...

MenTaLguY mental at rydia.net
Sun Jan 8 09:03:04 PST 2006


On Sun, 2006-01-08 at 10:22 -0600, Mike Emmel wrote:
> Today Cairo  already has a lot of use cases where a GObject dependency
> is problematic and advanced text layout is useful therefore why not a
> simple cairo specific non gobject version of pango ?

"simple" and "version of pango" are sort of mutually exclusive.  Pango's
functionality is extremely non-trivial.  It'd be a lot of work to keep
up-to-date with upstream pango, and unless you wanted to do a major
rewrite, you'd effectively have to re-implement a GObject subset anyway.

It might be easier/more worthwhile to subset GObject for situations
where the full thing would be too heavy.  I'd be surprised if pango used
all GObject features.

Another option might be to investigate using something like the layout
components of IBM's ICU, and see if that would be lighter-weight.  (n.b.
I haven't checked out the licensing situation there)

-mental
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060108/ad893584/attachment.pgp


More information about the cairo mailing list