线在导出到 SVG 时更改为点

问题描述 投票:0回答:0

插画长这样

导出的 SVG 看起来像这样

查看 SVG 语法,可以看到线条已更改为点(第 39-41 行)。

我的问题是,为什么会发生这种情况,如何将线条导出到 SVG?我检查过所有项目都作为单一资产导出。

SVG文件如下:

<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1010 983.95">
  <defs>
    <style>
      .cls-1, .cls-2 {
        stroke: #231f20;
        stroke-miterlimit: 10;
        stroke-width: 10px;
      }

      .cls-1, .cls-3 {
        fill: none;
      }

      .cls-2 {
        fill: #00aeef;
      }

      .cls-4 {
        clip-path: url(#clippath);
      }
    </style>
    <clipPath id="clippath">
      <rect class="cls-3" x="5" y="9.62" width="700" height="969.33"/>
    </clipPath>
  </defs>
  <g id="Layer_1-2" data-name="Layer 1">
    <g id="main">
      <rect class="cls-1" x="5" y="5" width="700" height="973.95"/>
      <g id="clippingMask">
        <g class="cls-4">
          <g id="fillAmount">
            <path class="cls-2" d="M705,518.06c-87.52,0-87.52,12.47-175.05,12.47s-87.52-12.47-175.05-12.47-87.46,12.47-174.93,12.47-87.49-12.47-174.98-12.47v460.89H705v-460.89Z"/>
          </g>
        </g>
      </g>
      <g id="measures">
        <polyline class="cls-1" points="805 5 1005 5 1005 978.95 805 978.95"/>
        <path class="cls-1" d="M1005,491.97h0Z"/>
        <path class="cls-1" d="M1005,735.46h0Z"/>
        <path class="cls-1" d="M1005,248.49h0Z"/>
      </g>
    </g>
  </g>
</svg>
svg adobe-illustrator
© www.soinside.com 2019 - 2024. All rights reserved.