更新 2016.11.7 15:46閲覧 7875

Inkscape の SVG を小さくする方法

Inkscape で SVG 作った ブラウザの表示が違う! パスに変換 サイズデケェ! 統合 最小化  
SVG にサイズは無関係かと思っていたが、Inkscape では違った。 試しに、上図のような「10px × 10px」のアイコンを「プレーン SVG」で保存してみると、「svg-00」のように表示される。 下記がその XML。因みにサイズは「2.1 kB」。
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->

<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   version="1.1"
   width="10"
   height="10"
   id="svg2">
  <defs
     id="defs4" />
  <metadata
     id="metadata7">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <dc:title></dc:title>
      </cc:Work>
    </rdf:RDF>
  </metadata>
  <g
     transform="translate(0,-1042.3622)"
     id="layer1">
    <rect
       width="10"
       height="10"
       ry="0.77066743"
       x="0"
       y="1042.3622"
       id="rect3005"
       style="fill:#e91b1b;fill-opacity:1;stroke:none" />
    <text
       x="2.5"
       y="4.5985403"
       transform="translate(0,1042.3622)"
       id="text2985"
       xml:space="preserve"
       style="font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Noto Sans CJK JP;-inkscape-font-specification:Noto Sans CJK JP"><tspan
         x="2.5"
         y="4.5985403"
         id="tspan2987" /></text>
    <text
       x="-0.10591655"
       y="1046.496"
       id="text2989"
       xml:space="preserve"
       style="font-size:5.29180622px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Noto Sans CJK JP;-inkscape-font-specification:Noto Sans CJK JP Bold"><tspan
         x="-0.10591655"
         y="1046.496"
         dx="0 -0.70594019 -9.7683573 -0.66449457"
         dy="0 0.44247445 4.8640761 0.020803463"
         id="tspan3001">Q熱青猫</tspan></text>
  </g>
