[GRASS-dev] raster offset with cairo driver

Glynn Clements glynn at gclements.plus.com
Tue Nov 27 02:41:29 EST 2007


Hamish wrote:

> raster offset and fonts now look ok, good stuff guys.
> 
> I've updated the fancy example on the wiki page to show off the fancy compass:
>  http://grass.gdf-hannover.de/wiki/Cairo_driver#Examples
> 
> 
> d.out.file now has added support for ps, svg, and pdf by way of the Cairo
> driver.
> 
> but it doesn't work, I get output like this for the simple spearfish example:

[snip]

It works for me. Where "works" means "renders everything then dumps
the resulting raster image to a 14MiB PostScript file".

Well, that rules out using cairo for the core of the 7.x graphics
architecture.

> also, is it possible for the Cairo driver in PS and PDF modes to respect
> GRASS_LANDSCAPE and GRASS_PAPER like the GRASS PS driver?

That shouldn't be hard.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list