Opened 14 years ago

Closed 14 years ago

#3315 closed defect (invalid)

Error loading ttf font

Reported by: strk Owned by: sdlime
Priority: normal Milestone:
Component: MapServer C Library Version: svn-trunk (development)
Severity: normal Keywords:
Cc:

Description

I put some .ttf fonts in a directory and add a fonts.list file in it. Specified absolute path to the fonts.list file in the FONTSET directive of MapFile and tried using the font for labels:

TYPE truetype FONT arial

Tried putting the actual filename to the .ttf in both absolute and relative paths. Neither work. Both with AGG and GD renderers the message I get is a "cannot load font file".

Tried versions 5.4.1, 5.6.1 and svn-trunk. Any idea ?

The patches attached to ticket #3314 have been produced while trying to debug this issue.

Change History (2)

comment:1 by strk, 14 years ago

Summary: Error loading ttf font given by absolute nameError loading ttf font

I've also tried with relative path, no luck.

comment:2 by strk, 14 years ago

Resolution: invalid
Status: newclosed

Oh well, using another font works, so maybe the one I was using were corrupted. Still worth applying the patch to make error messages clearer #3314)

Note: See TracTickets for help on using tickets.