SVG outputting polygon instead of path

Ask a Question related to Adobe Illustrator Macintosh, Design and Development.

  1. #1

    Default SVG outputting polygon instead of path

    I am exporting a map as a scg. In Illustrator 10, when I exported the map as svg, it use the <path>. Now that I have upgraded to CS, when I export the map as svg, it uses <polygon>. Is there a setting I need to click so that it outputs with <path> instead or <polygon>?

    Illustrator 10 SVG Output:
    <path id="hovey_hall" style="&st37;" d="M413.828,463.781v-3.813v-0.546h-5.991v0.546h-0.546v16.341h6.537v-7.08h4.357v5.446 h8.716v-10.895h-8.716H413.828z"/>

    Illustrator CS SVG Output:
    <polygon id="hovey_hall" style="&st39;" points="376.382,463.781 376.382,459.969 376.382,459.423 370.391,459.423 370.391,459.969 369.845,459.969 369.845,476.31 376.382,476.31 376.382,469.229 380.739,469.229 380.739,474.676 389.455,474.676 389.455,463.781 380.739,463.781 "/>
    Brian_Huonker@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. Point in Polygon
      I was trying out the OpenGIS spatial extensions in mysql Ver 14.12 Distrib 5.0.18, for pc-linux-gnu (i686) using readline 5.1 and noticed that...
    2. Problems outputting to PDF and PS
      I apologize if this isn't the correct newsgroup for this inquiry but here goes. I am trying to output textfile (from Appleworks) to either a PDF...
    3. create polygon on the fly
      Hi all. I produced a flash-movie to draw a outline of a room in 2d (top view). I integrated the swf in my director movie and i read out the...
    4. Polygon Tool
      Can't find the polygon tool on the vector box in tools menu. Fireworks MX. The rectangle tool is there but not polygon -- Thanx Julian
    5. outputting XML from PHP
      Today I decided to teach myself both PHP and XML ... so I decided to make a little address book. After I finished it I found this:...
  3. #2

    Default Re: SVG outputting polygon instead of path

    Illustrator CS now specifically supports the export of SVG primitives, and Polygon is one of those. If you want to export the shape as a <path> object, the only way I can think of is to use the scissor tool to cut the path -- so it's not a closed shape. Although that might result in it being saved as a <ployline> but it's worth a shot.

    Is there any reason in particular why you'd want to export it as a <path> and not a <polygon> anyway? I guess I never thought people would want to do that...

    :) Mordy
    Mordy_Golding@adobeforums.com Guest

  4. #3

    Default Re: SVG outputting polygon instead of path

    Hey Brian I had the same problem. Mordy was right that illustrator automatically deems certain items as polygons or even rectangles. However, I tricked it into turning a polygon into a path by zooming all the way in and adding a curve so small that it wouldn't be noticeable zoomed out. And since polygons don't have curves, illustrator deems it a path! Hope that helps!
    Unregistered Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139