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

List:       cairo
Subject:    Re: [cairo] Cairo 1.9.2 performance
From:       cu <cairouser () yahoo ! com>
Date:       2009-06-18 17:08:54
Message-ID: 4A3A74A6.90701 () yahoo ! com
[Download RAW message or body]

Come to think of it, this mode of operation creates a somewhat
significant issue for some of our modules where font size is selected
dynamically based on widget parameters. Since Cairo essentially
abandoned font caching, we'll now have to build our own font cache for
size/type etc just to make up for this functionality (unless I
misunderstand the solution)?

It would be wonderful if font caching somehow was retained, perhaps as
an option, in 1.9.x - we'd love to upgrade at some point but preferably
not at a cost of more development.


Chris Wilson wrote:
> Alternatively you can always query the font chosen for a particular
> face, family, size, slant and weight by calling
> cairo_get_scaled_font(cr) after setting up the font parameters. Then to
> restore that particular resolved font, use cairo_set_scaled_font().
>   

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

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