[GRASS-dev] [GRASS GIS] #2403: cairo driver fails to create surface

GRASS GIS trac at osgeo.org
Tue Dec 23 15:05:53 PST 2014


#2403: cairo driver fails to create surface
----------------------+-----------------------------------------------------
  Reporter:  martinl  |       Owner:  martinl                   
      Type:  defect   |      Status:  closed                    
  Priority:  major    |   Milestone:  7.0.0                     
 Component:  Display  |     Version:  unspecified               
Resolution:  fixed    |    Keywords:  cairo, resolution, surface
  Platform:  Linux    |         Cpu:  x86-64                    
----------------------+-----------------------------------------------------

Comment(by neteler):

 Replying to [comment:9 glynn]:
 > r63582 makes the cairo driver behave almost identically to the PNG
 driver.
 >
 > For reasons which I've been unable to determine so far, the result is
 one destination pixel wider than with the PNG driver.

 Not sure if related but here I remember ticket #72.


 > Ultimately, the code should be modified to use an intermediate surface
 which has the same dimensions as the destination rectangle, to avoid the
 overhead of copying the (empty) borders.

 Should the ticket be reopened for this?

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2403#comment:14>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list