#908: No Font Definition File, windows xp
---------------------------+------------------------------------------------
  Reporter:  voncasec      |       Owner:  [email protected]        
      Type:  defect        |      Status:  new                              
  Priority:  critical      |   Milestone:  6.4.0                            
 Component:  Installation  |     Version:  svn-releasebranch64              
Resolution:                |    Keywords:  v.label.sa, g.mkfontcap, wingrass
  Platform:  MSWindows XP  |         Cpu:  Unspecified                      
---------------------------+------------------------------------------------
Comment (by glynn):

 Replying to [comment:6 hamish]:
 > it uses G_no_gisinit(), but from outside of grass (ie in the installer)
 it still needs to have ligbis and the freetype lib found somewhere in the
 %PATH%, right?
 Right.

 It also needs $GISBASE to be set so that it can find the stroke fonts in
 $GISBASE/fonts.

 And it needs $GISRC to be set (and valid) because `G_parser()` uses
 `G__getenv("OVERWRITE")` as well as `getenv("GRASS_OVERWRITE")`. It checks
 these regardless of whether there are any options with "new" in the
 gisprompt field (the overwrite field in the GModule structure is set
 according to whether overwrite is enabled so that modules can perform
 their own checks).

 AFAICT, the simplest fix is to add:
 {{{
     G_set_gisrc_mode(G_GISRC_MODE_MEMORY);
 }}}
 to `G_no_gisinit()`.

 Fixed in r40854 (6.5) and r40855 (7.0). Suggest back-port to 6.4 after
 testing.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/908#comment:8>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to