Hi All,

On Tue, Aug 9, 2011 at 2:15 AM, Frederik Ramm <[email protected]> wrote:

>
> On 08/08/11 15:47, Oliver Tonnhofer wrote:
>
>> I'm wondering if there are any options to get vector output from
>> Mapnik with editable text labels. I looked at the SVG, EPS and PDF
>> output but Mapnik/Cairo renders each character separately, making the
>> text uneditable with Inkscape or Illustrator.
>>
>
>
> In fact, Dane recently told me that (quote)
>
> >>>>
> Yes, a native svg_renderer was started and is in mapnik2, just disabled by
> default and I think requires something like >= boost 1.43 or 1.44 to compile
> properly.
>
>
For text - Cairo's SVG output lacks the ability to produce <text> output in
tags, and you see each glyph being defined as a path. Looks like someone has
relatively recently produced a patch for Cairo to support this, which would
be handy to try
http://lists.freedesktop.org/archives/cairo/2011-February/021777.html

But the wider issue is that Cairo's development can be pretty slow, and
ideally we'd like to have other useful stuff in our vector output:
 - grouping elements into layers that reflect the rendered styles, so
post-render editing (inkscape/illustrator/etc) becomes much easier.
 - re-using vector/raster symbols much more efficiently than cairo does

This was the trigger for the GSoC project last year.

Rob :)
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to