[mapserver-users] ttf symbols worked in windows but not linux

Jeff McKenna jmckenna at gatewaygeomatics.com
Wed Dec 9 09:12:00 EST 2009


kallen3 at gmail.com wrote:
> I have been using a MS4W setup for some time and have finally talked the
> people I worked for to let me set up a testing server on a linux box.
> This has worked out great as all of the maps have had a massive speed
> gain compared to windows. However I have a problem with the ttf symbols.
> They will display normally in windows but only one will display in
> linux. I am sure it is a simple issue but I have not been able to find
> it. The linux set up is HostGIS which uses Slackware 12 and I believe
> Mapserver 5.2 anyone have any suggestions?

Hmm.  Do you get any errors when trying to create a map image?  You can 
test this by using the shp2img commandline utility 
(http://www.mapserver.org/utilities/shp2img.html).  If MapServer can't 
find the font you should get an error such as "TrueType Font error. 
Could not find/open font".

If you don't get any errors I'm not sure what the issue is.

-jeff



-- 
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/




More information about the mapserver-users mailing list