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

Shape is unexpectedly asymmetric #80

Closed
Pospelove opened this issue Mar 30, 2022 · 6 comments
Closed

Shape is unexpectedly asymmetric #80

Pospelove opened this issue Mar 30, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@Pospelove
Copy link

https://github.com/lichess-org/lila/blob/master/public/piece/cburnett/bK.svg

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="45" height="45">
   <g fill="none" fill-rule="evenodd" stroke="#000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
      <path d="M22.5 11.63V6" stroke-linejoin="miter" />
      <path d="M22.5 25s4.5-7.5 3-10.5c0 0-1-2.5-3-2.5s-3 2.5-3 2.5c-1.5 3 3 10.5 3 10.5" fill="#000" stroke-linecap="butt" stroke-linejoin="miter" />
      <path d="M11.5 37c5.5 3.5 15.5 3.5 21 0v-7s9-4.5 6-10.5c-4-6.5-13.5-3.5-16 4V27v-3.5c-3.5-7.5-13-10.5-16-4-3 6 5 10 5 10V37z" fill="#000" />
      <path d="M20 8h5" stroke-linejoin="miter" />
      <path d="M32 29.5s8.5-4 6.03-9.65C34.15 14 25 18 22.5 24.5l.01 2.1-.01-2.1C20 18 9.906 14 6.997 19.85c-2.497 5.65 4.853 9 4.853 9" stroke="#ececec" />
      <path d="M11.5 30c5.5-3 15.5-3 21 0m-21 3.5c5.5-3 15.5-3 21 0m-21 3.5c5.5-3 15.5-3 21 0" stroke="#ececec" />
   </g>
</svg>

Expected:
image
Actual:
image

@Pospelove
Copy link
Author

Pospelove commented Mar 30, 2022

Please let me know if any additional info needed.
Also please tell me how to fix the original SVG to meet lunasvg requirements if you know a way

@sammycage sammycage added the bug Something isn't working label Mar 30, 2022
@sammycage
Copy link
Owner

Fixed : 7f82e94

bK svg

Thank you for reporting this issue 🤟🏾

@Pospelove
Copy link
Author

Pospelove commented Mar 30, 2022

It works thanks @sammycage! 🤟🏾

I'm working on adding lunasvg to vcpkg: microsoft/vcpkg#23867
It would be very helpful if you release 2.3.2 with the fix. I would update my vcpkg PR immediately so they will merge the fixed version. The current PR adds 2.3.1

@Pospelove
Copy link
Author

Pospelove commented Mar 30, 2022

https://user-images.githubusercontent.com/37947786/160879319-0578c463-081e-447b-a48d-0c9ba2c19cd7.png
better screenshot (can't edit prev comment anymore for some reason lol)

@sammycage
Copy link
Owner

It works thanks @sammycage! 🤟🏾

I'm working on adding lunasvg to vcpkg: microsoft/vcpkg#23867 It would be very helpful if you release 2.3.2 with the fix. I would update my vcpkg PR immediately so they will merge the fixed version. The current PR adds 2.3.1

I will try to release a new version

@sammycage
Copy link
Owner

https://user-images.githubusercontent.com/37947786/160879319-0578c463-081e-447b-a48d-0c9ba2c19cd7.png better screenshot (can't edit prev comment anymore for some reason lol)

Wow 👍🏾

sammycage added a commit that referenced this issue Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants