jkotlinski / lsdpatch

LSDj Patcher
http://www.littlesounddj.com
Other
173 stars 14 forks source link

Loading 2 fonts with similar names replaces both fonts #63

Closed defensem3ch closed 3 years ago

defensem3ch commented 3 years ago

Loading one font e.g. TEST.png into slot 2, then loading a new font e.g. TEST2.png replaces both TEST fonts with TEST2.png

jkotlinski commented 3 years ago

Could this be due to a Java bug with the editable fontname combo box? If several values in the list have the same value, it will only be possible to select the first. This leads to confusing behaviors.

For the palette editor, I worked around this by appending an incrementing number to duplicate list entries.

defensem3ch commented 3 years ago

I think that's the case here too. Incrementing number would probably be a good solution