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

Arrow ligatures using box drawing characters #302

Open
schuelermine opened this issue Jun 28, 2020 · 6 comments
Open

Arrow ligatures using box drawing characters #302

schuelermine opened this issue Jun 28, 2020 · 6 comments

Comments

@schuelermine
Copy link

Description of the new feature/enhancement

Add the ligature ─> (codepoint sequence U+2500, U+003E).
It should connect with (U+2500)

Also

It's worth thinking about whether to add this kind of ligature to other box drawing characters.

@aaronbell
Copy link
Collaborator

Hi! So the glyphs that you're trying to connect up to the box drawing characters are actually coding ligatures. They're intended to align with the mathematical symbols that they are replacing. So they're not really meant to align with the box drawing characters.

As far as I've been able to tell, the various arrow symbols, such as (uni2192) would be a more likely candidate for alignment with the box drawing characters, but I have not observed alignment with any of those either. Can you point me to an example of another font that aligns any arrows with the box drawing characters?

@schuelermine
Copy link
Author

No. The ligature I'm proposing contains a box drawing character.

@schuelermine
Copy link
Author

So ─-> would be disconnected, and ──> would be connected.

@aaronbell
Copy link
Collaborator

Ah, I see! Thanks :)

@aaronbell
Copy link
Collaborator

Hi. Question for you. I'm currently implementing the arrows system like Fira Code has (see #276) and am thinking more about your request. Would that be sufficient for your needs, or are you attached to having them connect with the boxdrawing characters?

And as a follow up, the arrow system includes > < | / as different options. Are you considering all those as well?

@schuelermine
Copy link
Author

I guess it's not really appropriate to call them needs, it's not like I desperately require this feature. But I don't think a Fira-style arrow system is a replacement for my idea.

About all the arrow system components, I don't think including all of these would make sense, necessarily. I think my idea is more about a distinct feature where -> and maybe -| (box drawing characters replaced with dash since I'm on mobile) get replaced.

But of course, you could just integrate the box drawing characters into the arrow system. In that case, I'd suggest that it only works when the other stem parts of the arrow are also box drawing characters. I don't think mixing them with dashes is a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants