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

Add continuous ligatures for equal sign (=) #12

Closed
Scrumplex opened this issue Sep 7, 2022 · 4 comments
Closed

Add continuous ligatures for equal sign (=) #12

Scrumplex opened this issue Sep 7, 2022 · 4 comments
Labels
blocked Blocked by another issue enhancement New feature or request

Comments

@Scrumplex
Copy link

I think it would be nicer, if equal signs were connected instead of having chunks of triple-equal-signs.

=== should still become ≣≣≣
but ==== and longer should be ====

Monocraft:
Equal signs with Monocraft

Fira Code:

Equal signs with Fira Code

@IdreesInc
Copy link
Owner

I wonder how Fira Code does this. If it is due to some script automatically generating ligatures for arbitrary lengths of that character, I will not be able to add that to this font since it was made by hand. However, if it is just using a feature of OpenTypeFonts that I'm not aware of, then I would be happy to add it.

@IdreesInc IdreesInc added the enhancement New feature or request label Sep 10, 2022
@MCFX2
Copy link

MCFX2 commented Sep 11, 2022

An alternative approach (and what I'd prefer) is dong what JetBrains Mono does with these:
image

This might be easier to implement in practice. It also fixes one of my gripes with the current system which is that using = as a spacer (for example when editing Markdown documents) makes it look really strange and behave in a kind of counterintuitive way:

image

@IdreesInc
Copy link
Owner

Turns out this requires complex character substitution, and as such is pretty much blocked until I can figure out #77

@IdreesInc IdreesInc added the blocked Blocked by another issue label Dec 29, 2022
@IdreesInc
Copy link
Owner

Partially complete as part of #116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Blocked by another issue enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants