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

Ligatures broken #976

Closed
Finii opened this issue Oct 20, 2022 · 1 comment · Fixed by #977
Closed

Ligatures broken #976

Finii opened this issue Oct 20, 2022 · 1 comment · Fixed by #977

Comments

@Finii
Copy link
Collaborator

Finii commented Oct 20, 2022

Nerd Font used to have a 'ligature removal' feature for the Nerd Font Mono fonts.
This seems to be broken with recent fonts (i.e. v2.2.2 seems ok while HEAD is broken).
See also

The reason is the recent fix of the ligature removal code (i.e. 5d218b1).

History data:

  • Ligature removal introduced 02-2018 (v2.0.0) 9917e2d
  • Ligature removal broken 08-2018 (v2.1.0) 0a480bb
  • Ligature removal fixed 09-2022 (v2.3.0-RC) 5d218b1

Fonts with ligature table data:

  • Arimo (*)
  • Cousine
  • DejaVuSansMono
  • FiraCode
  • FiraMono
  • Hasklig
  • Iosevka
  • Lekton
  • Monoid
  • Noto
  • OpenDyslexic (*)
  • Overpass
  • ShareTechMono
  • SpaceMono
  • Ubuntu (*)

The tables have been added with a2f5620 and never been updated (which would generally be needed if the source font is updated) (except Hasklug 12cd703).

Affected (very quick check) is only FiraCode and Hasklig.

Updated after introduction of the ligature removal are

Of the three Iosevka's ligature removal seems to have survived the updates, but maybe not.

Finii added a commit that referenced this issue Oct 20, 2022
[why]
Keeping the ligature removal tables up to date with source font updates
is quite a maintenance burden.

Usually if a terminal supports ligatures at all it has an option to
disable them.

Present ligatures do not prevent monospaced fonts and monospaced
detection.

It was only present in v2.0.0, and the code has been broken with v2.1.0.

[note]
Updated example ligature removal table to the one for Iosevka.
Left stubs in relevant code passages to facilitate finding this commit.

Fixes: #976

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
Finii added a commit that referenced this issue Oct 20, 2022
[why]
Keeping the ligature removal tables up to date with source font updates
is quite a maintenance burden.

Usually if a terminal supports ligatures at all it has an option to
disable them.

Present ligatures do not prevent monospaced fonts and monospaced
detection.

It was only present in v2.0.0, and the code has been broken with v2.1.0.

[note]
Updated example ligature removal table to the one for Iosevka.
Left stubs in relevant code passages to facilitate finding this commit.

Fixes: #976
Fixes: #975
Fixes: #973

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
@Finii Finii mentioned this issue Oct 20, 2022
2 tasks
Finii added a commit that referenced this issue Oct 20, 2022
[why]
Keeping the ligature removal tables up to date with source font updates
is quite a maintenance burden.

Usually if a terminal supports ligatures at all it has an option to
disable them.

Present ligatures do not prevent monospaced fonts and monospaced
detection.

It was only present in v2.0.0, and the code has been broken with v2.1.0.

[note]
Updated example ligature removal table to the one for Iosevka.
Left stubs in relevant code passages to facilitate finding this commit.

Fixes: #976
Fixes: #975
Fixes: #973

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 24, 2023
LNKLEO pushed a commit to LNKLEO/Nerd that referenced this issue Nov 24, 2023
[why]
Keeping the ligature removal tables up to date with source font updates
is quite a maintenance burden.

Usually if a terminal supports ligatures at all it has an option to
disable them.

Present ligatures do not prevent monospaced fonts and monospaced
detection.

It was only present in v2.0.0, and the code has been broken with v2.1.0.

[note]
Updated example ligature removal table to the one for Iosevka.
Left stubs in relevant code passages to facilitate finding this commit.

Fixes: ryanoasis#976
Fixes: ryanoasis#975
Fixes: ryanoasis#973

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant