ms 4.10.1 Windows msGetLabelSize(): TrueType Font error. Could not find/open font.

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Mon Apr 16 20:15:17 EDT 2007


As a follow up to this problem it looks like ms4w does not support 
absolute paths to font files in the fontset.txt file and that paths MUST 
be relative to the fontset.txt file.

This is NOT the way the linux code works and it makes it difficult to 
mightrate applications from one environmant to the other. This should 
probably be a bug but bugzilla is down for the count.

-Steve

Stephen Woodbridge wrote:
> Hi all,
> 
> I don't usually use mapserver on Windows but I have run into the follow 
> error:
> 
> msGetLabelSize(): TrueType Font error. Could not find/open font.
> 
> I suspect this is a permission problem. as the files (fontset.txt and 
> the arial.ttf file) are where it is supposed to be, but serving it up 
> via mapserv.exe generates this error. And this all works just fine on 
> Linux.
> 
> I running ms4w and Apache. Any thoughts on how to track down and fix this.
> 
> -Steve



More information about the mapserver-users mailing list