[MS4W-Users] Cairo

Jeff McKenna jmckenna at gatewaygeomatics.com
Sat Feb 16 13:54:12 EST 2013


Hi Donald,

Your timing is good because I have been working on Cairo in MS4W.

I have been working hard on upgrading MS4W Cairo (you can actually see
your version of Cairo installed on your local machine by going to
127.0.0.1/README_INSTALL.html#mapserver-build-environment).

You can see that the version on your machine is probably a year old or
so (git-03102011 is the date).

Cairo depends on many libraries (Pixman, PNG, ZLIB, Freetype, and their
dependencies), and although super-simple to compile on Linux - I just
did from source on Ubuntu - it is one of the hardest things I have ever
done on Windows.  I do have the latest Cairo now working (1.12.14) in
MS4W, but I must do much more testing.

Once I have something usable I will test the build in the ticket you
mentioned.

Related: Another unbelievable pain is compiling libsvg-cairo (and
libsvg) for SVG symbol support on Windows.  I am in the exact same
position as others in the MapServer community
(http://osgeo-org.1560.n6.nabble.com/SVG-symbol-support-in-MapServer-libsvg-and-librsvg-td4333022.html),
and I am considering using the librsvg library instead (as it is
actually maintained), but that is a considerable investment of effort (I
imagine the MapServer code would have to be adapted for this new
library).  If you are reading this and have comments/ideas/help, please
do comment directly in the related ticket:
http://bugzilla.maptools.org/show_bug.cgi?id=2415

I am away from now till a week from now giving training but I will
continue on this when I get back.

-jeff



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

On 13-02-16 1:32 PM, Donald Kerr wrote:
> Jeff,
> 
> I think I am getting an issue with CAIRO/PNG OUTPUTFORMAT with labels.
> Please see here for further info:
> https://github.com/mapserver/mapserver/issues/4581
> 
> I would like to check whether or not the issue I am getting is in fact
> related to Cairo and to that end the question I have is, does MS4W use the
> latest version of Cairo? If not, where can I source the latest dlls and what
> dlls do I need?
> 
> Many thanks.
> 
> Regards,
> 
> Donald
> 


More information about the MS4W-Users mailing list