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

Missing translate tag #105

Open
XamarinDeveloper opened this issue Mar 8, 2024 · 0 comments
Open

Missing translate tag #105

XamarinDeveloper opened this issue Mar 8, 2024 · 0 comments

Comments

@XamarinDeveloper
Copy link

Using this svg:

<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M320-440v-287L217-624l-57-56 200-200 200 200-57 56-103-103v287h-80ZM600-80 400-280l57-56 103 103v-287h80v287l103-103 57 56L600-80Z"/></svg>

I get this output:

<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="960dp"
    android:height="960dp"
    android:viewportWidth="960"
    android:viewportHeight="960">

    <path
        android:fillColor="#000000"
        android:pathData="M320-440v-287L217-624l-57-56 200-200 200 200-57 56-103-103v287h-80ZM600-80 400-280l57-56 103 103v-287h80v287l103-103 57 56L600-80Z" />
</vector>

Where the correct output is:

<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="960dp"
    android:height="960dp"
    android:viewportWidth="960"
    android:viewportHeight="960">
    <group
        android:translateY="960">
        <path
            android:fillColor="#000000"
            android:pathData="M320-440v-287L217-624l-57-56 200-200 200 200-57 56-103-103v287h-80ZM600-80 400-280l57-56 103 103v-287h80v287l103-103 57 56L600-80Z" />
    </group>
</vector>
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