Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Quorsor opened this issue Jun 26, 2023 · 8 comments
Closed
Labels
bug Something isn't working

Comments

@Quorsor
Copy link

Quorsor commented Jun 26, 2023

image

@Quorsor Quorsor changed the title Make the === ligature the same height as the => ligature Make the === ligature the same height as the => ligature or vice versa Jun 26, 2023
@mishamyrt
Copy link
Owner

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?

@Quorsor
Copy link
Author

Quorsor commented Jun 27, 2023

Using the Command Prompt in the Terminal in Windows 11.

Was running cargo run when I found it.

@Quorsor Quorsor changed the title Make the === ligature the same height as the => ligature or vice versa The === ligature is not the same height as the => ligature or vice versa Jun 27, 2023
@mishamyrt
Copy link
Owner

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

@Quorsor
Copy link
Author

Quorsor commented Jun 27, 2023

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.

@mishamyrt mishamyrt added the bug Something isn't working label Oct 30, 2023
@mishamyrt
Copy link
Owner

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.

@Quorsor
Copy link
Author

Quorsor commented Nov 8, 2023

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

@mishamyrt mishamyrt added the wontfix This will not be worked on label Jan 25, 2024
@mishamyrt mishamyrt removed the wontfix This will not be worked on label May 7, 2024
@mishamyrt
Copy link
Owner

mishamyrt commented May 7, 2024

I think I figured out how to fix it.

mishamyrt added a commit that referenced this issue May 7, 2024
Fixes broken arrows on Windows (#11)
@mishamyrt
Copy link
Owner

Should be fixed at 2.500

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants