[GRASS-dev] [GRASS GIS] #2448: Fontconfig error with cairo on Windows
GRASS GIS
trac at osgeo.org
Wed Oct 15 23:54:36 PDT 2014
#2448: Fontconfig error with cairo on Windows
-------------------------+--------------------------------------------------
Reporter: annakrat | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Display | Version: svn-trunk
Keywords: font | Platform: MSWindows 8
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by hellik):
Replying to [comment:4 annakrat]:
> Does anyone know where this config file should be located and where does
it come from?
in the d.font-manual:
{{{
font=name
Name of a font type, from among the font types italicized below.
Default: romans
Options: (italized)
cyrilc Cyrillic
gothgbt Gothic Great Britain triplex
gothgrt Gothic German triplex
gothitt Gothic Italian triplex
greekc Greek complex
greekcs Greek complex script
greekp Greek plain
greeks Greek simplex
italicc Italian complex
italiccs Italian complex small
italict Italian triplex
romanc Roman complex
romancs Roman complex small
romand Roman duplex
romanp Roman plain
romans Roman simplex
romant Roman triplex
scriptc Script complex
scripts Script simplex
}}}
these are the fonts bundled with GRASS GIS livin in
C:\OSGeo4W\apps\grass\grass-7.1.svn\fonts
with Default: romans
a quick look in the fontcap file
C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\fontcap of OSGeo4W-winGRASS
{{{
cyrilc|Cyrillic|0|C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-
mingw32\fonts\cyrilc.hmp|0|utf-8|
gothgbt|Gothic Great Britain
triplex|0|C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-
mingw32\fonts\gothgbt.hmp|0|utf-8|
gothgrt|Gothic German triplex|0|C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-
mingw32\fonts\gothgrt.hmp|0|utf-8|
gothitt|Gothic Italian triplex|0|C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-
mingw32\fonts\gothitt.hmp|0|utf-8|
greekc|Greek complex|0|C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-
mingw32\fonts\greekc.hmp|0|utf-8|
greekcs|Greek complex script|0|C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-
mingw32\fonts\greekcs.hmp|0|utf-8|
greekp|Greek plain|0|C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-
mingw32\fonts\greekp.hmp|0|utf-8|
greeks|Greek simplex|0|C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-
mingw32\fonts\greeks.hmp|0|utf-8|
italicc|Italian complex|0|C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-
mingw32\fonts\italicc.hmp|0|utf-8|
italiccs|Italian complex small|0|C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-
mingw32\fonts\italiccs.hmp|0|utf-8|
italict|Italian triplex|0|C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-
mingw32\fonts\italict.hmp|0|utf-8|
romanc|Roman complex|0|C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-
mingw32\fonts\romanc.hmp|0|utf-8|
romancs|Roman complex small|0|C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-
mingw32\fonts\romancs.hmp|0|utf-8|
romand|Roman duplex|0|C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-
mingw32\fonts\romand.hmp|0|utf-8|
romans|Roman simplex|0|C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-
mingw32\fonts\romans.hmp|0|utf-8|
romant|Roman triplex|0|C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-
mingw32\fonts\romant.hmp|0|utf-8|
scriptc|Script complex|0|C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-
mingw32\fonts\scriptc.hmp|0|utf-8|
scripts|Script simplex|0|C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-
mingw32\fonts\scripts.hmp|0|utf-8|
}}}
and in a standalone winGRASS
C:\Program Files\GRASS GIS 7.1.svn\etc\fontcap
{{{
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|
greekc|Greek complex|0|C:\Program Files\GRASS GIS
7.1.svn\fonts\greekc.hmp|0|utf-8|
greekcs|Greek complex script|0|C:\Program Files\GRASS GIS
7.1.svn\fonts\greekcs.hmp|0|utf-8|
greekp|Greek plain|0|C:\Program Files\GRASS GIS
7.1.svn\fonts\greekp.hmp|0|utf-8|
greeks|Greek simplex|0|C:\Program Files\GRASS GIS
7.1.svn\fonts\greeks.hmp|0|utf-8|
italicc|Italian complex|0|C:\Program Files\GRASS GIS
7.1.svn\fonts\italicc.hmp|0|utf-8|
italiccs|Italian complex small|0|C:\Program Files\GRASS GIS
7.1.svn\fonts\italiccs.hmp|0|utf-8|
italict|Italian triplex|0|C:\Program Files\GRASS GIS
7.1.svn\fonts\italict.hmp|0|utf-8|
romanc|Roman complex|0|C:\Program Files\GRASS GIS
7.1.svn\fonts\romanc.hmp|0|utf-8|
romancs|Roman complex small|0|C:\Program Files\GRASS GIS
7.1.svn\fonts\romancs.hmp|0|utf-8|
romand|Roman duplex|0|C:\Program Files\GRASS GIS
7.1.svn\fonts\romand.hmp|0|utf-8|
romans|Roman simplex|0|C:\Program Files\GRASS GIS
7.1.svn\fonts\romans.hmp|0|utf-8|
romant|Roman triplex|0|C:\Program Files\GRASS GIS
7.1.svn\fonts\romant.hmp|0|utf-8|
scriptc|Script complex|0|C:\Program Files\GRASS GIS
7.1.svn\fonts\scriptc.hmp|0|utf-8|
scripts|Script simplex|0|C:\Program Files\GRASS GIS
7.1.svn\fonts\scripts.hmp|0|utf-8|
}}}
so it seems in OSGeo4W-winGRASS there is a compilation computer leftover
in the path.
is your error in OSGeo4W-winGRASS or in standalone winGRASS?
tested here with both:
- standalone winGRASS: vector labelling with cairo driver works as the
path to the bundled fonts is correct
- OSGeo4W-winGRASS: vector labelling with cairo driver fails as the path
to the bundled fonts is incorrect
(1) http://grass.osgeo.org/grass71/manuals/d.font.html
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2448#comment:6>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list