Re: Font-related question...
Behdad Esfahbod <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On 13-03-21 07:23 PM, Philip Schneider wrote: [snip] > > // Can get the font pointer, if need be.. > testFont = cairo_get_scaled_font(cr); Correct. "if need be" is key. Most of the time you don't need it. Cairo does all kinds of caching for you. The reason cairo_scaled_font_create() exists is to be able to create scaled fonts even when you don't have a surface at hand. behdad -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo