Lilex icon indicating copy to clipboard operation
Lilex copied to clipboard

The === ligature is not the same height as the => ligature or vice versa

Open Quorsor opened this issue 1 year ago • 6 comments

image

Quorsor avatar Jun 26 '23 11:06 Quorsor

image image

I don't seem to have this problem in either the terminal or the code editor. What operating system and software are you using?

mishamyrt avatar Jun 27 '23 09:06 mishamyrt

Using the Command Prompt in the Terminal in Windows 11.

Was running cargo run when I found it.

Quorsor avatar Jun 27 '23 09:06 Quorsor

There seems to be a problem with win metrics. I'll try to look into it during the week

mishamyrt avatar Jun 27 '23 10:06 mishamyrt

Strange, I just tested it in Word and it works.

image

Edit: Just looked at it again and I can definitely see that there's some wonkiness going on.

Quorsor avatar Jun 27 '23 10:06 Quorsor

I did some research into this problem and came to this conclusion: this behavior is caused by the aliasing algorithm in the Windows interface.

I was not able to reproduce the problem in macOS and Linux. In Windows, the problem is fixed by disabling text anti-aliasing. I don't know yet how to solve the problem permanently, but I think I was able to improve the situation a bit in the 2.300 release.

I've also noticed that the problem only occurs when installing individual ttf fonts. If you install variable, everything is fine.

mishamyrt avatar Nov 07 '23 18:11 mishamyrt

Installing the variable version instead of individual ttf does fix the problem. Thanks!

Quorsor avatar Nov 08 '23 07:11 Quorsor

I think I figured out how to fix it.

mishamyrt avatar May 07 '24 06:05 mishamyrt

Should be fixed at 2.500

mishamyrt avatar May 09 '24 08:05 mishamyrt