Skip to content

"l·l" Ligature in "Source Code Pro" incorrectly invoked when render whitespace is enabled #106583

@SL-Lee

Description

@SL-Lee
  • VSCode Version: 1.49.0
  • OS Version: Windows 10

Steps to Reproduce:

  1. Set editor.renderWhitespace to all.
  2. Set editor.fontFamily to Source Code Pro (ensure you have the font installed on your system).
  3. Set editor.fontLigatures to false (this issue is not reproducible if this setting is not set to false).
  4. Open a new editor and type l l (a lowercase letter "l", followed by a space, followed by another lowercase letter "l").

Screenshot of this bug:

When editor.renderWhitespace is set to all, the whitespace character (U+0020) is rendered as the middle dot unicode character, · (U+00B7). Coincidentally, "Source Code Pro" has a ligature that comprise of the characters l·l (see the screenshot above), so this might be the reason why the ligature is invoked.

Does this issue occur when all extensions are disabled?: Yes

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugfont-renderingFont rendering issuesinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions