[GRASS-dev] [GRASS GIS] #2448: Fontconfig error with cairo on Windows
GRASS GIS
trac at osgeo.org
Thu Mar 12 16:19:28 PDT 2015
#2448: Fontconfig error with cairo on Windows
-------------------------------------------+--------------------------------
Reporter: annakrat | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.1
Component: Display | Version: 7.0.0
Keywords: font, text, legend, scale bar | Platform: MSWindows 8
Cpu: Unspecified |
-------------------------------------------+--------------------------------
Comment(by hellik):
Replying to [comment:12 annakrat]:
> I made a screencast to see what's in the terminal which just flashes
during the installation. I get:
>
>
> {{{
> Setup of WinGRASS-7.0.0
> Generating the font configuration file by scanning various directories
for fonts
>
> Please wait. Console window will close automatically ....
> ERROR: GISRC - variable not set
> }}}
>
> This is the same what happens if you run run_gmkfontcap from windows
command prompt.
is this a fresh system without any previous winGRASS-installation before?
I've added gmkfontcap.bat (''Run g.mkfontcap outside a grass session
during installation'') years ago.
relevant lines of codes
[http://trac.osgeo.org/grass/browser/grass/trunk/mswindows/GRASS-
Installer.nsi.tmpl#L531 g.mkfontcap] and following.
{{{
534 IfErrors done_create_run_gmkfontcap.bat
535 FileWrite $0 '@echo off$\r$\n'
536 FileWrite $0 'rem
#########################################################################$\r$\n'
537 FileWrite $0 'rem #$\r$\n'
538 FileWrite $0 'rem # Run g.mkfontcap outside a grass
session during installation$\r$\n'
539 FileWrite $0 'rem #$\r$\n'
540 FileWrite $0 'rem
#########################################################################$\r$\n'
541 FileWrite $0 'echo Setup of
WinGRASS-${VERSION_NUMBER}$\r$\n'
542 FileWrite $0 'echo Generating the font configuration file
by scanning various directories for fonts.$\r$\n'
543 FileWrite $0 'echo Please wait. Console window will close
automatically ....$\r$\n'
544 FileWrite $0 '$\r$\n'
545 FileWrite $0 'rem set gisbase$\r$\n'
546 FileWrite $0 'set GISBASE=$INSTALL_DIR$\r$\n'
547 FileWrite $0 '$\r$\n'
548 FileWrite $0 'rem set path to freetype dll$\r$\n'
549 FileWrite $0 'set
FREETYPEBASE=$INSTALL_DIR\extrabin;$INSTALL_DIR\msys\bin;$INSTALL_DIR\lib$\r$\n'
550 FileWrite $0 '$\r$\n'
551 FileWrite $0 'rem set dependecies path$\r$\n'
552 FileWrite $0 'set PATH=%FREETYPEBASE%;%PATH%$\r$\n'
553 FileWrite $0 '$\r$\n'
554 FileWrite $0 'rem run g.mkfontcap outside a grass
session$\r$\n'
555 FileWrite $0 '"%GISBASE%\bin\g.mkfontcap.exe" -o$\r$\n'
556 FileWrite $0 'exit$\r$\n'
557 FileClose $0
}}}
any idea which variable isn't set?
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2448#comment:13>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list