dougrich / conscripter

Static site that generates functional open type font files for conlang scripts from SVG using substitution
MIT License
17 stars 4 forks source link

Changing the advance width of a character after changing another one before it defaults to the wrong number #14

Open ZetDude opened 5 years ago

ZetDude commented 5 years ago

Describe the bug When changing the advance width of a character and then going to another character modification screen, be it a new character or editing an old character, it remembers the advance width and automatically puts that width in the slider. However, it does this across different character without regard for the current value of that character. This might be a feature, in which case consider this bug report as an enhancement suggestion

To Reproduce Steps to reproduce the behavior:

  1. Make two characters
  2. Set one of them at a random advance width i.e. 0.200 em
  3. Set the other one to some other random advance width i.e. 0.400 em
  4. Clicking on the first one again puts the slider at 0.400 em, and messes up the character when pressing submit

Expected behavior Display the current advance width of the character. In this case, when clicking back on the first one it should default to 0.200 em, so that when you dont actually touch the slider the character doesn't change either

Desktop (please complete the following information):

dougrich commented 5 years ago

Definitely a bug. It should only be saving the advance width for the new characters. Will fix.