Codes get rewritten when adding new glyphs
See original GitHub issueDescription We have been using Fontello to generate of font icons for a year or so now, and it has been working great! But now, we have run into some problems where codes of the existing glyphs get overwritten when we add new glyphs.
This problem is probably the same as has been reported in #724, but I create a new bug report just in case it isn’t.
To Reproduce Here is an example:
- I have 100 glyphs in my JSON config.
- I upload the config to fontello.com (using a MAKE script) and look at the details of one of the glyphs, the ‘check’ glyph. It has code E864:
- I then add a new glyph - the ‘help’ glyph. It gets the code E864:
- I now again look at the details of the ‘check’ glyph. I now has the code E830:
Expected behavior I expect that existing glyphs should keep their codes intact, when new glyphs are added. I expect that new glyphs don’t get codes that are used by existing glyphs.
I have not observed this behavior earlier. It since we identify the glyphs/icons in the font by the codes (in some cases), this messes up the font completely.
Why do we experience this behavior now? Have you made a deliberate change that causes this behavior, or is it bug?
OS/Browser
- Ubuntu 18.04
- Chrome 86.0.4240.75 (Official Build) (64-bit) and Firefox 82.0.3 (64-bit)
Font/config
config.json
is uploaded with MAKE script (containing only custom icons). However, same problem occurs if I drag the 'config.json into an empty fontello.com.
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (5 by maintainers)
Top GitHub Comments
Please, check again if this issue is fixed.
I’m sorry for the delay. I believe this bug is related to #714, and it is (or was) a corner face we’ve forgot. Couldn’t reproduce exactly (uploading
help.svg
causes error?), but similar thing happens with another glyph.@matildaaistre if you are sure you problem is related to this issue, please provide detailed instruction how to reproduce, as been requested. That’s important.