Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Dec 2000
    Location
    Hautes Pyrénées, France
    Posts
    5,083

    Default imported svg shape will not fill

    i imported a europe image from here
    http://upload.wikimedia.org/wikipedi...lete_blank.svg
    i dropped it into xdpx
    ungrouped everything
    extracted the france shape and tried to fill it
    i check and it is definitely a closed shape
    i can manipulate the outline as normal but nothing i do fills it
    it's definitely not transparent
    to remedy this i draw a square under it, select both and subtract shapes
    this gives me a square with france cut out of it
    then i draw another square inside the former square but outside the france outline
    i move the square underneath, select both and once again subtract shapes
    finally i have my shape filled as i require
    anybody know why it does this?

    subtract_shapes_to_fill_svg.xar
    If someone tried to make me dig my own grave I would say No.
    They're going to kill me anyway and I'd love to die the way I lived:
    Avoiding Manual Labour.

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,524

    Default Re: imported svg shape will not fill

    Not sure if this will help. Convert the line to shape. Then break shapes. Delete the smaller shape which is underneath the larger shape.

  3. #3
    Join Date
    Jul 2010
    Location
    Noo Yawk
    Posts
    443

    Default Re: imported svg shape will not fill

    I was able to fill a shape after I'd found the home node, broke it, and joined the resultant ends again. Not very efficient to do this for the whole map, but if you just need one or two shapes it should work.

    -- Ben
    -----------------------
    Ben Morgan: ad1066 AT gmail thingy
    Chapter 13 Press: www.chapter13press.com
    Burn After Reading: www.burnafterreadingpress.com

  4. #4
    Join Date
    Dec 2000
    Location
    Hautes Pyrénées, France
    Posts
    5,083

    Default Re: imported svg shape will not fill

    it's clearly a weird svg thing
    If someone tried to make me dig my own grave I would say No.
    They're going to kill me anyway and I'd love to die the way I lived:
    Avoiding Manual Labour.

  5. #5
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,524

    Default Re: imported svg shape will not fill

    When I broke the shapes I found a funny island thing in the lower right portion of the map. But deleting this did not help.

    This behavior is reminiscent of Adobe files.

  6. #6
    Join Date
    Dec 2000
    Location
    Hautes Pyrénées, France
    Posts
    5,083

    Default Re: imported svg shape will not fill

    the funny island thing is called corsica
    the corsicans have been trying for centuries to remove themselves from france
    you've probably done them a favour there
    but you're right, breaking the object up completely makes no difference
    i've not seen this behaviour before
    If someone tried to make me dig my own grave I would say No.
    They're going to kill me anyway and I'd love to die the way I lived:
    Avoiding Manual Labour.

  7. #7

    Default Re: imported svg shape will not fill

    Solution:
    ungroup, take France (It'll take La Corse and Monaco as well) apart. Select France and aply "Arrange -> Convert Line to Shape" , then "Arrange -> Break Shapes" and throw away what suits you most.

    It's a very raw and ugly map, by the way...

  8. #8
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,355

    Default Re: imported svg shape will not fill

    what Michael posted works for me too

    as Gary said, this used to happen a lot with adobe files - the clue is to look down at the status bar where, when you ungroup the imported file and select only France, you see it described as a 'line'
    -------------------------------
    Nothing lasts forever...

  9. #9

    Default Re: imported svg shape will not fill

    "all lines are equal ..."

    By the way, ther's no need to bash Adobe overhere. This file is brought to you by Inkscape.
    I've opened the file in notepad2 and replaced the attribute "fill:none" with "fill:black" et voila (sic!) . There are in total 69 lines and after a global serch and replace all objects are filled and after umgrouping can be coloured wit every colour you choose...

    IMHO Xara needs to brush up the SVG import...

    Oh, and if you really would like to use a proper map of Europe then I'd suggest http://upload.wikimedia.org/wikipedi...ini_map%29.svg or google for images of the type SVG https://www.google.nl/search?q=europ...h=601&imgdii=_
    Attached Files Attached Files
    Last edited by Michael; 02 July 2013 at 12:53 PM. Reason: addition of proper map

  10. #10
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,355

    Default Re: imported svg shape will not fill

    I'm not bashing adobe at all

    I'm saying it happened, which it did, and occasionally still does, with adobe files as well

    I am perfectly aware of inkscape thank you very much

    I am also perfectly aware of why it happens

    what I am saying is that if you have a 'closed' shape' in xara that the status bar says is a 'line' then the steps you gave are the steps to try [first], that I agree with
    -------------------------------
    Nothing lasts forever...

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •