[sugar] X fonts, and Cairo fonts

Behdad Esfahbod besfahbo at redhat.com
Thu Apr 5 18:14:08 EDT 2007


On Wed, 2007-03-14 at 13:39 -0800, Alan Kay wrote:
> I'm all for Cairo and we plan to use it as much as possible (and 
> completely when it does all the things it needs). I'm just pointing 
> out that the time domain is not free on this machine.

Right.  An example of the kind of optimization that Bert suggests is to
load PNGs instead of SVGs.  Marco hints that when HippoCanvas becomes
smarter, this may happen transparently...

Guess what, Gtk+'s icon lookup already supports this...  No idea if
Sugar loads icons using Gtk+ or directly using librsvg.

Cheers,
behdad


> Cheers,
> 
> Alan
> 
> ----------
> 
> At 07:26 AM 3/14/2007, Marco Pesenti Gritti wrote:
> >On Wed, 2007-03-14 at 07:05 -0800, Alan Kay wrote:
> > > Hi Marco --
> > >
> > > Animation of lots of Cairo objects is not "free" on the XO (it is in
> > > fact severely limited right now, especially if collision detection is
> > > also needed), so we just have to widen the point of view to include
> > > larger issues to see what Bert is driving at.
> >
> >Hi Alan,
> >
> >what I was pointing out is that, given the architecture we chose to
> >adopt for graphics (i.e. Cairo), make stuff resolution independent is
> >"free".
> >
> >If what you are suggesting is that we should not use Cairo because it
> >has performance problems than I have two objections:
> >
> >1 Profiling shows that the main bottleneck is not Cairo itself but the
> >888 -> 555 conversion. Cairo does not support 565 but that's fixable if
> >we want to.
> >2 We need a powerful 2D API, given that the user experience design is
> >heavily based on vector graphics. I don't see realistic alternatives to
> >Cairo (and I don't think we should be looking for one given 1)
> >
> >Cheers,
> >Marco
> 
> _______________________________________________
> Sugar mailing list
> Sugar at laptop.org
> http://mailman.laptop.org/mailman/listinfo/sugar
-- 
behdad
http://behdad.org/
-------------- 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://mailman.laptop.org/pipermail/sugar/attachments/20070405/7bf15902/attachment-0001.pgp 


More information about the Sugar mailing list