[GRASS-dev] [GRASS GIS] #2448: Fontconfig error with cairo on Windows

GRASS GIS trac at osgeo.org
Fri Sep 11 01:05:32 PDT 2015


#2448: Fontconfig error with cairo on Windows
--------------------------+-------------------------------------------
  Reporter:  annakrat     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.0.2
 Component:  Display      |    Version:  7.0.0
Resolution:               |   Keywords:  font, text, legend, scale bar
       CPU:  Unspecified  |   Platform:  MSWindows 8
--------------------------+-------------------------------------------

Comment (by hellik):

 Replying to [comment:51 hellik]:
 > Replying to [comment:47 annakrat]:
 > > Replying to [comment:44 hellik]:
 > > > Replying to [comment:42 annakrat]:
 > > > >
 > > > > Unfortunately, no change. I wonder if the problem is something
 different then permissions.
 > > >
 > > > I'm quite sure that it is a file writing permission issue in a
 usually non-writeable folder (c:\Program Files\your program\folder to
 change something) in win 8 and above.
 > > >
 > > > tested it on several win 7 boxes here, it works fine. unfortunately
 no win 8 oder win 10 box here on my side.
 > >
 > > If you want to spend even more time on it, you can download/use
 windows 10 for free, and run it in virtual box. But it is not just windows
 10 issue from what I've seen.
 >
 > see
 >
 > http://lists.osgeo.org/pipermail/grass-dev/2015-September/076229.html
 > http://lists.osgeo.org/pipermail/grass-dev/2015-September/076234.html
 >
 > GRASS_FONT_CAP
 >     [g.mkfontcap, d.font, display drivers]
 >     specifies an alternative location (to $GISBASE/etc/fontcap) for the
 font
 > configuration file.
 >
 > this may the way to go using it in the winGRASS-installer.

 a possible procedure:

 the windows variable where all users have access: %ALLUSERSPROFILE% [1]


 (1) add to
 https://trac.osgeo.org/grass/browser/grass/trunk/mswindows/env.bat

 set GRASS_FONT_CAP=%ALLUSERSPROFILE%\GRASS7

 (2) create by winGRASS installer folder %ALLUSERSPROFILE%\GRASS7

 (3) add to run_gmkfontcap.bat

 set GRASS_FONT_CAP=%ALLUSERSPROFILE%\GRASS7

 (3) run run_gmkfontcap.bat by the installer


 [1] https://technet.microsoft.com/en-us/library/cc749104%28v=ws.10%29.aspx

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2448#comment:52>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list