Comment 5 for bug 1157064

Revision history for this message
su_v (suv-lp) wrote :

> Not reproduced with a modified trunk version, with cairo 1.12.8.

Can't confirm this with 0.48.x and trunk on OS X 10.7 using cairo 1.12.2 and cairo 1.12.14: the provided sample SVG file (containing just 2 filled, unstroked paths) exports to PostScript Language Level 2, no matter which version is selected in the export options dialog.
The comment in the header section of the generated PostScript file(s) is always the same:
%%LanguageLevel: 2

Note that according to this page:
<http://cairographics.org/documentation/using_the_postscript_surface/>
setting the level only makes sure to conform to the specified level, not which level is actually used:
«Note that when when Language Level 3 is permitted the, "LanguageLevel" DSC comment in the output may still indicate 2 if no level 3 features are used.»

AFAIU based on above description, there is no way for Inkscape to force cairo to generate a level 3 PostScript file, if no specific level 3 features are used.