[cairo] Question about gstate transitions and scaled fonts
Martin Robinson
mrobinson at igalia.com
Fri Nov 4 14:47:58 PDT 2011
On 11/04/2011 02:20 PM, Martin Robinson wrote:
> cairo_select_font_face(...);
> for (...) {
> cairo_save(...);
> cairo_show_text(...);
> cairo_restore(...);
> }
After sending this note, I almost immediately realized this is only an
issue if you don't use cairo_set_scaled_font. Many clients, including
WebKit use cairo_set_scaled_font directly, so my previous observation
probably isn't a large problem at all. Sorry for the noise. :)
--Martin
More information about the cairo
mailing list