[MS4W-Users] Cairo
Stephen Woodbridge
woodbri at swoodbridge.com
Tue May 7 12:37:41 EST 2013
Emmanuel,
I did a lot of work with Thomas Bonfort regarding svg symbol support. I
collected a lot of svg files from the net and created some of my own.
Here is a test page:
http://imaptools.com:8080/svg-test/
The first column is the raw svg rendered directly via the browser, the
2nd column is the same svg rendered as an image via mapserver. I'm using
some 6.1-dev version of mapserver but the results should be similar with
6.2.
For most of the files that failed to render, I found that is I got them
into an svg editor like inkscape and flatten the svg image, that in most
cases it would work with mapserver. There is a huge variety in the way
SVG symbols can be constructed. Simple paths and fills work best for
mapserver.
-Steve
On 5/7/2013 11:19 AM, Emmanuel Belo wrote:
> Hi Jeff,
>
> Camptocamp is very interested in having svg support in Mapserver, also
> for linux versions. As I understand, this implies moving to librsvg or
> developing a compatibility layer. See
> http://lists.osgeo.org/pipermail/mapserver-dev/2012-January/011901.html
>
> How could we setup a xfounding effort on this?
>
> Best regards,
>
> Emmanuel Belo
>
>
>
>
>
>
> On 16 February 2013 19:54, Jeff McKenna <jmckenna at gatewaygeomatics.com
> <mailto:jmckenna at gatewaygeomatics.com>> wrote:
>
> 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
> <http://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
> >
> _______________________________________________
> MS4W-Users mailing list
> MS4W-Users at lists.maptools.org <mailto:MS4W-Users at lists.maptools.org>
> http://lists.maptools.org/mailman/listinfo/ms4w-users
>
>
>
>
> --
> Camptocamp SA
> Emmanuel BELO
>
> Mon. Tue. Thu. Fri.
> +41 21 619 10 25 (direct)
> +41 79 936 46 62 (mobile)
>
>
>
> _______________________________________________
> MS4W-Users mailing list
> MS4W-Users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ms4w-users
>
More information about the MS4W-Users
mailing list