Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Information about round stroke-linecap is lost on SVG import #275

Open
orestesgaolin opened this issue Jul 30, 2020 · 0 comments
Open

Information about round stroke-linecap is lost on SVG import #275

orestesgaolin opened this issue Jul 30, 2020 · 0 comments

Comments

@orestesgaolin
Copy link

Take following SVG:

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- Created with Vectornator for iOS (http://vectornator.io/) --><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;"
    xmlns:vectornator="http://vectornator.io"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns="http://www.w3.org/2000/svg" xml:space="preserve" version="1.1" viewBox="0 0 456 440">
    <metadata>
        <vectornator:setting key="DynamicGuides" value="1"/>
        <vectornator:setting key="Units" value="Pixels"/>
        <vectornator:setting key="RulersVisible" value="1"/>
        <vectornator:setting key="SnapToGuides" value="1"/>
        <vectornator:setting key="GridSpacing" value="36"/>
    </metadata>
    <defs/>
    <g id="Final-version" vectornator:layerName="Final-version">
        <g opacity="1">
            <g opacity="1">
                <path stroke="#4a4a4a" stroke-width="8" d="M173+28C140.377+12+108.76+4+78.1493+4C47.5381+4+22.8217+12+4+28" fill="none" stroke-linecap="round" opacity="1" stroke-linejoin="round"/>
                <path stroke="#4a4a4a" stroke-width="8" d="M283+28C315.623+12+347.24+4+377.851+4C408.462+4+433.178+12+452+28" fill="none" stroke-linecap="round" opacity="1" stroke-linejoin="round"/>
            </g>
        </g>
    </g>
</svg>

image

Import this to Rive and observe that information about rounded-linecap is lost

image

Exists in Rive 1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant