On 13 Mar 2008, at 00:02, Tom Hughes wrote:

> In message <[EMAIL PROTECTED]>
>           Artem Pavlenko <[EMAIL PROTECTED]> wrote:
>
>>> Great! Thanks Tom! rundemo.py outputs nice pdf and svg on os x
>>> 10.4. I'll give it a try on 64-bit ubuntu later on.
>>
>> Couple things I noticed when viewing demo.svg in Inkscape :
>>
>> 1. Inkscape is extremely slow
>
> Can't say I've noticed this - it all struck me as pretty fast in fact.

Hmm.. I'm running 0.45.1 in mac os x and it is almost unusable (I'm  
loading demo.svg rendered with cairo_renderer)
This might be os x specific quirks, I'll try on Linux
>
>> 2. two 'provinces' polygons are un-clipped and go far beyond drawing
>> extent. Is there access to clipping in cairo (on vectors or in
>> rasterizer? ) or this is something we need to fix ourselves?
>
> This is deliberate - there is code in cairo_renderer to do it but it
> is ifdefed out at the moment.
>
> The reason is that with the current release version of cairo adding
> the clipping makes mapnik very slow rendering to cairo surfaces. It
> also makes the resulting PDF very slow to render in evince as evince
> is using cairo to render it and hits the same bug.
>
> The current git head cairo code does not have this problem and is
> capable of clipping without any noticeable slowdown.

I'm using current git head, so I'll try enabling clipping then.

>
> Tom
>
Artem
> -- 
> Tom Hughes ([EMAIL PROTECTED])
> http://www.compton.nu/


_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

Reply via email to