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 , 14 years ago
Summary: | Error loading ttf font given by absolute name → Error loading ttf font |
---|
comment:2 by , 14 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
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)
I've also tried with relative path, no luck.