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

classic Classic list List threaded Threaded
42 messages Options
123
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
#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 annakrat):

 Unfortunately, I got multiple reports about this problem in 7.0.1, so it's
 not fixed yet. I will try to investigate further.

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
#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:26 annakrat]:
 > Unfortunately, I got multiple reports about this problem in 7.0.1, so
 it's not fixed yet. I will try to investigate further.

 Unfortunately I can't reproduce it. Could it be a antivirus issue which
 blocks g.mkfontconfig running during installation?

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
In reply to this post by GRASS GIS
#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:27 hellik]:
 > Replying to [comment:26 annakrat]:
 > > Unfortunately, I got multiple reports about this problem in 7.0.1, so
 it's not fixed yet. I will try to investigate further.
 >
 > Unfortunately I can't reproduce it. Could it be a antivirus issue which
 blocks g.mkfontconfig running during installation?

 tested here on several different win boxes.

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
In reply to this post by GRASS GIS
#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 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.

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
In reply to this post by GRASS GIS
#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.

 any chance to check with which MS windows version (7,8,10...?) this
 behaviour started? maybe an issue with admin rights which should be
 reported to nsis?

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
In reply to this post by GRASS GIS
#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>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
In reply to this post by GRASS GIS
#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>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
In reply to this post by GRASS GIS
#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 annakrat):

 Replying to [comment:31 hellik]:

 > 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)


 {{{
 cyrilc|Cyrillic|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\cyrilc.hmp|0|utf-8|
 gothgbt|Gothic Great Britain
 triplex|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\gothgbt.hmp|0|utf-8|
 gothgrt|Gothic German triplex|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\gothgrt.hmp|0|utf-8|
 gothitt|Gothic Italian triplex|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\gothitt.hmp|0|utf-8|
 greekc|Greek complex|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\greekc.hmp|0|utf-8|
 greekcs|Greek complex script|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\greekcs.hmp|0|utf-8|
 greekp|Greek plain|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\greekp.hmp|0|utf-8|
 greeks|Greek simplex|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\greeks.hmp|0|utf-8|
 italicc|Italian complex|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\italicc.hmp|0|utf-8|
 italiccs|Italian complex small|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\italiccs.hmp|0|utf-8|
 italict|Italian triplex|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\italict.hmp|0|utf-8|
 romanc|Roman complex|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\romanc.hmp|0|utf-8|
 romancs|Roman complex small|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\romancs.hmp|0|utf-8|
 romand|Roman duplex|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\romand.hmp|0|utf-8|
 romans|Roman simplex|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\romans.hmp|0|utf-8|
 romant|Roman triplex|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\romant.hmp|0|utf-8|
 scriptc|Script complex|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\scriptc.hmp|0|utf-8|
 scripts|Script simplex|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\scripts.hmp|0|utf-8|
 ahronbd|Aharoni Bold|1|C:\Windows\Fonts\ahronbd.ttf|0|utf-8|
 andlso|Andalus Regular|1|C:\Windows\Fonts\andlso.ttf|0|utf-8|
 angsa|Angsana New Regular|1|C:\Windows\Fonts\angsa.ttf|0|utf-8|
 angsab|Angsana New Bold|1|C:\Windows\Fonts\angsab.ttf|0|utf-8|
 angsai|Angsana New Italic|1|C:\Windows\Fonts\angsai.ttf|0|utf-8|
 angsau|AngsanaUPC Regular|1|C:\Windows\Fonts\angsau.ttf|0|utf-8|
 angsaub|AngsanaUPC Bold|1|C:\Windows\Fonts\angsaub.ttf|0|utf-8|
 angsaui|AngsanaUPC Italic|1|C:\Windows\Fonts\angsaui.ttf|0|utf-8|
 angsauz|AngsanaUPC Bold Italic|1|C:\Windows\Fonts\angsauz.ttf|0|utf-8|
 angsaz|Angsana New Bold Italic|1|C:\Windows\Fonts\angsaz.ttf|0|utf-8|
 aparaj|Aparajita Regular|1|C:\Windows\Fonts\aparaj.ttf|0|utf-8|
 aparajb|Aparajita Bold|1|C:\Windows\Fonts\aparajb.ttf|0|utf-8|
 aparajbi|Aparajita Bold Italic|1|C:\Windows\Fonts\aparajbi.ttf|0|utf-8|
 aparaji|Aparajita Italic|1|C:\Windows\Fonts\aparaji.ttf|0|utf-8|
 arabtype|Arabic Typesetting
 Regular|1|C:\Windows\Fonts\arabtype.ttf|0|utf-8|
 arial|Arial Regular|1|C:\Windows\Fonts\arial.ttf|0|utf-8|
 arialbd|Arial Bold|1|C:\Windows\Fonts\arialbd.ttf|0|utf-8|
 arialbi|Arial Bold Italic|1|C:\Windows\Fonts\arialbi.ttf|0|utf-8|
 ariali|Arial Italic|1|C:\Windows\Fonts\ariali.ttf|0|utf-8|
 ariblk|Arial Black|1|C:\Windows\Fonts\ariblk.ttf|0|utf-8|
 batang|Batang Regular|1|C:\Windows\Fonts\batang.ttc|0|utf-8|
 browa|Browallia New Regular|1|C:\Windows\Fonts\browa.ttf|0|utf-8|
 browab|Browallia New Bold|1|C:\Windows\Fonts\browab.ttf|0|utf-8|
 browai|Browallia New Italic|1|C:\Windows\Fonts\browai.ttf|0|utf-8|
 browau|BrowalliaUPC Regular|1|C:\Windows\Fonts\browau.ttf|0|utf-8|
 browaub|BrowalliaUPC Bold|1|C:\Windows\Fonts\browaub.ttf|0|utf-8|
 browaui|BrowalliaUPC Italic|1|C:\Windows\Fonts\browaui.ttf|0|utf-8|
 browauz|BrowalliaUPC Bold Italic|1|C:\Windows\Fonts\browauz.ttf|0|utf-8|
 browaz|Browallia New Bold Italic|1|C:\Windows\Fonts\browaz.ttf|0|utf-8|
 Caladea-Bold|Caladea Bold|1|C:\Windows\Fonts\Caladea-Bold.ttf|0|utf-8|
 Caladea-BoldItalic|Caladea Bold Italic|1|C:\Windows\Fonts\Caladea-
 BoldItalic.ttf|0|utf-8|
 Caladea-Italic|Caladea Italic|1|C:\Windows\Fonts\Caladea-
 Italic.ttf|0|utf-8|
 Caladea-Regular|Caladea Regular|1|C:\Windows\Fonts\Caladea-
 Regular.ttf|0|utf-8|
 calibri|Calibri Regular|1|C:\Windows\Fonts\calibri.ttf|0|utf-8|
 calibrib|Calibri Bold|1|C:\Windows\Fonts\calibrib.ttf|0|utf-8|
 ...
 }}}

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
In reply to this post by GRASS GIS
#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:33 annakrat]:
 > {{{
 > cyrilc|Cyrillic|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\cyrilc.hmp|0|utf-8|
 > gothgbt|Gothic Great Britain
 triplex|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\gothgbt.hmp|0|utf-8|


 the fontcap file isn't updated; it includes still the path to fonts of the
 build environment (i.e. c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\).

 it seems to be a permission issue in the newer windows version.

 try to fix it

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
In reply to this post by GRASS GIS
#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:34 hellik]:
 > Replying to [comment:33 annakrat]:
 > > {{{
 > > cyrilc|Cyrillic|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\cyrilc.hmp|0|utf-8|
 > > gothgbt|Gothic Great Britain
 triplex|0|c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\gothgbt.hmp|0|utf-8|
 >
 >
 > the fontcap file isn't updated; it includes still the path to fonts of
 the build environment (i.e. c:\osgeo4w\usr\src\grass701\dist.i686-pc-
 mingw32\fonts\).
 >
 > it seems to be a permission issue in the newer windows version.
 >
 > try to fix it

 r66079 - grass/trunk[[BR]]

 r66080 - grass/branches/releasebranch_7_0

 can you test the next standalone dailys?

 builtin users are now granted to write/delete the fontcap

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
In reply to this post by GRASS GIS
#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 annakrat):

 Replying to [comment:35 hellik]:

 >
 > r66079 - grass/trunk[[BR]]
 >
 > r66080 - grass/branches/releasebranch_7_0
 >
 >
 > builtin users are now granted to write/delete the fontcap
 >
 > can you test the next standalone dailys?
 >

 Thanks! I'll try.

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
In reply to this post by GRASS GIS
#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 annakrat):

 Unfortunately built 66083 still has the same problem. The content of
 fontcap seems to be the same. When I display legend, I get this in
 terminal,  am not sure if it was there before
 {{{
 C:\Users\anna>Fontconfig error: Cannot load default config file
 GRASS_INFO_WARNING(2248,1): Unable to open font map 'C:\Program Files
 (x86)\GRASS GIS 7.1.svn/fonts/.hmp': No such file or directory. Try
 running 'g.mkfontcap -o'
 GRASS_INFO_END(2248,1)
 }}}

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
In reply to this post by GRASS GIS
#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 neteler):

 Replying to [comment:37 annakrat]:
 > Unfortunately built 66083 still has the same problem. The content of
 fontcap seems to be the same. When I display legend, I get this in
 terminal,  am not sure if it was there before
 > {{{
 > C:\Users\anna>Fontconfig error: Cannot load default config file
 > }}}

 In stackexchange I found a hint that this file might be needed (no idea
 how to map that in Windows):

 /etc/fonts/fonts.conf

 In Linux, it comes with the "fontconfig" package. In OSGeo4W, it should
 also be there (please verify):

 https://trac.osgeo.org/osgeo4w/wiki/pkg-cairo#Installselectedpackages

 Some similar font related discussion here:

 https://github.com/Shoes3/shoes3/issues/46

 > {{{
 > GRASS_INFO_WARNING(2248,1): Unable to open font map 'C:\Program Files
 (x86)\GRASS GIS 7.1.svn/fonts/.hmp': No such file or directory.
 > }}}

 I see that \ and / are being used but especially, that the font name is
 missing.

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
In reply to this post by GRASS GIS
#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 wenzeslaus):

 There is a default font config file coming with GRASS, right? So, what
 about including a special one in Windows installer which would contain
 some fonts typical for MS Windows/MS Office such as Arial which are in
 general present on all MS Windows machines?

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
In reply to this post by GRASS GIS
#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:38 neteler]:
 > Replying to [comment:37 annakrat]:
 > > Unfortunately built 66083 still has the same problem. The content of
 fontcap seems to be the same. When I display legend, I get this in
 terminal,  am not sure if it was there before
 > > {{{
 > > C:\Users\anna>Fontconfig error: Cannot load default config file
 > > }}}
 >
 > In stackexchange I found a hint that this file might be needed (no idea
 how to map that in Windows):
 >
 > /etc/fonts/fonts.conf
 >
 > In Linux, it comes with the "fontconfig" package. In OSGeo4W, it should
 also be there (please verify):
 >
 > https://trac.osgeo.org/osgeo4w/wiki/pkg-cairo#Installselectedpackages
 >
 > Some similar font related discussion here:
 >
 > https://github.com/Shoes3/shoes3/issues/46
 >
 > > {{{
 > > GRASS_INFO_WARNING(2248,1): Unable to open font map 'C:\Program Files
 (x86)\GRASS GIS 7.1.svn/fonts/.hmp': No such file or directory.
 > > }}}
 >
 > I see that \ and / are being used but especially, that the font name is
 missing.

 the odd thing is that it works nicely on some win boxes (e.g. here for me
 on win 7), and on some not.

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
In reply to this post by GRASS GIS
#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:37 annakrat]:
 > Unfortunately built 66083 still has the same problem. The content of
 fontcap seems to be the same. When I display legend, I get this in
 terminal,  am not sure if it was there before
 > {{{
 > C:\Users\anna>Fontconfig error: Cannot load default config file
 > GRASS_INFO_WARNING(2248,1): Unable to open font map 'C:\Program Files
 (x86)\GRASS GIS 7.1.svn/fonts/.hmp': No such file or directory. Try
 running 'g.mkfontcap -o'
 > GRASS_INFO_END(2248,1)
 > }}}

 I've changed
 [GRASS-SVN] r66148 - grass/trunk/mswindows
 [GRASS-SVN] r66149 - grass/branches/releasebranch_7_0/mswindows

 Can you test the next Installer?

 I've done some research, file permissions changed a lot between Windows
 versions (7,8,10).

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
In reply to this post by GRASS GIS
#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 annakrat):

 Replying to [comment:41 hellik]:
 >
 > I've changed
 > [GRASS-SVN] r66148 - grass/trunk/mswindows
 > [GRASS-SVN] r66149 - grass/branches/releasebranch_7_0/mswindows
 >
 > Can you test the next Installer?
 >
 > I've done some research, file permissions changed a lot between Windows
 versions (7,8,10).

 Unfortunately, no change. I wonder if the problem is something different
 then permissions. The problem is I don't get any error during
 installation. Maybe we could print more messages during the font
 configuration? Thanks for all the work on this.

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
In reply to this post by GRASS GIS
#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 wenzeslaus):

 Replying to [comment:42 annakrat]:
 > Replying to [comment:41 hellik]:
 > > I've done some research, file permissions changed a lot between
 Windows versions (7,8,10).
 >
 > Unfortunately, no change. I wonder if the problem is something different
 then permissions. The problem is I don't get any error during
 installation. Maybe we could print more messages during the font
 configuration? Thanks for all the work on this.

 What about that hardcoding of some fonts for MS Windows into a MS Windows
 specific file? This is a great workaround and I have no idea how it should
 be done but it seems that it is appropriate on a platform where API is
 changing often and is under-documented.

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
In reply to this post by GRASS GIS
#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: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.

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

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

GRASS GIS
In reply to this post by GRASS GIS
#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:43 wenzeslaus]:
 > Replying to [comment:42 annakrat]:
 > > Replying to [comment:41 hellik]:
 > > > I've done some research, file permissions changed a lot between
 Windows versions (7,8,10).
 > >
 > > Unfortunately, no change. I wonder if the problem is something
 different then permissions. The problem is I don't get any error during
 installation. Maybe we could print more messages during the font
 configuration? Thanks for all the work on this.
 >
 > What about that hardcoding of some fonts for MS Windows into a MS
 Windows specific file? This is a great workaround and I have no idea how
 it should be done but it seems that it is appropriate on a platform where
 API is changing often and is under-documented.

 see https://grass.osgeo.org/grass70/manuals/g.mkfontcap.html

 there is a -s flag:

 -s  Write font configuration file to standard output instead of
 $GISBASE/etc

 a feasable way may be:

 - another flag e.g. to write fontcap file to %APPDATA%GRASS7 where already
 the addons are stored
 - all the modules which are working with fonts seems to search for the
 fontcap file in $GISBASE/etc; adding a second search path (e.g.
 %APPDATA%GRASS7) to these modules if the file is not available in
 $GISBASE/etc

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
123