[GRASS-dev] raster offset with cairo driver

Glynn Clements glynn at gclements.plus.com
Tue Nov 27 18:53:56 EST 2007


Dylan Beaudette 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".
> 
> ... thats strange.. it wrote out a 2mb file using the "complicated example", 
> listed at the bottom of the wiki page on Cairo... 

If I try it, the resulting PostScript file is 26MiB.

Does your PostScript file contain identifiable vector data, or is it
just one big base85-encoded raster?

Which version of cairo are you using?

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


More information about the grass-dev mailing list