Black spot on my svg-picture

Post questions on how to use or achieve an effect in Inkscape.
Orpheus145
Posts: 8
Joined: Tue Dec 15, 2009 9:05 am

Black spot on my svg-picture

Postby Orpheus145 » Tue Dec 15, 2009 9:15 am

I have edited a picture with Inkscape. Since it was a svg-file, it seemed the right way to do. I am a complete newbie to Inkscape but I managed pretty well.... until I uploaded the pic to Wikimedia commons:

http://commons.wikimedia.org/wiki/File:Kaart_Europa_Bondgenootschappen.svg

There is a black spot on the pic where the nation France lies. What has happened? I haven't used layers. Something must have gone wrong. Anyone?

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Black spot on my svg-picture

Postby ~suv » Tue Dec 15, 2009 12:40 pm

There is a 'Flowed Text' box over France that is invisible because its text has too big a font-size to be displayed within the frame.

See Bug #485269 in Inkscape: “Invisible and unselectable flow region in image” for an explanation, fix and workarounds to prevent it from happening.

removing this part from the SVG file should help:

Code: Select all

    <flowRoot
       xml:space="preserve"
       id="flowRoot4457"
       style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       transform="translate(-269.807,403.01)"><flowRegion
         id="flowRegion4459"><rect
           id="rect4461"
           width="86.873116"
           height="43.436558"
           x="217.1828"
           y="297.91827" /></flowRegion><flowPara
         id="flowPara4463">Frankrijk</flowPara><flowPara
         id="flowPara4465" /></flowRoot>
or select the visible 'Frankrijk' text object in Inkscape, then Shift+Tab once to select the previous element - in this case the flowed-text object you want to delete.

Kaart_Europa_Bondgenootschappen-small-FlowedText-box.png
Kaart_Europa_Bondgenootschappen-small-FlowedText-box.png (77.03 KiB) Viewed 1324 times

Kaart_Europa_Bondgenootschappen-enlarged-FlowedText-box.png
Kaart_Europa_Bondgenootschappen-enlarged-FlowedText-box.png (80.91 KiB) Viewed 1324 times
Last edited by ~suv on Tue Dec 15, 2009 12:48 pm, edited 1 time in total.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Black spot on my svg-picture

Postby ~suv » Tue Dec 15, 2009 12:47 pm

… and as one of the developers recently said:
bbyak wrote:The easy rule to remember:

when creating text, CLICK, don't DRAG.

This way you get regular text that renders everywhere (but does not reflow).

Orpheus145
Posts: 8
Joined: Tue Dec 15, 2009 9:05 am

Re: Black spot on my svg-picture

Postby Orpheus145 » Tue Dec 15, 2009 7:46 pm

Thank you for your well documented reply. I appreciate it. :)


Return to “Help with using Inkscape”