[cairo] API to set PostScript Language Level
Emmanuel Pacaud
emmanuel.pacaud at lapp.in2p3.fr
Wed Sep 19 00:01:40 PDT 2007
Le mardi 18 septembre 2007 à 15:50 -0700, Carl Worth a écrit :
> 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.)
I don't think this is the best default, at least for SVG. What we want
is a good output AND something that most of the available renderer can
render. The use of SVG 1.2 as default would not be a good idea.
Emmanuel.
--
Emmanuel PACAUD
Groupe Virgo
LAPP - Laboratoire d'Annecy-le-Vieux de physique des particules
9, chemin de Bellevue - BP 110
74941 Annecy-le-Vieux CEDEX
France
Tél: (+33)4 50 09 17 89 - Fax: (+33)4 50 27 94 95
More information about the cairo
mailing list