mapbox / mapbox/spritezero-cli

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

Aperta
#26 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
JavaScript
Stelle
181
Fork
67
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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)

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript
Ambito
cli
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
32/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.