[GRASS-dev] [GRASS GIS] #1959: wingrass wx carto composer: Image causes traceback

GRASS GIS trac at osgeo.org
Mon May 6 04:28:11 PDT 2013


#1959: wingrass wx carto composer: Image causes traceback
---------------------------------------------+------------------------------
 Reporter:  hamish                           |       Owner:  grass-dev@…              
     Type:  defect                           |      Status:  new                      
 Priority:  major                            |   Milestone:  6.4.3                    
Component:  wxGUI                            |     Version:  svn-develbranch6         
 Keywords:  cartographic composer, wingrass  |    Platform:  MSWindows XP             
      Cpu:  x86-32                           |  
---------------------------------------------+------------------------------

Comment(by hamish):

 Replying to [comment:4 annakrat]:

 > Still there is the issue with 'showpage' related to certain eps files.

 thanks for the fixes, will try them out tomorrow.

 I don't really enjoy the idea of modifying base data to work around a bug
 in PIL, I'd much prefer if the python people were encouraged into fixing
 their own bug. The whole point of EPS is to be a page-less version of
 PostScript, so adding a form feed end-of-page command to it seems like an
 ugly solution to me. Nonetheless, the `eps2eps` program adds showpages to
 them, and the authors of that know better than I do about it. Does it work
 to just do:
 {{{
   echo " showpage" >> file.eps
 }}}
 ?

 What happens within the north arrow .eps files in ps/ps.map/decorations/
 doesn't much bother me since I plan to replace them with native grass
 symbol versions anyway. :-)  (so they render more cleanly, can be used in
 the regular GUI map display with d.graph, etc.)

 btw, I've been meaning to respond properly to an old email: the symbol
 sections grew somewhat organically from Radim's original set, rearranging
 them into more logical categories in trunk would be a nice thing.
 authoring them by hand is not so bad once you get used to it. see the
 IconSymbols wiki page, and sketching with some graph paper then counting
 off the coordinates helps a lot.


 one day we'll get svg + eps + d.graph + grass symbols + ps.map all working
 nicely together; it's been on the wish-list for a long time..

 Hamish

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



More information about the grass-dev mailing list