jbosboom / svg-tiler

tiles SVGs from ASCII input (deprecated: use edemaine/svgtiler instead)
1 stars 0 forks source link

Symbols included from files should use the file name as their id attribute #3

Open jbosboom opened 8 years ago

jbosboom commented 8 years ago

Would help interpret output while debugging, particularly when a mapping contains more characters than are actually used in a particular image.

Some care must be taken to sanitize the filenames. Also, we might map multiple characters to the same symbol. If they really are the same (not styled differently; see #1), we should only emit one symbol; otherwise we'll need unique names.