when converting fonts (using iconmoon), the following error is found, and some svg cannot be displayed after conversion
I wonder if there is something wrong with the svg designed for me.
</polyline>
</g>
</g>
</g>
</svg>
when converting fonts (using iconmoon), the following error is found, and some svg cannot be displayed after conversion
I wonder if there is something wrong with the svg designed for me.
</polyline>
</g>
</g>
</g>
</svg>
because your icon uses the stroke
(stroke) attribute,
but it should not be used as an icon, it should all be converted to a path.
the example you provided is actually an arrow pointing to the right, right?
in terms of code structure, this is made up of two lines (that is, the polyline
tag), and
then makes the two lines thicker (through the stroke-width
attribute)
to make the line look more obvious.
your svg is made in sketch, isn't it?
you ask the designer to expand the graphics ( cmd
+ option
+ o
)
before exporting