question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hyphen ligatures create overlap with other caracters

See original GitHub issue

Expected behavious : monospace font, standard spacing and character width. No overlap

What I get : image As you can see, the " caracter overlap with the 0 (it is a double-quote).

I have done some testing, this happens with double hyphen – and simple arrow ->. Writing several arrows or double hyphen in a row, separated by spaces, will eventually provoque overlap of entire words : image

This will not happen in every code context… String litterals produce this effect all the time, I’ve seen it inside braces. I don’t know if there’s somewhere else it can happen.

I use vscode on linux.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
MrGabigoocommented, Oct 1, 2019

@kiliman I was having the same issue and your update fixed it ! Thank you !

1reaction
vorbancommented, Oct 1, 2019

It works like a charm. Thank you !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: Occasionally preventing a standard ligature while
Create a character style "no-lig" that has Ligatures switched off and tracking set to +10. Apply this to your "fl" only.
Read more >
Ligatures | Butterick's Practical Typography
Digital fonts don't have physical collisions, of course. But certain letter combinations might still overlap visually. The only time ligatures are mandatory is ......
Read more >
A soft or auto hyphen within a possible ligature (eg 'f&shy
An "af" ligature at a different font size not being split and hyphenated ... To reproduce the bug, you need a font where...
Read more >
Horizontal and vertical gaps on some hyphen/equal based ...
I notice few bugs on ligatures involving equals and hyphens since version 4 : small gaps appear, most of the time between 2...
Read more >
Ligature (writing) - Wikipedia
In writing and typography, a ligature occurs where two or more graphemes or letters are joined to form a single glyph. Examples are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found