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

Pipe-Bracket and Pipe-Brace ligatures are confusing {| [| |] |} #643

Open
kiprobinson opened this issue Aug 22, 2018 · 12 comments
Open

Pipe-Bracket and Pipe-Brace ligatures are confusing {| [| |] |} #643

kiprobinson opened this issue Aug 22, 2018 · 12 comments

Comments

@kiprobinson
Copy link

kiprobinson commented Aug 22, 2018

Ligatures for pipe-bracket and pipe-brace combination are confusing. They appear to turn the pipe into a square bracket. This is especially pronounced in bold.

What I mean is:

  • {| looks like: {[
  • [| looks like: [[
  • |} looks like: ]}
  • |] looks like: ]]

Here are screenshots of the markdown for above:

screenshot-normal

screenshot-bold

@tonsky
Copy link
Owner

tonsky commented Aug 23, 2018

Hmm. Maybe you’re right

@kiprobinson
Copy link
Author

Maybe something more like this?

image

@j-f1
Copy link
Contributor

j-f1 commented Aug 23, 2018

Perhaps don’t extend the horizontal lines of the {[]} past the |?

@tonsky tonsky closed this as completed in 368831e Sep 30, 2018
tonsky added a commit that referenced this issue Sep 30, 2018
@vilinski
Copy link

vilinski commented Oct 5, 2018

IMHO it's now even more confusing than before. Can't recognize whether it's a closing or opening brace. Both are looking on LCD monitor like a box:
image image

Actually I liked the previous version much more. Very subjective, but maybe this were better? #643 (comment)

@tonsky
Copy link
Owner

tonsky commented Oct 5, 2018

Yeah thx @vilinski I agree it’s confusing now

@tonsky tonsky reopened this Oct 5, 2018
@yuhan0
Copy link

yuhan0 commented Jan 31, 2019

Is it possible to revert this change? The previous versions were much clearer and I never had any trouble distinguishing [[ from [| etc. because the spacing between vertical bars was distinct enough - these new glyphs just look like really bad kerning :/

@tonsky
Copy link
Owner

tonsky commented Jan 31, 2019

Not right now. Maybe eventually we’ll let everyone to configure their own font

@ioquatix
Copy link

ioquatix commented Mar 22, 2019

In Ruby it's common to write list.each do {|item| puts item} and {| ends up looking pretty wonky.

Wondering what we can do to improve this?

@tonsky
Copy link
Owner

tonsky commented Mar 24, 2019 via email

@ioquatix
Copy link

@tonsky Do you mean I should remove it (and rebuild a local version of the font) or do you mean we should remove it from the font in general?

@tonsky
Copy link
Owner

tonsky commented Mar 25, 2019 via email

@nikolaiderzhak
Copy link

nikolaiderzhak commented Nov 10, 2023

In Ruby it's common to write list.each do {|item| puts item} and {| ends up looking pretty wonky.

Wondering what we can do to improve this?

have same issue with reading own ruby code {| looks funny :)

But I am guessing there is no ideal solution, shape.

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

No branches or pull requests

7 participants