[GRASS-dev] Re: [GRASS GIS] #1441: Hard Copy Map Utility (wxPython wrapper for ps.map) text overlay is broken

GRASS GIS trac at osgeo.org
Wed Sep 7 20:26:14 EDT 2011


#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                    |  
-------------------------------------------+--------------------------------

Comment(by cmbarton):

 OK. I think I've fixed this. Please test. It is r48193 in trunk only right
 now. Especially check to make sure that Times displays correctly. It works
 on my Mac but I'm not positive that it works on other systems (hopefully
 so).

 There is one issue remaining. I've fixed it so that it recognizes
 multiline text. This works for the box outline drawn in the layout window
 and in the preview too. But the layout window also shows the text itself
 and not just the text box outline. The text being printed to the layout
 window somehow is not getting line breaks, even though they seem to be in
 the original text string stored for display.

 The relevant line here is 1558 of psmap.py if anyone wants to see why the
 layout text is not breaking correctly.

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



More information about the grass-dev mailing list