[MapServer]Fonts in "fonts.txt" file not found on Linux
Reported by: |
nsavard@… |
Owned by: |
sgillies@… |
Priority:
|
high
|
Milestone:
|
|
Component:
|
MapScript-SWIG
|
Version:
|
4.3
|
Severity:
|
normal
|
Keywords:
|
|
Cc:
|
|
|
|
Fonts in "fonts.txt" file are Windows fonts. Which font should I use in order
for your tests to go through?
Fedora Core 1
---------------------
Error:
[nsavard@localhost python]$ python tests/testMapScript.py
..............F........E......................E..EEE..EE......E..................EF......E............................
======================================================================
ERROR: testAddPointFeature (__main__.InlineFeatureTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/testMapScript.py", line 927, in testAddPointFeature
msimg = self.mapobj1.draw()
File "build/lib.linux-i686-2.2/mapscript.py", line 1147, in draw
def draw(*args): return _mapscript.mapObj_draw(*args)
MapServerError: msGetLabelSize(): TrueType Font error. Could not find/open font
======================================================================
ERROR: testAppendNewOutputFormat (__main__.NewOutputFormatTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/testMapScript.py", line 966, in testAppendNewOutputFormat
imgobj = self.mapobj1.draw()
File "build/lib.linux-i686-2.2/mapscript.py", line 1147, in draw
def draw(*args): return _mapscript.mapObj_draw(*args)
MapServerError: msGetLabelSize(): TrueType Font error. Could not find/open font
======================================================================
...