uploading zip or json file produces duplicate icons #523

Open
JohnEcks opened this Issue Aug 19, 2016 · 4 comments

Projects

None yet

3 participants

@JohnEcks

I started noticing this about a month ago.

If I upload a zip or json file I get duplicate icons for most of them. I'm using latest Firefox on OS X Mavericks. I'm not sure if this is a problem with the website, because I'm using various custom icons I uploaded with SVG, or if maybe one of the zips was corrupted and since I keep uploading them as I add icons it's perpetuating it.

Their also seems to be a large "period" . added at the end with the name "glyph."

This isn't a huge deal because the duplicates are un-selected by default. Just figured I'd bring it up in case anyone else has seen this behavior.

Here's a screenshot.

fontello_duplicates

@leobru
leobru commented Oct 14, 2016

This is convenient if the goal is to create synonyms (e. g. if I want the same glyph available under "A" and "a").

@JohnEcks

yes. I'd personally like it better as an option rather than default since it clutters the view.

@leobru
leobru commented Oct 14, 2016

For me uploading config.json doesn't duplicate, likely because the uids of all icons are identical. Uploading the SVG font file does duplicate, as it should (but it seems that the codepoints aren't uniquified until I go to the codepoint reassignment tab).
It could be that uploading a zip file uses the SVG font file in the archive instead of the config.json file (that would be a mistake).
I'm fine with replication happening only if a font.svg is uploaded.

@puzrin
Member
puzrin commented Oct 15, 2016

That's done intentionally, to allow megre custom icons from different sets. Also, custom icons area has link for quick cleanup.

I know, that's not ideal, but looks like acceptable trade-off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment