[cairo] API to set PostScript Language Level

Adrian Johnson ajohnson at redneon.com
Wed Sep 19 05:55:16 PDT 2007

Carl Worth wrote:
> On Tue, 18 Sep 2007 18:22:21 -0400, Behdad Esfahbod wrote:
>>   - For both SVG and PS, do we need to add a getter function for the
>> level of a surface?
> It certainly wouldn't hurt.

cairo_ps_surface_get_level (cairo_surface_t *surface);

>>   - What is the default level?  How does it change in the future? How
>> can a user set it to latest supported version?  Or do we list versions
>> in any specific order?  I'm just trying to make sure that level-agnostic
>> applications don't end up generating poor PS/SVG just because they
>> didn't set the level.
> Shall we just default to the latest supported version? It seems like
> that should handle most concerns. (If an application wants to limit
> itself to a particular version, then it makes sense that it should
> have to make a function call to get that behavior.)
> -Carl

I'll make the default Level 3.

More information about the cairo mailing list