#1441: Hard Copy Map Utility (wxPython wrapper for ps.map) text overlay is 
broken
-------------------------------------------+--------------------------------
 Reporter:  cmbarton                       |       Owner:  grass-dev@…          
    
     Type:  defect                         |      Status:  new                  
    
 Priority:  normal                         |   Milestone:  6.4.2                
    
Component:  wxGUI                          |     Version:  svn-trunk            
    
 Keywords:  hard copy map utility, ps.map  |    Platform:  Unspecified          
    
      Cpu:  Unspecified                    |  
-------------------------------------------+--------------------------------
 Trying to add text to an output cartography window in the hard copy map
 utility raises the following error:

 Traceback (most recent call last):
   File "/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.8.0/etc/gui/wxpython/gui_modules/psmap_dialogs.py",
 line 1677, in OnOK

 ok = self.OnApply(event)
   File "/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.8.0/etc/gui/wxpython/gui_modules/psmap_dialogs.py",
 line 1670, in OnApply

 self.parent.DialogDataChanged(id = self.id)
   File "/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.8.0/etc/gui/wxpython/gui_modules/psmap.py", line
 763, in DialogDataChanged

 extent = self.getTextExtent(textDict =
 self.instruction[id].GetInstruction())
   File "/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.8.0/etc/gui/wxpython/gui_modules/psmap.py", line
 681, in getTextExtent

 dc.SetFont(wx.FontFromNativeInfoString(textDict['font'] + "
 " + fontsize))
   File "/Users/Shared/grass_dev/grass70_dev/macosx/dist/GRAS
 S-7.0.app/Contents/MacOS/etc/python/wx/_gdi.py", line 2309,
 in FontFromNativeInfoString

 val = _gdi_.new_FontFromNativeInfoString(*args, **kwargs)
 wx._core

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1441>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to