logisim-evolution
logisim-evolution copied to clipboard
Problem with the symbols "Floating point to Integer" and "Integer to Floating point"
Icons and symbols of arithmetic components "Floating point to Integer" and "Integer to Floating point" are not very satisfactory.
Test under windows 10 language FR-CH
Maybe the text in the components would be correct if \u2192
was used instead of →
in the following Java source code:
FPToInt.java:
83: setIcon(new ArithmeticIcon("I→FP", 2)); 103: painter.drawPort(OUT, "F→I", Direction.WEST);
IntToFP.java:
83: setIcon(new ArithmeticIcon("I→FP", 2)); 102: painter.drawPort(OUT, "I→F", Direction.WEST);
My comment from #892:
I am still having feelings this only masks the problem instead of finding the culprit Do we know what was the real issue here in the first place? Anyone knows why exactly the issue happened? I am pretty surprised there's any issue with UTF-8 strings at all, as this is de facto encoding standard nowadays, and all our sources are expected to be UTF-8 encoded. So we need to understand what exact value we have in both cases and compare before we can tell we fixed anything :)
So unless we figure out what was the culprit really, please leave ticket opened despite merging #892