</svg>
この冗長な SVG を最適化して、ブラウザでも可変表示できるようにするという「Scour - an SVG scrubber」をパッケージマネージャからインストールして、端末で「scour -i 00.svg -o 01.svg --enable-viewboxing --enable-id-stripping --enable-comment-stripping --shorten-ids --indent=none --remove-metadata」と実行したところ、以下のような表示となった。 svg-01 下がその XML。サイズは「992 B」 無駄な記述が減り、「viewBox="0 0 10 10"」が追記されて、可変表示されるようになったものの何か変だ。
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:cc="http://creativecommons.org/ns#" viewBox="0 0 10 10" xmlns:dc="http://purl.org/dc/elements/1.1/">
<g transform="translate(0 -1042.4)">
<rect ry=".77067" height="10" width="10" y="1042.4" x="0" fill="#e91b1b"/>
<text style="word-spacing:0px;letter-spacing:0px" xml:space="preserve" transform="translate(0 1042.4)" line-height="125%" font-size="14px" y="4.5985403" x="2.5" font-family="Noto Sans CJK JP" fill="#000000"><tspan y="4.5985403" x="2.5"/></text>
<text style="word-spacing:0px;letter-spacing:0px" font-weight="bold" xml:space="preserve" font-size="5.2918px" line-height="125%" y="1046.496" x="-0.10591655" font-family="Noto Sans CJK JP" fill="#ffffff"><tspan y="1046.496" x="-0.10591655" dx="0 -0.70594019 -9.7683573 -0.66449457" dy="0 0.44247445 4.8640761 0.020803463">Q熱青猫</tspan></text>
</g>
</svg>
恐らく、「font-family="Noto Sans CJK JP"」の解釈に因るものだろうと判断して、Inkscape で文字部分を選択し、「パス オブジェクトをパスへ(O)」を実行。再度「プレーン SVG」で保存したのが下の画像。 svg-02 おお、文字間は狭いが、まぁいいじゃないかと思いきや、サイズは…何と「5.5 kB」! XML を見ると、「path」が4文字分書いてあることが分かる。
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:cc="http://creativecommons.org/ns#" viewBox="0 0 10 10" xmlns:dc="http://purl.org/dc/elements/1.1/">
<g transform="translate(0 -1042.4)">
<rect ry=".77067" height="10" width="10" y="1042.4" x="0" fill="#e91b1b"/>
<text style="word-spacing:0px;letter-spacing:0px" xml:space="preserve" transform="translate(0 1042.4)" line-height="125%" font-size="14px" y="4.5985403" x="2.5" font-family="Noto Sans CJK JP" fill="#000000"><tspan y="4.5985403" x="2.5"/></text>
<g fill="#fff">
<path d="m4.5615 1046.9c-0.1323 0.042-0.29634 0.085-0.49743 0.085-0.40747 0-0.85727-0.1323-1.0584-0.4286 0.87844-0.1905 1.4658-0.9208 1.4658-1.9951 0-1.27-0.80965-2.0108-1.9421-2.0108-1.1377 0-1.9368 0.7408-1.9368 2.0108 0 1.1272 0.62973 1.8628 1.577 2.0215 0.29634 0.598 0.87844 1.0266 1.7939 1.0266 0.32809 0 0.59268-0.063 0.74614-0.1323l-0.14817-0.5768m-2.032-1c-0.69323 0-1.1377-0.5344-1.1377-1.4182 0-0.8308 0.44451-1.3388 1.1377-1.3388 0.68264 0 1.143 0.5027 1.143 1.3388 0 0.8838-0.46039 1.4182-1.143 1.4182"/>
<path d="m5.2843 1047.4c0.24871-0.2487 0.49214-0.6456 0.62443-1.0054l-0.60856-0.1588c-0.13759 0.3546-0.38101 0.7197-0.61385 0.9261l0.59797 0.2381m0.93665-0.9842c0.052918 0.3016 0.084669 0.7038 0.084669 0.9366l0.62443-0.079c-0.00529-0.2275-0.05821-0.6191-0.12171-0.9155l-0.58739 0.058m1.0531-0.01c0.11642 0.2963 0.21696 0.6985 0.24871 0.9366l0.62972-0.1217c-0.042334-0.2381-0.16405-0.6191-0.28576-0.9102l-0.59268 0.095m1.0531-0.011c0.22755 0.3069 0.49743 0.7461 0.60856 1.0054l0.6456-0.2064c-0.1323-0.2751-0.42334-0.6826-0.6456-0.9842l-0.60856 0.1852m0.16934-2.7094v1.0954c-0.10054-0.09-0.23284-0.1958-0.38101-0.3017 0.042334-0.2434 0.063502-0.508 0.079377-0.7937h0.30163m0.62443 1.8786c-0.021167 0-0.037043-0.01-0.047626-0.026-0.010584-0.021-0.010584-0.09-0.010584-0.2064v-2.2014h-0.8414c0.00529-0.2169 0.00529-0.4445 0.010584-0.6773h-0.56622c0 0.2381-0.00529 0.4604-0.010584 0.6773h-0.46039v0.5557h0.44451c-0.00529 0.1587-0.015875 0.3122-0.031751 0.4604-0.095252-0.058-0.18521-0.1112-0.26988-0.1588l-0.25401 0.4657c0.1323 0.079 0.28047 0.1799 0.42334 0.2805-0.084669 0.3439-0.22226 0.6297-0.43922 0.8678v-0.164c-0.28047 0.026-0.56622 0.048-0.84669 0.074v-0.2805h0.71969v-0.4392h-0.71969v-0.2699c0.063502 0.026 0.14817 0.037 0.2593 0.037h0.26459c0.24871 0 0.36513-0.09 0.40218-0.4709-0.11642-0.026-0.29634-0.085-0.37572-0.1482-0.010584 0.2169-0.026459 0.2434-0.089961 0.2434h-0.12171c-0.05821 0-0.068793-0.011-0.068793-0.1058v-0.217h0.5821v-0.4339h-0.85198v-0.2593h0.70381v-0.4234h-0.70381v-0.2857h-0.55564v0.2857h-0.70381v0.4234h0.70381v0.2593h-0.88902v0.4339h0.52918c-0.047626 0.2487-0.19051 0.3916-0.63502 0.471 0.095252 0.085 0.21167 0.2593 0.24871 0.3704 0.61385-0.1429 0.80435-0.4075 0.86786-0.8414h0.26459v0.217c0 0.2328 0.026459 0.3651 0.13759 0.4286h-0.52389v0.2858h-0.7779v0.4392h0.7779v0.3228c-0.34926 0.026-0.66677 0.048-0.92607 0.063l0.037043 0.5133c0.61914-0.058 1.4764-0.1429 2.2966-0.2276v-0.011c0.089961 0.09 0.17463 0.1958 0.22226 0.2751 0.33338-0.2804 0.55035-0.6403 0.68264-1.0795 0.12171 0.1005 0.22755 0.2011 0.30692 0.2858l0.21167-0.4181v0.3863c0 0.3863 0.037043 0.4974 0.11642 0.5927 0.089961 0.09 0.22226 0.127 0.34397 0.127h0.23284c0.10054 0 0.21167-0.021 0.28047-0.079 0.068793-0.058 0.12171-0.1429 0.14817-0.2699 0.031751-0.1217 0.052918-0.4498 0.05821-0.7144-0.1323-0.048-0.28576-0.127-0.3863-0.2116 0 0.2751-0.00529 0.4868-0.015875 0.5874-0.00529 0.1005-0.015875 0.1428-0.031751 0.164-0.015875 0.021-0.037043 0.026-0.05821 0.026h-0.063502"/>
<path d="m1.6174 1051v-0.2434h2.0797v0.2434h-2.0797m2.0797-0.889v0.2328h-2.0797v-0.2328h2.0797m0.64031-0.4498h-3.3497v2.5718h0.62972v-0.8255h2.0797v0.2064c0 0.079-0.026459 0.1005-0.12171 0.1058-0.079377 0.01-0.42334 0.01-0.68264-0.011 0.079377 0.1429 0.16405 0.3493 0.1958 0.5027 0.42334 0 0.74085-0.01 0.95782-0.079 0.21696-0.079 0.29105-0.2117 0.29105-0.5081v-1.9632m-1.3812-0.7038v-0.2487h1.5293v-0.4446h-1.5293v-0.2381h1.7622v-0.471h-1.7622v-0.2698h-0.64031v0.2698h-1.6828v0.471h1.6828v0.2381h-1.487v0.4446h1.487v0.2487h-2.0056v0.4709h4.678v-0.4709h-2.0321"/>
<path d="m6.1071 1047.4c-0.095252 0.1482-0.20109 0.3016-0.3228 0.4445-0.127-0.1534-0.26988-0.3069-0.4498-0.4551l-0.43922 0.3334c0.20109 0.1746 0.37043 0.3599 0.49743 0.5451-0.20638 0.2011-0.42334 0.381-0.6456 0.5291 0.1323 0.1112 0.31751 0.307 0.39689 0.4393 0.17992-0.1217 0.35984-0.2593 0.52918-0.4075 0.063502 0.1693 0.10584 0.3545 0.1323 0.5451-0.24871 0.4286-0.67206 0.8837-1.0425 1.1271 0.14817 0.1164 0.31751 0.3175 0.41805 0.4657 0.22226-0.1852 0.4551-0.4339 0.67206-0.7038-0.00529 0.5821-0.047626 1.0795-0.15346 1.2171-0.042334 0.058-0.089961 0.079-0.15875 0.09-0.10584 0.011-0.28576 0.016-0.52918-0.01 0.10054 0.1799 0.15875 0.4021 0.15875 0.6032 0.24342 0.011 0.46039 0.01 0.66148-0.042 0.127-0.032 0.24342-0.1006 0.3228-0.2064 0.23813-0.3228 0.29634-1.0319 0.29634-1.7569 0-0.6244-0.047626-1.2224-0.3228-1.7833 0.16405-0.1905 0.31751-0.3863 0.44451-0.598l-0.46568-0.381m1.6934 2.4607v0.5027h-0.53976v-0.5027h0.53976m1.1272 0.5027h-0.56093v-0.5027h0.56093v0.5027m-0.56093 1.0531v-0.5186h0.56093v0.5186h-0.56093m-1.106-0.5186h0.53976v0.5186h-0.53976v-0.5186m-0.56622 1.3177h0.56622v-0.2541h1.6669v0.2276h0.59797v-2.8787h-2.8311v2.9052m2.3654-4.2282v-0.6879h-0.60856v0.6879h-0.71969v-0.6879h-0.60327v0.6879h-0.61385v0.5662h0.61385v0.5927h0.60327v-0.5927h0.71969v0.5927h0.60856v-0.5927h0.62972v-0.5662h-0.62972"/>
</g>
</g>
</svg>
なら1文字にすればいいじゃないと、Inkscape に戻って文字部分を選択し、「オブジェクト グループ解除(U)」に続き、「パス 統合(U)」。 svg-03 何故か文字間もいい感じ。XML はこんな感じ。サイズは…「5.3 kB」。 …ダイエット失敗?
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:cc="http://creativecommons.org/ns#" viewBox="0 0 10 10" xmlns:dc="http://purl.org/dc/elements/1.1/">
<g transform="translate(0 -1042.4)">
<rect ry=".77067" height="10" width="10" y="1042.4" x="0" fill="#e91b1b"/>
<text style="word-spacing:0px;letter-spacing:0px" xml:space="preserve" transform="translate(0 1042.4)" line-height="125%" font-size="14px" y="4.5985403" x="2.5" font-family="Noto Sans CJK JP" fill="#000000"><tspan y="4.5985403" x="2.5"/></text>
<path d="m5.6562 0.09375v0.28125h-0.6875v0.4375h0.6875v0.25h-0.875v0.4375h0.53125c-0.0475 0.2487-0.2116 0.3894-0.6562 0.4688 0.095252 0.085 0.21296 0.2639 0.25 0.375 0.6139-0.143 0.8115-0.4099 0.875-0.8438h0.28125v0.21875c0 0.2328 0.013872 0.374 0.125 0.4375h-0.53125v0.28125h-0.78125v0.4375h0.78125v0.3125c-0.3492 0.026-0.6469 0.0475-0.9062 0.0625l0.03125 0.53125c0.61914-0.058 1.461-0.1653 2.2812-0.25 0.089961 0.09 0.17112 0.20195 0.21875 0.28125 0.3334-0.2803 0.5553-0.6544 0.6876-1.0936 0.1217 0.1004 0.2331 0.1965 0.3124 0.2812l0.2188-0.4062v0.375c0 0.3863 0.045623 0.49845 0.125 0.59375 0.089961 0.09 0.22204 0.125 0.34375 0.125h0.21875c0.1004-0.0001 0.2124-0.0046 0.2812-0.0626 0.0687-0.058 0.1297-0.1542 0.1562-0.2812 0.0318-0.1218 0.0572-0.4542 0.0625-0.7188-0.1323-0.048-0.3057-0.1029-0.4063-0.1875 0 0.2751 0.010585 0.4619 0 0.5625-0.0052 0.1005-0.0153 0.1663-0.0312 0.1875-0.015875 0.021-0.041333 0-0.0625 0h-0.0625c-0.021167 0-0.051917 0.016-0.0625 0-0.010584-0.021 0-0.10235 0-0.21875v-2.1875h-0.84375c0.00529-0.2169-0.00529-0.4547 0-0.6875h-0.5625c0 0.2381 0.00529 0.4706 0 0.6875h-0.46875v0.53125h0.4375c-0.0053 0.1586-0.0154 0.3204-0.0312 0.4686-0.0953-0.058-0.1654-0.1086-0.25-0.1562l-0.25 0.46875c0.1322 0.079 0.2633 0.1806 0.4062 0.2812-0.0847 0.3439-0.2205 0.6369-0.4375 0.875v-0.1875c-0.2805 0.026-0.5633 0.0677-0.8437 0.0937v-0.28125h0.71875v-0.4375h-0.71875v-0.28125c0.063502 0.026 0.13887 0.03125 0.25 0.03125h0.28125c0.24871 0 0.36921-0.08785 0.40625-0.46875-0.1164-0.0258-0.2956-0.0929-0.375-0.1561-0.0105 0.2169-0.0302 0.25-0.0937 0.25h-0.125c-0.0582 0-0.0625 0.0011-0.0625-0.0937v-0.2188h0.5625v-0.4375h-0.84375v-0.25h0.71875v-0.4375h-0.71875v-0.28125h-0.5625zm-3.125 0.03125c-1.1377 0-1.9375 0.76125-1.9375 2.0312 0 1.1272 0.61527 1.8413 1.5625 2 0.16712 0.33723 0.45509 0.6295 0.8125 0.8125 0.27637 0.14151 0.60079 0.21875 1 0.21875 0.32809 0 0.59654-0.0557 0.75-0.125l-0.1562-0.5624c-0.1323 0.042-0.2989 0.0625-0.5 0.0625-0.4075 0-0.8614-0.1099-1.0625-0.4063 0.87844-0.1905 1.4688-0.9257 1.4688-2 0-1.27-0.80505-2.0312-1.9375-2.0312zm0.4375 4.8438h-0.65625v0.25h-1.6875v0.46875h1.6875v0.25h-1.4688v0.4375h1.4688v0.25h-2v0.46875h4.6875l0.0001-0.3438c0.0503 0.0588 0.1269 0.1073 0.1562 0.1562 0.18-0.1216 0.362-0.258 0.5313-0.4062 0.0635 0.1693 0.0985 0.3719 0.125 0.5625-0.2487 0.4286-0.6921 0.8816-1.0625 1.125 0.1482 0.1164 0.337 0.3205 0.4375 0.4687 0.2223-0.1852 0.4393-0.4488 0.6563-0.7187-0.0053 0.5821-0.0505 1.0811-0.1563 1.2187-0.0423 0.058-0.0875 0.0828-0.1563 0.0938-0.1058 0.011-0.2878 0.026-0.5312 0 0.1005 0.1799 0.1562 0.3926 0.1562 0.5938 0.2435 0.011 0.4865 0.0207 0.6876-0.0313 0.127-0.032 0.2331-0.1129 0.3124-0.2187 0.2382-0.3228 0.2813-1.025 0.2813-1.75 0-0.6244-0.0373-1.2204-0.3125-1.7813 0.164-0.1905 0.3105-0.3821 0.4375-0.5937l-0.4687-0.4063v0.03125c-0.0953 0.1482-0.1908 0.2946-0.3126 0.4374-0.127-0.1534-0.2575-0.3205-0.4374-0.4687l-0.4375 0.34375c0.20109 0.1746 0.373 0.34605 0.5 0.53125-0.2064 0.2012-0.434 0.3832-0.6563 0.5314 0.0489 0.0411 0.1009 0.0994 0.1562 0.1562h-1.9375v-0.25h1.5312v-0.4375h-1.5312v-0.25h1.75v-0.46875h-1.75v-0.25zm-0.4375-4.1563c0.68264 0 1.1562 0.50765 1.1562 1.3438 0 0.8838-0.47361 1.4062-1.1562 1.4062-0.69323 0-1.125-0.52245-1.125-1.4062 0-0.8308 0.43177-1.3438 1.125-1.3438zm5.6562 0.5h0.3125v1.0938c-0.1004-0.0901-0.2267-0.1754-0.3749-0.2813 0.0423-0.2434 0.0466-0.5268 0.0625-0.8125zm0.75 2.5312-0.625 0.1875c0.21259 0.28672 0.47124 0.67441 0.59375 0.9375h-0.46875v0.6875h-0.71875v-0.6875h-0.1875-0.40625v0.6875h-0.625v0.5625h0.625v0.59375h0.59375v-0.59375h0.71875v0.59375h0.625v-0.59375h0.625v-0.5625h-0.625l-0.0001-0.6562 0.5313-0.1562c-0.1323-0.2751-0.43399-0.6984-0.65625-1zm-1.4062 1.125 0.625-0.125c-0.0423-0.2381-0.1595-0.6151-0.2812-0.9062l-0.5938 0.0937c0.11642 0.2963 0.21825 0.6994 0.25 0.9375zm-2.2187-1.0937c-0.1376 0.3546-0.3922 0.7311-0.625 0.9375l0.59375 0.21875c0.24871-0.2487 0.4927-0.6402 0.625-1l-0.5937-0.1562zm1.5 0.125-0.5937 0.0625c0.0529 0.3016 0.0937 0.7047 0.0937 0.9375l0.625-0.0938c-0.0053-0.2274-0.0615-0.6098-0.125-0.9062zm-0.125 3v2.9062h0.5625v-0.28125h1.6875v0.25h0.59375v-2.875h-2.8437zm-5.6875 0.3438v2.5625h0.625v-0.8125h2.0625v0.1875c0 0.079-0.029747 0.1197-0.125 0.125-0.0794 0.0099-0.397-0.0103-0.6563-0.0313 0.079377 0.1429 0.15575 0.3466 0.1875 0.5 0.42334 0 0.72054 0.0065 0.9375-0.0625 0.21696-0.079 0.3125-0.2036 0.3125-0.5v-1.9688h-3.3438zm6.25 0.1875h0.5625v0.5h-0.5625v-0.5zm1.125 0h0.5625v0.5h-0.5625v-0.5zm-6.75 0.25h2.0625v0.25h-2.0625v-0.25zm0 0.65625h2.0625v0.25h-2.0625v-0.25zm5.625 0.125h0.5625v0.53125h-0.5625v-0.53125zm1.125 0h0.5625v0.53125h-0.5625v-0.53125z" transform="translate(0 1042.4)" fill="#fff"/>
</g>
</svg>
上の XML をよく見ると、まだ「font-family="Noto Sans CJK JP"」などの記述がある。 それらを手動で削除すべく、テキストエディタで開いて編集したのが、下の XML。 サイズも「4.8 kB」まで減らせた。ダイエットを試みたからには「4 k」台は重要!
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"><g transform="translate(0 -1042.4)"><rect ry=".8" height="10" width="10" y="1042.4" x="0" fill="#e91b1b"/><path d="m5.6562 0.09375v0.28125h-0.6875v0.4375h0.6875v0.25h-0.875v0.4375h0.53125c-0.0475 0.2487-0.2116 0.3894-0.6562 0.4688 0.095252 0.085 0.21296 0.2639 0.25 0.375 0.6139-0.143 0.8115-0.4099 0.875-0.8438h0.28125v0.21875c0 0.2328 0.013872 0.374 0.125 0.4375h-0.53125v0.28125h-0.78125v0.4375h0.78125v0.3125c-0.3492 0.026-0.6469 0.0475-0.9062 0.0625l0.03125 0.53125c0.61914-0.058 1.461-0.1653 2.2812-0.25 0.089961 0.09 0.17112 0.20195 0.21875 0.28125 0.3334-0.2803 0.5553-0.6544 0.6876-1.0936 0.1217 0.1004 0.2331 0.1965 0.3124 0.2812l0.2188-0.4062v0.375c0 0.3863 0.045623 0.49845 0.125 0.59375 0.089961 0.09 0.22204 0.125 0.34375 0.125h0.21875c0.1004-0.0001 0.2124-0.0046 0.2812-0.0626 0.0687-0.058 0.1297-0.1542 0.1562-0.2812 0.0318-0.1218 0.0572-0.4542 0.0625-0.7188-0.1323-0.048-0.3057-0.1029-0.4063-0.1875 0 0.2751 0.010585 0.4619 0 0.5625-0.0052 0.1005-0.0153 0.1663-0.0312 0.1875-0.015875 0.021-0.041333 0-0.0625 0h-0.0625c-0.021167 0-0.051917 0.016-0.0625 0-0.010584-0.021 0-0.10235 0-0.21875v-2.1875h-0.84375c0.00529-0.2169-0.00529-0.4547 0-0.6875h-0.5625c0 0.2381 0.00529 0.4706 0 0.6875h-0.46875v0.53125h0.4375c-0.0053 0.1586-0.0154 0.3204-0.0312 0.4686-0.0953-0.058-0.1654-0.1086-0.25-0.1562l-0.25 0.46875c0.1322 0.079 0.2633 0.1806 0.4062 0.2812-0.0847 0.3439-0.2205 0.6369-0.4375 0.875v-0.1875c-0.2805 0.026-0.5633 0.0677-0.8437 0.0937v-0.28125h0.71875v-0.4375h-0.71875v-0.28125c0.063502 0.026 0.13887 0.03125 0.25 0.03125h0.28125c0.24871 0 0.36921-0.08785 0.40625-0.46875-0.1164-0.0258-0.2956-0.0929-0.375-0.1561-0.0105 0.2169-0.0302 0.25-0.0937 0.25h-0.125c-0.0582 0-0.0625 0.0011-0.0625-0.0937v-0.2188h0.5625v-0.4375h-0.84375v-0.25h0.71875v-0.4375h-0.71875v-0.28125h-0.5625zm-3.125 0.03125c-1.1377 0-1.9375 0.76125-1.9375 2.0312 0 1.1272 0.61527 1.8413 1.5625 2 0.16712 0.33723 0.45509 0.6295 0.8125 0.8125 0.27637 0.14151 0.60079 0.21875 1 0.21875 0.32809 0 0.59654-0.0557 0.75-0.125l-0.1562-0.5624c-0.1323 0.042-0.2989 0.0625-0.5 0.0625-0.4075 0-0.8614-0.1099-1.0625-0.4063 0.87844-0.1905 1.4688-0.9257 1.4688-2 0-1.27-0.80505-2.0312-1.9375-2.0312zm0.4375 4.8438h-0.65625v0.25h-1.6875v0.46875h1.6875v0.25h-1.4688v0.4375h1.4688v0.25h-2v0.46875h4.6875l0.0001-0.3438c0.0503 0.0588 0.1269 0.1073 0.1562 0.1562 0.18-0.1216 0.362-0.258 0.5313-0.4062 0.0635 0.1693 0.0985 0.3719 0.125 0.5625-0.2487 0.4286-0.6921 0.8816-1.0625 1.125 0.1482 0.1164 0.337 0.3205 0.4375 0.4687 0.2223-0.1852 0.4393-0.4488 0.6563-0.7187-0.0053 0.5821-0.0505 1.0811-0.1563 1.2187-0.0423 0.058-0.0875 0.0828-0.1563 0.0938-0.1058 0.011-0.2878 0.026-0.5312 0 0.1005 0.1799 0.1562 0.3926 0.1562 0.5938 0.2435 0.011 0.4865 0.0207 0.6876-0.0313 0.127-0.032 0.2331-0.1129 0.3124-0.2187 0.2382-0.3228 0.2813-1.025 0.2813-1.75 0-0.6244-0.0373-1.2204-0.3125-1.7813 0.164-0.1905 0.3105-0.3821 0.4375-0.5937l-0.4687-0.4063v0.03125c-0.0953 0.1482-0.1908 0.2946-0.3126 0.4374-0.127-0.1534-0.2575-0.3205-0.4374-0.4687l-0.4375 0.34375c0.20109 0.1746 0.373 0.34605 0.5 0.53125-0.2064 0.2012-0.434 0.3832-0.6563 0.5314 0.0489 0.0411 0.1009 0.0994 0.1562 0.1562h-1.9375v-0.25h1.5312v-0.4375h-1.5312v-0.25h1.75v-0.46875h-1.75v-0.25zm-0.4375-4.1563c0.68264 0 1.1562 0.50765 1.1562 1.3438 0 0.8838-0.47361 1.4062-1.1562 1.4062-0.69323 0-1.125-0.52245-1.125-1.4062 0-0.8308 0.43177-1.3438 1.125-1.3438zm5.6562 0.5h0.3125v1.0938c-0.1004-0.0901-0.2267-0.1754-0.3749-0.2813 0.0423-0.2434 0.0466-0.5268 0.0625-0.8125zm0.75 2.5312-0.625 0.1875c0.21259 0.28672 0.47124 0.67441 0.59375 0.9375h-0.46875v0.6875h-0.71875v-0.6875h-0.1875-0.40625v0.6875h-0.625v0.5625h0.625v0.59375h0.59375v-0.59375h0.71875v0.59375h0.625v-0.59375h0.625v-0.5625h-0.625l-0.0001-0.6562 0.5313-0.1562c-0.1323-0.2751-0.43399-0.6984-0.65625-1zm-1.4062 1.125 0.625-0.125c-0.0423-0.2381-0.1595-0.6151-0.2812-0.9062l-0.5938 0.0937c0.11642 0.2963 0.21825 0.6994 0.25 0.9375zm-2.2187-1.0937c-0.1376 0.3546-0.3922 0.7311-0.625 0.9375l0.59375 0.21875c0.24871-0.2487 0.4927-0.6402 0.625-1l-0.5937-0.1562zm1.5 0.125-0.5937 0.0625c0.0529 0.3016 0.0937 0.7047 0.0937 0.9375l0.625-0.0938c-0.0053-0.2274-0.0615-0.6098-0.125-0.9062zm-0.125 3v2.9062h0.5625v-0.28125h1.6875v0.25h0.59375v-2.875h-2.8437zm-5.6875 0.3438v2.5625h0.625v-0.8125h2.0625v0.1875c0 0.079-0.029747 0.1197-0.125 0.125-0.0794 0.0099-0.397-0.0103-0.6563-0.0313 0.079377 0.1429 0.15575 0.3466 0.1875 0.5 0.42334 0 0.72054 0.0065 0.9375-0.0625 0.21696-0.079 0.3125-0.2036 0.3125-0.5v-1.9688h-3.3438zm6.25 0.1875h0.5625v0.5h-0.5625v-0.5zm1.125 0h0.5625v0.5h-0.5625v-0.5zm-6.75 0.25h2.0625v0.25h-2.0625v-0.25zm0 0.65625h2.0625v0.25h-2.0625v-0.25zm5.625 0.125h0.5625v0.53125h-0.5625v-0.53125zm1.125 0h0.5625v0.53125h-0.5625v-0.53125z" transform="translate(0 1042.4)" fill="#fff"/></g></svg>
svg-04 そんな訳でまとめ。 1. テキストはオブジェクトに変換する 2. 変換したオブジェクトは、なるべくグループ解除して統合する 3. Scour - an SVG scrubber などを適用する 4. テキストエディタで開いて、消しても問題ないものは全て消す 5. エラーが出ても泣かずに Ctrl+z

コメント

当フォームより収集される個人情報は、返信を要する際に使用されるものであり、法令に基づく行政機関等への提供を除き、ご本人の同意を得ずに第三者に提供することはありません。また、コメントが掲載される場合であってもメールアドレスが本サイト内に記載されることはありません。