mapbox / mapbox/spritezero-cli

Fails to convert svg (which contains <use> tags)

Đang mở
#26 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
JavaScript
Star
181
Fork
67
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

The attached svg does not seem to get converted in to the png sprite (nor does it throw an error btw).

I suspect the tags to cause the problem
a- is there a way to ensure it *does* convert? and if not
b- do you have any recommendation on any tools that can replace tags with the referenced tags? preferably a commandline tool rather than some gui

[Star.svg.zip](https://github.com/mapbox/spritezero-cli/files/1734799/Star.svg.zip)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Use the attached Star.svg as the reproduction and run it through the CLI to confirm the silent conversion failure. The issue names no source files or tests, so trace the SVG conversion entry point and add or update coverage for elements; done means the SVG converts successfully or the limitation is documented with a clear recommendation.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript
Lĩnh vực
cli
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
32/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.