question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Codes get rewritten when adding new glyphs

See original GitHub issue

Description 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: screenshot
  • I then add a new glyph - the ‘help’ glyph. It gets the code E864: screenshot
  • I now again look at the details of the ‘check’ glyph. I now has the code E830: screenshot

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:closed
  • Created 3 years ago
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rlidwkacommented, Nov 26, 2020

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.

0reactions
puzrincommented, Dec 11, 2020

@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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding and removing glyphs with code - RoboFont
This page shows how to add and remove glyphs to a font with Python. Adding glyphs. The example below shows how to add...
Read more >
Features, part 1: simple substitutions - Glyphs App
What features do. OpenType features can do two things: substitute glyphs and reposition glyphs. In this tutorial, we'll focus on substitution.
Read more >
Finding and Changing Glyphs | CreativePro Network
You do this in InDesign's Find/Change dialog, revamped in InDesign CS3. Start by choosing Edit > Find/Change. While much has been written about...
Read more >
How Unicode Characters Become Glyphs on Your Screen
... stack to provide some insight into the additional work needed to support a writing system after it is added to Unicode. …...
Read more >
Generate Glyphs - FontLab Help Center
Rebuild existing glyphs will cause FontLab to overwrite existing glyphs, if the new glyphs have the same names. Create auto layers will generate...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found