[GRASS-dev] Re: [GRASS GIS] #1338: Text doesn't display for d.legend and d.barscale

GRASS GIS trac at osgeo.org
Tue Mar 29 13:57:01 EDT 2011


#1338: Text doesn't display for d.legend and d.barscale
----------------------------+-----------------------------------------------
 Reporter:  snorfalorpagus  |       Owner:  grass-dev@…              
     Type:  defect          |      Status:  new                      
 Priority:  critical        |   Milestone:  7.0.0                    
Component:  Display         |     Version:  svn-trunk                
 Keywords:  cairo           |    Platform:  MacOSX                   
      Cpu:  OSX/Intel       |  
----------------------------+-----------------------------------------------

Comment(by snorfalorpagus):

 GRASS_FONT is not set. The romans font does appear to be installed:

 /Applications/GRASS-7.0.app/Contents/MacOS/fonts/romans.hmp

 I tried setting it to italicc, but no change.

 When I start GRASS, I get these warnings. I'm not sure if it's related. It
 happens right when the GUI starts. Everything else seems to function OK.

 {{{
 Launching 'wxpython' GUI in the background, please wait...
 GRASS 7.0.svn (hydro52021):~ > Tue Mar 29 18:46:08 Snorfalorpagus-
 MBP-15.local Python[1091] <Error>: kCGErrorIllegalArgument:
 CGSGetWindowBounds: NULL window
 Tue Mar 29 18:46:08 Snorfalorpagus-MBP-15.local Python[1091] <Error>:
 kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as
 they are logged.
 Tue Mar 29 18:46:08 Snorfalorpagus-MBP-15.local Python[1091] <Error>:
 CGContextRestoreGState: invalid context 0x0
 Tue Mar 29 18:46:08 Snorfalorpagus-MBP-15.local Python[1091] <Error>:
 CGContextRestoreGState: invalid context 0x0
 Tue Mar 29 18:46:08 Snorfalorpagus-MBP-15.local Python[1091] <Error>:
 CGContextRestoreGState: invalid context 0x0
 Tue Mar 29 18:46:08 Snorfalorpagus-MBP-15.local Python[1091] <Error>:
 CGContextRestoreGState: invalid context 0x0
 Tue Mar 29 18:46:08 Snorfalorpagus-MBP-15.local Python[1091] <Error>:
 CGContextRestoreGState: invalid context 0x0
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1338#comment:4>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list