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

Mike Emmel mike.emmel at gmail.com
Sun Jan 8 09:53:24 PST 2006


Well I looked at ICU and it seems to have a big flaw besides being huge.


http://icu.sourceforge.net/userguide/layoutEngine.html

The ICU LayoutEngine is designed to process a run of text which is in
a single font.

Pango does better than that.

Mike


On 1/8/06, Mike Emmel <mike.emmel at gmail.com> wrote:
> On 1/8/06, MenTaLguY <mental at rydia.net> wrote:
> > 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.
> >
> I think there would be a lot of intrest in a small version of glib/gobject.
>
> > 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)
> >
> Cool I did not know about this. I'll investigate. From initial review it makes
> pango look small though :)
>
> > -mental
> >
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.1 (GNU/Linux)
> >
> > iD8DBQBDwUXHcUNIGiXCc4MRAqA+AJ0ZrLLVJwDeOYVQblvyp2HA2sJ9MwCgh8vc
> > nu5kvzt+tznqMlfhFTykNWo=
> > =3j++
> > -----END PGP SIGNATURE-----
> >
> >
> >
>


More information about the cairo mailing list