I've done some SVG rendering directly with cairo and it never worked
right for me when viewed in Illustrator. Same thing as you describe,
huge text and scaling issues. Switched to Inkscape and it looks
perfect.

On Thu, Aug 27, 2009 at 9:11 AM, Jamie
Robertson<[email protected]> wrote:
> Dane-  the svg output renders fine in firefox, inkscape, or as a pdf.  I
> should have checked those first..  So, it's definitely a font issue in
> Illustrator.  The weird thing is that even when i copy all of the DejaVu
> fonts that mapnik uses into the windows fonts directory, and Illustrator
> loads them (I can use all of the fonts as a regular text element),
> Illustrator still won't use them when I import the svg from nik2img.  Any
> ideas on why it might not be picking those fonts up? (same issue in
> Illustrator on a mac)
>
> Also, when importing the svg to illustrator,  I get an error that says "The
> following items could not be imported properly" and "clipping will be lost
> on roundtrip to Tiny".  It then imports the svg, and everything looks fine
> except for the text.
>
> A quick search on this error tells me that "The graphic you are working with
> contains a clipping mask. The alert is simply telling you that the clipping
> mask will not survive the trip back to SVG Tiny"  However, i think the text
> fill/font issue is unrelated because to this error because i get it even
> when i create an svg of the map without any text labels.
>
> On Fri, Aug 14, 2009 at 1:29 PM, Dane Springmeyer <[email protected]>
> wrote:
>>
>> Wow, never seen that before.
>>
>> Jamie, do you get this when rendering to PDF as well or when you view the
>> SVG output in some other application like Firefox or Inkscape?
>>
>> Can you post your relevant XML as well?
>>
>> Dane
>>
>>
>> On Aug 14, 2009, at 10:20 AM, Jamie Robertson wrote:
>>
>>> Hi all-  I'm having an issue with .svg export in Nik2img.  The ouput svg
>>> is really nice, except for text labels.  The halos for the text (white on
>>> the attached jpg) are placed, sized, and rendered correctly.  But the text
>>> fills (black) are enormous (take up a the entire exported area and then
>>> some) and stacked upon each other. Notice the letter "V" which is selected
>>> in Illustrator on the attached jpg.  When i output this same xml file to
>>> .png, everything renders correctly, including the text fills.  Any ideas?
>>>
>>> Thanks,
>>> Jamie Robertson
>>>
>>> <nik2img_text_fill_issue.jpg>_______________________________________________
>>> Mapnik-users mailing list
>>> [email protected]
>>> https://lists.berlios.de/mailman/listinfo/mapnik-users
>>
>
>
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users
>
>
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to