[cairo] PS level changing

Carl Worth cworth at cworth.org
Tue Mar 25 10:50:56 PDT 2008


On Tue, 25 Mar 2008 16:07:31 +0100, "Marek Kasik" wrote:
> I would like to ask you one question about Cairo. I need to change PS level
> of generated cairo_surface_t from 2 to 3, because of printers which supports
> PS level 3 (default level is 2). I tried to use function
> cairo_ps_surface_restrict_to_level(), but it doesn't help. It only decreases
> the PS level (3 -> 2), but doesn't increase it.
> Is there any other way to change the level of generated surface?
> I use cairo 1.5.14.

Hi Marek,

The intent here is that cairo will automatically compute the minimal
required PostScript level to capture all of your cairo drawing as
accurately as possible, but never to exceed the minimum level you set
with cairo_ps_surface_restrict_to_level.

That is, if by default cairo is emitting PostScript level 2 rather
than PostScript level 3 then that should be because cairo didn't see
any benefit that could be obtained with any Level 3-specific feature
of PostScript.

So what actual problem are you having? Is there some Level 3-specific
feature that you wish cairo would take advantage of and it's not?

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080325/74841c10/attachment.pgp 


More information about the cairo mailing list