[GRASS-dev] Re: [GRASS GIS] #1123: Cairo driver dies unexpectedly after d.font

GRASS GIS trac at osgeo.org
Sun Aug 1 11:44:11 EDT 2010


#1123: Cairo driver dies unexpectedly after d.font
---------------------+------------------------------------------------------
 Reporter:  hamish   |       Owner:  grass-dev@…              
     Type:  defect   |      Status:  new                      
 Priority:  minor    |   Milestone:  6.5.0                    
Component:  Display  |     Version:  svn-develbranch6         
 Keywords:  cairo    |    Platform:  Linux                    
      Cpu:  x86-64   |  
---------------------+------------------------------------------------------

Comment(by glynn):

 Replying to [ticket:1123 hamish]:
 > working in 6.5svn, the Cairo driver dies unexpectedly a command after I
 call d.font.

 {{{
 ERROR: Cairo_draw_bitmap: Failed to create source
 }}}

 lib/cairodriver/Draw_bitmap.c needs sync'ing with 7.0. It can't be merged
 due to other changes to the driver architecture, but it shouldn't be too
 hard to take the 7.0 version then tweak it for 6.x.

 Cairo typically requires surfaces to be word-aligned. Older versions would
 create unaligned surfaces which produced garbage when used as a source.
 Newer versions simply refuse to create them.

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



More information about the grass-dev mailing list