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

GRASS GIS trac at osgeo.org
Tue Sep 1 02:08:49 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.

 tested here now with

 WinGRASS-7.0.2svn-r66066-127-Setup.exe

 C:\Program Files\GRASS GIS 7.0.2svn\etc\fontcap with following entries:

 {{{
 cyrilc|Cyrillic|0|C:\Program Files\GRASS GIS
 7.0.2svn\fonts\cyrilc.hmp|0|utf-8|
 gothgbt|Gothic Great Britain triplex|0|C:\Program Files\GRASS GIS
 7.0.2svn\fonts\gothgbt.hmp|0|utf-8|
 gothgrt|Gothic German triplex|0|C:\Program Files\GRASS GIS
 7.0.2svn\fonts\gothgrt.hmp|0|utf-8|
 [...]
 verdana|Verdana Regular|1|C:\Windows\Fonts\verdana.ttf|0|utf-8|
 verdanab|Verdana Bold|1|C:\Windows\Fonts\verdanab.ttf|0|utf-8|
 verdanai|Verdana Italic|1|C:\Windows\Fonts\verdanai.ttf|0|utf-8|
 verdanaz|Verdana Bold Italic|1|C:\Windows\Fonts\verdanaz.ttf|0|utf-8|
 Vivaldii|Vivaldi Italic|1|C:\Windows\Fonts\Vivaldii.TTF|0|utf-8|
 vrinda|Vrinda Regular|1|C:\Windows\Fonts\vrinda.ttf|0|utf-8|
 waker___|Waker Regular|1|C:\Windows\Fonts\waker___.ttf|0|utf-8|
 webdings|Webdings Regular|1|C:\Windows\Fonts\webdings.ttf|0|utf-8|
 wingding|Wingdings Regular|1|C:\Windows\Fonts\wingding.ttf|0|utf-8|
 WINGDNG2|Wingdings 2 Regular|1|C:\Windows\Fonts\WINGDNG2.TTF|0|utf-8|
 WINGDNG3|Wingdings 3 Regular|1|C:\Windows\Fonts\WINGDNG3.TTF|0|utf-8|
 }}}

 and with

 WinGRASS-7.1.svn-r66072-44-Setup.exe

 C:\Program Files\GRASS GIS 7.1.svn\etc\fontcap with following entries:

 {{{
 cyrilc|Cyrillic|0|C:\Program Files\GRASS GIS
 7.1.svn\fonts\cyrilc.hmp|0|utf-8|
 gothgbt|Gothic Great Britain triplex|0|C:\Program Files\GRASS GIS
 7.1.svn\fonts\gothgbt.hmp|0|utf-8|
 gothgrt|Gothic German triplex|0|C:\Program Files\GRASS GIS
 7.1.svn\fonts\gothgrt.hmp|0|utf-8|
 gothitt|Gothic Italian triplex|0|C:\Program Files\GRASS GIS
 7.1.svn\fonts\gothitt.hmp|0|utf-8|
 [...]
 verdana|Verdana Regular|1|C:\Windows\Fonts\verdana.ttf|0|utf-8|
 verdanab|Verdana Bold|1|C:\Windows\Fonts\verdanab.ttf|0|utf-8|
 verdanai|Verdana Italic|1|C:\Windows\Fonts\verdanai.ttf|0|utf-8|
 verdanaz|Verdana Bold Italic|1|C:\Windows\Fonts\verdanaz.ttf|0|utf-8|
 Vivaldii|Vivaldi Italic|1|C:\Windows\Fonts\Vivaldii.TTF|0|utf-8|
 vrinda|Vrinda Regular|1|C:\Windows\Fonts\vrinda.ttf|0|utf-8|
 waker___|Waker Regular|1|C:\Windows\Fonts\waker___.ttf|0|utf-8|
 webdings|Webdings Regular|1|C:\Windows\Fonts\webdings.ttf|0|utf-8|
 wingding|Wingdings Regular|1|C:\Windows\Fonts\wingding.ttf|0|utf-8|
 WINGDNG2|Wingdings 2 Regular|1|C:\Windows\Fonts\WINGDNG2.TTF|0|utf-8|
 WINGDNG3|Wingdings 3 Regular|1|C:\Windows\Fonts\WINGDNG3.TTF|0|utf-8|
 }}}

 run_gmkfontcap.bat works here on my side as expected, the fontcap file is
 updated.

 before you run the bat file with admin rights manually, can you check

 (1) if the fontcap file exists in C:\Program Files\GRASS GIS 7.1.svn\etc\
 ?
 (2) if yes, what is the content of fontcap ? (just open the file in a text
 editor)

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



More information about the grass-dev mailing list