Skip to content

Ligatures fl, fi within a monospace font in the code editor #728

Closed

Description

@sompylasar

I noticed that the code editor uses ligatures (i.e. when two letters are glued together and occupy less space), and that looks weird for pairs like fl, fi in code where these are supposed to occupy two characters.

Is this by design?

font-family: Menlo, "Source Code Pro", monospace; in the monaco-editor:

.monaco-editor.enable-ligatures {
  -webkit-font-feature-settings: "liga" on,"calt" on;
  font-feature-settings: "liga" on,"calt" on;
}

Actual

screen shot 2018-04-12 at 1 35 20 pm

screen shot 2018-04-12 at 1 36 29 pm

Expected

screen shot 2018-04-12 at 1 41 02 pm

Activity

  1. CompuIves commented on Apr 12, 2018

    @CompuIves
    Contributor

    Haha, I fixed this one today already (3453bbc). I'm deploying this within ~30 minutes.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions