[cairo] API to set PostScript Language Level

Behdad Esfahbod behdad at behdad.org
Tue Sep 18 15:52:32 PDT 2007


On Tue, 2007-09-18 at 15:50 -0700, 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.
> 
> >   - 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.)

Yes, I tend to lean towards that too.

> -Carl
-- 
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





More information about the cairo mailing list