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

GRASS GIS trac at osgeo.org
Tue Sep 1 05:00:59 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:29 annakrat]:
 > I can replicate the problem on windows 10 in virtual box. The
 run_gmkfontcap.bat seems to run during the installation and there are no
 erros in the terminal (I recorded a video to make sure I haven't missed
 anything). When I manually run the bat file with admin rights, I can see
 legend with text again.

 what I can imagine that file permission control may have changed between
 windows versions (Vista, 7,8,10).

 e.g. we had to introduce

 https://trac.osgeo.org/grass/browser/grass/trunk/mswindows/GRASS-
 Installer.nsi.tmpl#L894

 in order to set grassxy.py executable in win 7 and later.

 maybe we have to do similar with the fontcap file

 for more information:

 http://nsis.sourceforge.net/AccessControl_plug-in.

 another related thing may be to raise run_gmkfontcap.bat's access control.

 at the moment we set it accordingliy:

 https://trac.osgeo.org/grass/browser/grass/trunk/mswindows/GRASS-
 Installer.nsi.tmpl#L578

 so may change

 <requestedExecutionLevel level=“asInvoker“ uiAccess=“false“ />

 to:

 <requestedExecutionLevel level=“requireAdministrator“ uiAccess=“false“ />

 could help.

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



More information about the grass-dev mailing list