SOLVED: Re: [GRASS-dev] cairo: nothing in resulting ps file

Hamish hamish_b at yahoo.com
Fri Feb 8 06:06:16 EST 2008


Moritz Lennert wrote:
> >>> I just build grass --with-cairo, but when I try to create
> >>>> postscript, pdf or svg output, I only get empty files.
> >>>
> >>> I'm on debian etch using the libcairo2 & libcairo2-dev  1.2.4-4 
> >>> packages.
> >>>
> >>> Is this a problem with my cairo implementation or is it a problem
> >>> in the cairo driver ?
...
> > all I get as resulting ps file is this:
> > 
> > %!PS-Adobe-3.0
> > %%Creator: cairo (http://cairographics.org)
> > %%CreationDate: Fri Feb  8 09:41:26 2008
> > %%Pages: 0
> > %%BoundingBox: 0 0 800 800
> > %%DocumentData: Clean7Bit
> > %%LanguageLevel: 2
> > %%EndComments
> > %%BeginProlog
> > /C{curveto}bind def
> > /F{fill}bind def
> > /G{setgray}bind def
> > /L{lineto}bind def
> > /M{moveto}bind def
> > /P{closepath}bind def
> > /R{setrgbcolor}bind def
> > /S{show}bind def
> > %%EndProlog
> > % _cairo_ps_surface_emit_font_subsets
> > %%Trailer
> > %%EOF
> > 
...
> It was as simple as compiling libcairo2 1.4.14...
> Now it works !

see also previous discussion from late November:
  http://thread.gmane.org/gmane.comp.gis.grass.devel/23511/focus=23595


Hamish



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 




More information about the grass-dev mailing list