[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    Re: [cairo] text measurement in perf?
From:       Behdad Esfahbod <behdad () behdad ! org>
Date:       2007-05-31 23:46:16
Message-ID: 1180655176.8488.3.camel () behdad
[Download RAW message or body]

On Tue, 2007-05-29 at 19:32 -0500, Federico Mena Quintero wrote:
> 
> Also, shouldn't any kind of caching be done in Pango rather than in
> Cairo or below?  Pango is the layer that has the most information
> about
> how data is being used; AFAIK Cairo only has 
> "gimme_metrics(font, glyph_no)".

pangocairo has a glyph metrics cache already, but that's limited to 256
entries too.  It doesn't help that much enlarging just that one though
as for rendering one will hit (or should I say miss?) cairo's cache
anyway.


-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759



_______________________________________________
cairo mailing list
cairo@cairographics.org
http://cairographics.org/cgi-bin/mailman/listinfo/cairo
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic